ardupilot/libraries/GCS_Console/examples/Console/simplegcs.h
Pat Hickey ed19ff7f2f GCS_Console example: implement a trivial mavlink gcs
* Just heartbeats and sends a single parameter down
* all other messages unimplemented
* console is dumped to statustext at the moment (that will change soon)
2012-12-20 14:51:24 +11:00

16 lines
404 B
C

#ifndef __SIMPLE_GCS_H__
#define __SIMPLE_GCS_H__
#include <GCS_MAVLink.h>
void send_heartbeat(mavlink_channel_t chan);
bool try_send_message(mavlink_channel_t chan, int msgid);
bool try_send_statustext(mavlink_channel_t chan, const char *text, int len);
void simplegcs_update(mavlink_channel_t chan);
void handle_message(mavlink_channel_t chan, mavlink_message_t* msg);
#endif // __SIMPLE_GCS_H__