mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 23:33:34 +08:00
vtol_att_control: initialise VT_FW_MOT_OFFID correcly for standard vtol
Signed-off-by: Roman <bapstroman@gmail.com>
This commit is contained in:
@@ -512,7 +512,7 @@ VtolAttitudeControl::parameters_update()
|
||||
// did not use the interface of the VtolType class to disable motors we will have users flying around with a wrong
|
||||
// parameter value. Therefore, explicitly set it here such that all motors will be disabled as expected.
|
||||
if (_params.vtol_type == vtol_type::STANDARD) {
|
||||
_params.fw_motors_off = 0xff;
|
||||
_params.fw_motors_off = 12345678;
|
||||
}
|
||||
|
||||
// make sure parameters are feasible, require at least 1 m/s difference between transition and blend airspeed
|
||||
|
||||
Reference in New Issue
Block a user