Skip to content
Snippets Groups Projects
Commit 2cccbee0 authored by Daniel Agar's avatar Daniel Agar Committed by Beat Küng
Browse files

runway_takeoff use BlockParamBool for RWTO_TKOFF

parent 3d7afaaf
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment