Command callback. More...
#include <mavlink_message_handler.hpp>
Public Attributes | |
uint16_t | command_id |
The function will be called only for commands with ID command_id. | |
uint8_t | sysid_filter |
The function will be called only for commands coming from MAVs with ID sysid_filter (0 for all) | |
mav_component_t | compid_filter |
The function will be called only for commands coming from component compid_filter (0 for all) | |
mav_component_t | compid_target |
The function will be called only if the commands targets the component compid_target of this system (0 for all) | |
cmd_function< void >::type_t | function |
Pointer to the function to be executed. | |
void * | module_struct |
Pointer to module data structure to be given as argument to the function. |
Command callback.