diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2014-12-22 15:18:09 +0100 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2014-12-22 15:18:09 +0100 |
commit | 6f83f77bf422c4dd66f63aa2ac83e82dc2283b94 (patch) | |
tree | 36730d090c3cc917cf12f7cb948356675f24b125 /src/modules | |
parent | 32675ff1c150529bbb662fde87c0940ee90acd6e (diff) | |
download | px4-firmware-6f83f77bf422c4dd66f63aa2ac83e82dc2283b94.tar.gz px4-firmware-6f83f77bf422c4dd66f63aa2ac83e82dc2283b94.tar.bz2 px4-firmware-6f83f77bf422c4dd66f63aa2ac83e82dc2283b94.zip |
fw att ctl: remove autostart id param
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/fw_att_control/fw_att_control_main.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/modules/fw_att_control/fw_att_control_main.cpp b/src/modules/fw_att_control/fw_att_control_main.cpp index 72d9a5452..598408c9f 100644 --- a/src/modules/fw_att_control/fw_att_control_main.cpp +++ b/src/modules/fw_att_control/fw_att_control_main.cpp @@ -194,8 +194,6 @@ private: float man_roll_max; /**< Max Roll in rad */ float man_pitch_max; /**< Max Pitch in rad */ - param_t autostart_id; /* indicates which airframe is used */ - } _parameters; /**< local copies of interesting parameters */ struct { @@ -236,7 +234,6 @@ private: param_t man_roll_max; param_t man_pitch_max; - param_t autostart_id; /* indicates which airframe is used */ } _parameter_handles; /**< handles for interesting parameters */ @@ -399,8 +396,6 @@ FixedwingAttitudeControl::FixedwingAttitudeControl() : _parameter_handles.man_roll_max = param_find("FW_MAN_R_MAX"); _parameter_handles.man_pitch_max = param_find("FW_MAN_P_MAX"); - _parameter_handles.autostart_id = param_find("SYS_AUTOSTART"); - /* fetch initial parameter values */ parameters_update(); } @@ -477,8 +472,6 @@ FixedwingAttitudeControl::parameters_update() _parameters.man_roll_max = math::radians(_parameters.man_roll_max); _parameters.man_pitch_max = math::radians(_parameters.man_pitch_max); - param_get(_parameter_handles.autostart_id, &_parameters.autostart_id); - /* pitch control parameters */ _pitch_ctrl.set_time_constant(_parameters.tconst); _pitch_ctrl.set_k_p(_parameters.p_p); |