mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
runway_takeoff use BlockParamBool for RWTO_TKOFF
This commit is contained in:
parent
3d7afaafbd
commit
2cccbee0d5
@ -74,7 +74,7 @@ public:
|
||||
RunwayTakeoffState getState() { return _state; }
|
||||
bool isInitialized() { return _initialized; }
|
||||
|
||||
bool runwayTakeoffEnabled() { return (bool)_runway_takeoff_enabled.get(); }
|
||||
bool runwayTakeoffEnabled() { return _runway_takeoff_enabled.get(); }
|
||||
float getMinAirspeedScaling() { return _min_airspeed_scaling.get(); }
|
||||
float getInitYaw() { return _init_yaw; }
|
||||
|
||||
@ -103,7 +103,7 @@ private:
|
||||
math::Vector<2> _start_wp;
|
||||
|
||||
/** parameters **/
|
||||
control::BlockParamInt _runway_takeoff_enabled;
|
||||
control::BlockParamBool _runway_takeoff_enabled;
|
||||
control::BlockParamInt _heading_mode;
|
||||
control::BlockParamFloat _nav_alt;
|
||||
control::BlockParamFloat _takeoff_throttle;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user