mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-05 02:30:36 +08:00
FlightTaskAuto: subscribe to home position
This commit is contained in:
committed by
Lorenz Meier
parent
24e6e4041f
commit
7d30db1395
@@ -50,6 +50,10 @@ bool FlightTaskAuto::initializeSubscriptions(SubscriptionArray &subscription_arr
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!subscription_array.get(ORB_ID(home_position), _sub_home_position)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user