added parameter for airspeed mode selection

this will enable small planes flying without an
airspeed sensor
This commit is contained in:
tumbili
2016-06-08 11:26:54 +02:00
committed by Roman
parent e0a214da20
commit 099becb353
@@ -502,3 +502,19 @@ PARAM_DEFINE_FLOAT(FW_FLAPS_SCL, 1.0f);
* @group FW Attitude Control
*/
PARAM_DEFINE_FLOAT(FW_FLAPERON_SCL, 0.0f);
/**
* Airspeed mode
*
* The param value sets the method used to publish the control state airspeed.
* For small wings or VTOL without airspeed sensor this parameter can be used to
* enable flying without an airspeed reading
*
* @min 0
* @max 2
* @value 0 use measured airspeed
* @value 1 use vehicle ground velocity as airspeed
* @value 2 declare airspeed invalid
* @group FW Attitude Control
*/
PARAM_DEFINE_INT32(FW_ARSP_MODE, 0);