yokokawa

Dependencies:   ADXL345 AigamozuControlPackets HMC5843 ITG3200 MBed_Adafruit-GPS-Library XBee agzIDLIST agz_common mbed

Fork of aigamozu_program_ver2 by aigamozu

Files at this revision

API Documentation at this revision

Comitter:
m5171135
Date:
Sat Jun 28 07:17:51 2014 +0000
Parent:
8:760cb743e4fc
Child:
10:4a6059c5c84c
Commit message:
robot

Changed in this revision

MBed_Adafruit-GPS-Library.lib Show annotated file Show diff for this revision Revisions of this file
agzIDLIST.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/MBed_Adafruit-GPS-Library.lib	Wed Jun 18 13:50:11 2014 +0000
+++ b/MBed_Adafruit-GPS-Library.lib	Sat Jun 28 07:17:51 2014 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mlee350/code/MBed_Adafruit-GPS-Library/#8203e954d8e1
+http://mbed.org/teams/aigamozu/code/MBed_Adafruit-GPS-Library/#8203e954d8e1
--- a/agzIDLIST.lib	Wed Jun 18 13:50:11 2014 +0000
+++ b/agzIDLIST.lib	Sat Jun 28 07:17:51 2014 +0000
@@ -1,1 +1,1 @@
-agzIDLIST#01ef30559773
+http://mbed.org/teams/aigamozu/code/agzIDLIST/#01ef30559773
--- a/main.cpp	Wed Jun 18 13:50:11 2014 +0000
+++ b/main.cpp	Sat Jun 28 07:17:51 2014 +0000
@@ -104,7 +104,7 @@
                     //CommandType -> Send Status
                     case STATUS_REQUEST:{
                             //Create GPS Infomation Packet
-                            agz.createReceiveStatusCommand('C','a',myGPS.longitudeH,myGPS.longitudeL,myGPS.latitudeH,myGPS.latitudeL);
+                            agz.createReceiveStatusCommand('B','a',myGPS.longitudeH,myGPS.longitudeL,myGPS.latitudeH,myGPS.latitudeL);
                             //Select Destination
                             ZBTxRequest tx64request(remoteAddress,agz.packetData,agz.getPacketLength());
                             //Send -> Base
@@ -137,9 +137,10 @@
                 agz.reNewPoint(myGPS.longitudeH,myGPS.longitudeL,myGPS.latitudeH,myGPS.latitudeL);
             }
             else agz.nowStatus = GPS_UNAVAIL;
-            
+        } 
+        
+
+        
             
-            
-        }     
     }
 }
\ No newline at end of file