to Mineta

Dependencies:   VNH5019

Dependents:   agz_base_ver2 agz_base_ver2 get_GPS_data_ver1 aigamozu_program_ver2 ... more

Files at this revision

API Documentation at this revision

Comitter:
kityann
Date:
Wed Jan 06 10:48:57 2016 +0000
Parent:
39:172423aa2921
Commit message:
0106

Changed in this revision

AigamozuControlPackets.cpp Show annotated file Show diff for this revision Revisions of this file
AigamozuControlPackets.h Show annotated file Show diff for this revision Revisions of this file
diff -r 172423aa2921 -r c0cf45cf5eeb AigamozuControlPackets.cpp
--- a/AigamozuControlPackets.cpp	Mon Jun 08 15:47:56 2015 +0000
+++ b/AigamozuControlPackets.cpp	Wed Jan 06 10:48:57 2016 +0000
@@ -106,7 +106,7 @@
     packetLength = REQUEST_COMMNAD_LENGTH;
     }
     
-void AigamozuControlPackets::createChangeModeCommand(uint8_t fromID,uint8_t toID,uint8_t,MODE mode){
+void AigamozuControlPackets::createChangeModeCommand(uint8_t fromID,uint8_t toID,uint8_t mode){
     uint8_t tmp[] = {'A','G','S','C','F',fromID,'T',toID,mode,'A','G','E'};
     for(int i = 0; i < CHANGE_MODE_COMMAND_LENGTH; ++i) packetData[i] = tmp[i];
     packetLength = CHANGE_MODE_COMMAND_LENGTH;
diff -r 172423aa2921 -r c0cf45cf5eeb AigamozuControlPackets.h
--- a/AigamozuControlPackets.h	Mon Jun 08 15:47:56 2015 +0000
+++ b/AigamozuControlPackets.h	Wed Jan 06 10:48:57 2016 +0000
@@ -44,7 +44,7 @@
     //Create Packet: Controller/Base -> Robot 
     void createManualCommad(uint8_t fromID,uint8_t toID,uint8_t directionL,uint8_t pwmL,uint8_t directionR, uint8_t pwmR);
     void createRequestCommand(uint8_t fromID,uint8_t toID);
-    void createChangeModeCommand(uint8_t fromID,uint8_t toID,uint8_t,MODE mode);
+    void createChangeModeCommand(uint8_t fromID,uint8_t toID,uint8_t );
     
     //Create Packet: Robot -> Controller/Base 
     void createReceiveStatusCommand(uint8_t fromID,uint8_t toID, int status, double latitude,double longitude,double latitudeKalman,double longitudeKalman,