Skip to content

Commit

Permalink
tailsitter: use mulirotor throttle control during backtransition
Browse files Browse the repository at this point in the history
Signed-off-by: Roman <bapstroman@gmail.com>
  • Loading branch information
RomanBapst committed Apr 12, 2018
1 parent 0f49337 commit 375954b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/vtol_att_control/tailsitter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ void Tailsitter::fill_actuator_outputs()
_mc_yaw_weight;


if (_vtol_schedule.flight_mode == TRANSITION_BACK || _vtol_schedule.flight_mode == FW_MODE) {
if (_vtol_schedule.flight_mode == FW_MODE) {
_actuators_out_0->control[actuator_controls_s::INDEX_THROTTLE] =
_actuators_fw_in->control[actuator_controls_s::INDEX_THROTTLE];

Expand Down

0 comments on commit 375954b

Please sign in to comment.