vtol: change message for transition timeout warning

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
Silvan Fuhrer 2021-10-04 09:55:35 +02:00 committed by Daniel Agar
parent bdc57178d4
commit 2dca51216c

View File

@ -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
* modification, are permitted provided that the following conditions
@ -206,8 +206,9 @@ VtolAttitudeControl::quadchute(QuadchuteReason reason)
if (!_vtol_vehicle_status.vtol_transition_failsafe) {
switch (reason) {
case QuadchuteReason::TransitionTimeout:
mavlink_log_critical(&_mavlink_log_pub, "Quadchute: timeout\t");
events::send(events::ID("vtol_att_ctrl_quadchute_tout"), events::Log::Critical, "Quadchute triggered, due to timeout");
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 transition timeout");
break;
case QuadchuteReason::ExternalCommand: