Browse Source

vtol: change message for transition timeout warning

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
master
Silvan Fuhrer 3 years ago committed by Daniel Agar
parent
commit
2dca51216c
  1. 7
      src/modules/vtol_att_control/vtol_att_control_main.cpp

7
src/modules/vtol_att_control/vtol_att_control_main.cpp

@ -1,6 +1,6 @@
/**************************************************************************** /****************************************************************************
* *
* Copyright (c) 2013-2019 PX4 Development Team. All rights reserved. * Copyright (c) 2013-2021 PX4 Development Team. All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions * modification, are permitted provided that the following conditions
@ -206,8 +206,9 @@ VtolAttitudeControl::quadchute(QuadchuteReason reason)
if (!_vtol_vehicle_status.vtol_transition_failsafe) { if (!_vtol_vehicle_status.vtol_transition_failsafe) {
switch (reason) { switch (reason) {
case QuadchuteReason::TransitionTimeout: case QuadchuteReason::TransitionTimeout:
mavlink_log_critical(&_mavlink_log_pub, "Quadchute: timeout\t"); mavlink_log_critical(&_mavlink_log_pub, "Quadchute: transition timeout\t");
events::send(events::ID("vtol_att_ctrl_quadchute_tout"), events::Log::Critical, "Quadchute triggered, due to timeout"); events::send(events::ID("vtol_att_ctrl_quadchute_tout"), events::Log::Critical,
"Quadchute triggered, due to transition timeout");
break; break;
case QuadchuteReason::ExternalCommand: case QuadchuteReason::ExternalCommand:

Loading…
Cancel
Save