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