mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 14:53:34 +08:00
Commander: use helper to set home position
This commit is contained in:
@@ -160,6 +160,7 @@ private:
|
||||
bool set_in_air_home_position();
|
||||
bool isGPosGoodForInitializingHomePos(const vehicle_global_position_s &gpos) const;
|
||||
void fillLocalHomePos(home_position_s &home, const vehicle_local_position_s &lpos) const;
|
||||
void fillLocalHomePos(home_position_s &home, float x, float y, float z, float heading) const;
|
||||
void fillGlobalHomePos(home_position_s &home, const vehicle_global_position_s &gpos) const;
|
||||
void fillGlobalHomePos(home_position_s &home, double lat, double lon, float alt) const;
|
||||
void setHomePosValid();
|
||||
|
||||
Reference in New Issue
Block a user