Skip to content
Snippets Groups Projects
Commit 3b2e82cd authored by Lorenz Meier's avatar Lorenz Meier
Browse files

VTOL: Fix motor index use in VT_FW_MOT_OFF. Create new param to re-default all...

VTOL: Fix motor index use in VT_FW_MOT_OFF. Create new param to re-default all deployed vehicles to not shut down motors.
parent 56e5c507
No related branches found
No related tags found
No related merge requests found
......@@ -46,6 +46,6 @@ set PWM_AUX_MAX 2000
set MAV_TYPE 21
param set VT_MOT_COUNT 6
param set VT_FW_MOT_OFF 23
param set VT_FW_MOT_OFFID 34
param set VT_IDLE_PWM_MC 1080
param set VT_TYPE 1
......@@ -67,7 +67,7 @@ Tiltrotor::Tiltrotor(VtolAttitudeControl *attc) :
_params_handles_tiltrotor.airspeed_blend_start = param_find("VT_ARSP_BLEND");
_params_handles_tiltrotor.elevons_mc_lock = param_find("VT_ELEV_MC_LOCK");
_params_handles_tiltrotor.front_trans_dur_p2 = param_find("VT_TRANS_P2_DUR");
_params_handles_tiltrotor.fw_motors_off = param_find("VT_FW_MOT_OFF");
_params_handles_tiltrotor.fw_motors_off = param_find("VT_FW_MOT_OFFID");
}
Tiltrotor::~Tiltrotor()
......
......@@ -90,7 +90,7 @@ PARAM_DEFINE_FLOAT(VT_TRANS_P2_DUR, 0.5f);
*
*
* @min 0
* @max 123456
* @max 12345678
* @group VTOL Attitude Control
*/
PARAM_DEFINE_INT32(VT_FW_MOT_OFF, 0);
PARAM_DEFINE_INT32(VT_FW_MOT_OFFID, 0);
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