QC Control software

Dependencies:   mbed

Fork of dgps by Colin Stearns

Committer:
dylanembed123
Date:
Mon May 05 13:20:35 2014 +0000
Revision:
66:5d43988d100c
Parent:
33:ad63e7013801
Final Project;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
dylanembed123 21:c546eab07e28 1 #define MAVLINK_MSG_ID_PING 4
dylanembed123 21:c546eab07e28 2 #define MAVLINK_MSG_ID_REQUEST_PLIST 21
dylanembed123 21:c546eab07e28 3 #define MAVLINK_MSG_ID_ATTITUDE 30
dylanembed123 21:c546eab07e28 4 #define MAVLINK_MSG_ID_ITEM 39
dylanembed123 22:9880a26886db 5 #define MAVLINK_MSG_ID_MISSION_REQUEST 40
dylanembed123 21:c546eab07e28 6 #define MAVLINK_MSG_ID_REQUEST_LIST 43
dylanembed123 21:c546eab07e28 7 #define MAVLINK_MSG_ID_COUNT 44
dylanembed123 23:497f8faa908e 8 #define MAVLINK_MSG_ID_MISSION_ACK 47
dylanembed123 33:ad63e7013801 9 #define MAVLINK_MSG_ID_REQUEST_DATA_STREAM 66
dylanembed123 23:497f8faa908e 10 #define MAVLINK_MSG_ID_LONG 76
dylanembed123 21:c546eab07e28 11 #include "mbed.h"
dylanembed123 21:c546eab07e28 12
dylanembed123 21:c546eab07e28 13
dylanembed123 21:c546eab07e28 14 /// Define Pinout
dylanembed123 21:c546eab07e28 15 #define MAVPINTX p28
dylanembed123 21:c546eab07e28 16 #define MAVPINRX p27
dylanembed123 21:c546eab07e28 17
dylanembed123 21:c546eab07e28 18 /// Define Baud
dylanembed123 21:c546eab07e28 19 #define MAVBAUD 57600
dylanembed123 21:c546eab07e28 20
dylanembed123 21:c546eab07e28 21 #define MAVMAXSIZE 512
dylanembed123 21:c546eab07e28 22
dylanembed123 21:c546eab07e28 23 typedef unsigned char uint8_t;
dylanembed123 21:c546eab07e28 24 typedef unsigned short uint16_t;
dylanembed123 21:c546eab07e28 25
dylanembed123 21:c546eab07e28 26 class Mav{
dylanembed123 21:c546eab07e28 27 private:
dylanembed123 21:c546eab07e28 28 static Serial* mav;
dylanembed123 21:c546eab07e28 29 public:
dylanembed123 21:c546eab07e28 30 static Serial& getSerial();
dylanembed123 21:c546eab07e28 31 static char* generatePacket(int messageID,char* payload=NULL,int length=0,int* outLength=NULL);
dylanembed123 21:c546eab07e28 32 static void sendOutput(int messageID,char* payload=NULL,int length=0);
dylanembed123 21:c546eab07e28 33 };