mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-27 02:06:27 +08:00
Update land detector parameters at startup.
This commit is contained in:
@@ -66,6 +66,8 @@ void FixedwingLandDetector::initialize()
|
|||||||
// Subscribe to local position and airspeed data
|
// Subscribe to local position and airspeed data
|
||||||
_vehicleLocalPositionSub = orb_subscribe(ORB_ID(vehicle_local_position));
|
_vehicleLocalPositionSub = orb_subscribe(ORB_ID(vehicle_local_position));
|
||||||
_airspeedSub = orb_subscribe(ORB_ID(airspeed));
|
_airspeedSub = orb_subscribe(ORB_ID(airspeed));
|
||||||
|
|
||||||
|
updateParameterCache(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
void FixedwingLandDetector::updateSubscriptions()
|
void FixedwingLandDetector::updateSubscriptions()
|
||||||
|
|||||||
Reference in New Issue
Block a user