Skip to content

Commit

Permalink
failsafe framework: inform about failsafe action
Browse files Browse the repository at this point in the history
  • Loading branch information
MaEtUgR committed Mar 27, 2024
1 parent 0f9531a commit 416b6a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/commander/failsafe/framework.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -228,10 +228,10 @@ void FailsafeBase::notifyUser(uint8_t user_intended_mode, Action action, Action
/* EVENT
* @type append_health_and_arming_messages
*/
events::send<uint32_t>(
events::send<uint32_t, events::px4::enums::failsafe_action_t>(
events::ID("commander_failsafe_enter_generic"),
{events::Log::Critical, events::LogInternal::Warning},
"Failsafe activated: Autopilot disengaged", mavlink_mode);
"Failsafe activated: Autopilot disengaged, switching to {2}", mavlink_mode, failsafe_action);
}

} else {
Expand Down

0 comments on commit 416b6a3

Please sign in to comment.