Firmware
|
Public Member Functions | |
int | handle_vehicle_command (const struct vehicle_command_s &command, mavlink_channel_t channel) |
Send a command on a channel and keep it in a queue for retransmission. More... | |
void | check_timeout (mavlink_channel_t channel) |
Check timeouts to verify if an commands need retransmission. More... | |
void | handle_mavlink_command_ack (const mavlink_command_ack_t &ack, uint8_t from_sysid, uint8_t from_compid) |
Handle mavlink command_ack. More... | |
Static Public Member Functions | |
static void | initialize () |
initialize: call this once on startup (this function is not thread-safe!) | |
static MavlinkCommandSender & | instance () |
void MavlinkCommandSender::check_timeout | ( | mavlink_channel_t | channel | ) |
Check timeouts to verify if an commands need retransmission.
thread-safe
void MavlinkCommandSender::handle_mavlink_command_ack | ( | const mavlink_command_ack_t & | ack, |
uint8_t | from_sysid, | ||
uint8_t | from_compid | ||
) |
Handle mavlink command_ack.
thread-safe
int MavlinkCommandSender::handle_vehicle_command | ( | const struct vehicle_command_s & | command, |
mavlink_channel_t | channel | ||
) |
Send a command on a channel and keep it in a queue for retransmission.
thread-safe