6 #ifndef _RT_INTERFACE_LCM 7 #define _RT_INTERFACE_LCM 9 #include <lcm/lcm-cpp.hpp> 10 class gui_main_control_settings_t;
24 const std::string& channel,
25 const gui_main_control_settings_t* msg);
28 const std::string& channel,
29 const rc_channels_t* msg);
40 void*
v_memcpy(
void* dest,
volatile void* src,
size_t n);
void main_control_settings_handler(const lcm::ReceiveBuffer *rbuf, const std::string &channel, const gui_main_control_settings_t *msg)
Handler for main control settings from MATLAB interface. Never call this yourself, leave it to LCM.
int get_iterations_since_last_lcm()
Gets the iterations since the last lcm.
void sbus_packet_complete()
Function which handles the completion of an SBUS Packet and overrides the LCM control settings as des...
void control_iteration_lcm()
Increments the number of control iterations since the last LCM packet.
void get_rc_channels(void *settings)
void init_interface_lcm(lcm::LCM *main_lcm)
Initializer for all handlers related to the interface LCM streams.
void rc_channels_handler(const lcm::ReceiveBuffer *rbuf, const std::string &channel, const rc_channels_t *msg)
void * v_memcpy(void *dest, volatile void *src, size_t n)
void get_main_control_settings(void *settings)