QC Control software

Dependencies:   mbed

Fork of dgps by Colin Stearns

Committer:
dylanembed123
Date:
Tue Apr 22 00:10:16 2014 +0000
Revision:
22:9880a26886db
Parent:
21:c546eab07e28
Child:
23:497f8faa908e
The system sends a waypoint to the quadcopter;

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_LOITERU 76
dylanembed123 21:c546eab07e28 3 #define MAVLINK_MSG_ID_REQUEST_PLIST 21
dylanembed123 21:c546eab07e28 4 #define MAVLINK_MSG_ID_ATTITUDE 30
dylanembed123 21:c546eab07e28 5 #define MAVLINK_MSG_ID_ITEM 39
dylanembed123 22:9880a26886db 6 #define MAVLINK_MSG_ID_MISSION_REQUEST 40
dylanembed123 21:c546eab07e28 7 #define MAVLINK_MSG_ID_REQUEST_LIST 43
dylanembed123 21:c546eab07e28 8 #define MAVLINK_MSG_ID_COUNT 44
dylanembed123 21:c546eab07e28 9 #include "mbed.h"
dylanembed123 21:c546eab07e28 10
dylanembed123 21:c546eab07e28 11
dylanembed123 21:c546eab07e28 12 /// Define Pinout
dylanembed123 21:c546eab07e28 13 #define MAVPINTX p28
dylanembed123 21:c546eab07e28 14 #define MAVPINRX p27
dylanembed123 21:c546eab07e28 15
dylanembed123 21:c546eab07e28 16 /// Define Baud
dylanembed123 21:c546eab07e28 17 #define MAVBAUD 57600
dylanembed123 21:c546eab07e28 18
dylanembed123 21:c546eab07e28 19 #define MAVMAXSIZE 512
dylanembed123 21:c546eab07e28 20
dylanembed123 21:c546eab07e28 21 typedef unsigned char uint8_t;
dylanembed123 21:c546eab07e28 22 typedef unsigned short uint16_t;
dylanembed123 21:c546eab07e28 23
dylanembed123 21:c546eab07e28 24 class Mav{
dylanembed123 21:c546eab07e28 25 private:
dylanembed123 21:c546eab07e28 26 static Serial* mav;
dylanembed123 21:c546eab07e28 27 public:
dylanembed123 21:c546eab07e28 28 static Serial& getSerial();
dylanembed123 21:c546eab07e28 29 static char* generatePacket(int messageID,char* payload=NULL,int length=0,int* outLength=NULL);
dylanembed123 21:c546eab07e28 30 static void sendOutput(int messageID,char* payload=NULL,int length=0);
dylanembed123 21:c546eab07e28 31 };