mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-06 11:41:36 +08:00
Navigator: differentiate between takeoff and reposition commands, perform calculations for repositions only when armed.
This commit is contained in:
@@ -67,7 +67,13 @@ private:
|
||||
*/
|
||||
void reposition();
|
||||
|
||||
/**
|
||||
* Set the position to hold based on the current local position
|
||||
*/
|
||||
void set_loiter_position();
|
||||
|
||||
control::BlockParamFloat _param_min_alt;
|
||||
bool _loiter_pos_set;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user