Skip to content
Snippets Groups Projects
Commit 6d1df8f7 authored by Vasily Dybala's avatar Vasily Dybala
Browse files

Update land detector parameters at startup.

parent 6d2e8b9d
No related branches found
No related tags found
No related merge requests found
......@@ -66,6 +66,8 @@ void FixedwingLandDetector::initialize()
// Subscribe to local position and airspeed data
_vehicleLocalPositionSub = orb_subscribe(ORB_ID(vehicle_local_position));
_airspeedSub = orb_subscribe(ORB_ID(airspeed));
updateParameterCache(true);
}
void FixedwingLandDetector::updateSubscriptions()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment