Skip to content

Commit

Permalink
VTOL: fix tailsitter quadchute throttle spike suppression
Browse files Browse the repository at this point in the history
Signed-off-by: Silvan Fuhrer <[email protected]>
  • Loading branch information
sfuhrer committed May 27, 2024
1 parent 2c00ddc commit 651ae9c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/modules/vtol_att_control/tailsitter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,11 @@ void Tailsitter::update_vtol_state()

if (_vtol_vehicle_status->fixed_wing_system_failure) {
// Failsafe event, switch to MC mode immediately
if (_vtol_mode != vtol_mode::MC_MODE) {
_transition_start_timestamp = hrt_absolute_time();
}

_vtol_mode = vtol_mode::MC_MODE;
_transition_start_timestamp = hrt_absolute_time();

} else if (!_attc->is_fixed_wing_requested()) {

Expand Down

0 comments on commit 651ae9c

Please sign in to comment.