You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
734 B
25 lines
734 B
|
|
#ifndef __GCS_CONSOLE_H__ |
|
#define __GCS_CONSOLE_H__ |
|
|
|
#include <GCS_MAVLink.h> |
|
|
|
/* Ensure compatibility with GCS_MAVLink library. We need the DATA16 |
|
* and DATA32 mesages. If these aren't present, get them from the mavlink |
|
* repo message_definitions/ardupilotmega.xml and regenerate the GCS_MAVLink |
|
* definitions. */ |
|
#ifndef MAVLINK_MSG_ID_DATA16 |
|
#error GCS_Console module requires Mavlink Message DATA16 |
|
#endif |
|
#ifndef MAVLINK_MSG_ID_DATA32 |
|
#error GCS_Console module requires Mavlink Message DATA32 |
|
#endif |
|
|
|
#define DATAMSG_TYPE_CONSOLE 0xFE |
|
|
|
void gcs_console_handle_data16(mavlink_message_t* msg); |
|
void gcs_console_handle_data32(mavlink_message_t* msg); |
|
|
|
void gcs_console_send(mavlink_channel_t chan); |
|
|
|
#endif // __GCS_CONSOLE_H__
|
|
|