mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-13 16:53:33 +08:00
Add wind shear related parameters
This commit is contained in:
@@ -229,7 +229,12 @@ private:
|
||||
// manual switch if manual feedthrough is used, REMOVE!!!
|
||||
(ParamInt<px4::params::DS_SWITCH_CLOOP>) _param_switch_cloop,
|
||||
// manual switch if we are in SITL mode
|
||||
(ParamInt<px4::params::DS_SWITCH_SITL>) _param_switch_sitl
|
||||
(ParamInt<px4::params::DS_SWITCH_SITL>) _param_switch_sitl,
|
||||
(ParamInt<px4::params::DS_SWITCH_SITL>) _shear_estimated_v_max,
|
||||
(ParamInt<px4::params::DS_WINDEST_HEIGHT>) _shear_estimated_alpha,
|
||||
(ParamInt<px4::params::DS_WINDEST_HDG>) _shear_estimated_h_ref,
|
||||
(ParamInt<px4::params::DS_WINDEST_ALPHA>) _shear_estimated_heading,
|
||||
(ParamInt<px4::params::DS_WINDEST_VMAX>) _shear_estimated_aspd
|
||||
|
||||
)
|
||||
|
||||
|
||||
@@ -647,11 +647,59 @@ PARAM_DEFINE_INT32(DS_SWITCH_CLOOP, 0);
|
||||
|
||||
/**
|
||||
* integer in {0,1} defining if we are running the controller in SITL. 0=hardware, 1=sitl
|
||||
* @unit
|
||||
* @unit
|
||||
* @min 0
|
||||
* @max 1
|
||||
* @decimal 1
|
||||
* @increment 1
|
||||
* @group FW DYN SOAR Control
|
||||
*/
|
||||
PARAM_DEFINE_INT32(DS_SWITCH_SITL, 0);
|
||||
PARAM_DEFINE_INT32(DS_SWITCH_SITL, 0);
|
||||
|
||||
/**
|
||||
* float in [0,1] corresponding to the engine thrust
|
||||
*
|
||||
* @unit
|
||||
* @min 0
|
||||
* @max 1
|
||||
* @decimal 2
|
||||
* @increment 0.01
|
||||
* @group FW DYN SOAR Control
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(DS_WINDEST_HEIGHT, 0);
|
||||
|
||||
/**
|
||||
* float in [0,1] corresponding to the engine thrust
|
||||
*
|
||||
* @unit
|
||||
* @min 0
|
||||
* @max 1
|
||||
* @decimal 2
|
||||
* @increment 0.01
|
||||
* @group FW DYN SOAR Control
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(DS_WINDEST_HDG, 0);
|
||||
|
||||
/**
|
||||
* float in [0,1] corresponding to the engine thrust
|
||||
*
|
||||
* @unit
|
||||
* @min 0
|
||||
* @max 1
|
||||
* @decimal 2
|
||||
* @increment 0.01
|
||||
* @group FW DYN SOAR Control
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(DS_WINDEST_ALPHA, 0);
|
||||
|
||||
/**
|
||||
* float in [0,1] corresponding to the engine thrust
|
||||
*
|
||||
* @unit
|
||||
* @min 0
|
||||
* @max 1
|
||||
* @decimal 2
|
||||
* @increment 0.01
|
||||
* @group FW DYN SOAR Control
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(DS_WINDEST_VMAX, 0);
|
||||
|
||||
Reference in New Issue
Block a user