![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
change kalman
Dependencies: ADXL345 AigamozuControlPackets HMC5843 ITG3200 MBed_Adafruit-GPS-Library XBee agzIDLIST mbed
Fork of Aigamozu_Robot_ver4 by
Diff: main.cpp
- Revision:
- 24:698d4e920d33
- Parent:
- 23:c5071bf93db1
- Child:
- 25:ae5fab0946f2
--- a/main.cpp Sun May 17 01:07:40 2015 +0000 +++ b/main.cpp Sun May 17 01:11:52 2015 +0000 @@ -123,17 +123,18 @@ if(SenderIDc >= 'A' && SenderIDc < 'Z'){ send_Address = robot_Address[SenderIDc - 'A']; //Create GPS Infomation Packet - agz.createReceiveStatusCommand(MyID,SenderIDc, (int)agz.gpsAuto(), + agz.createReceiveStatusCommand(MyID,SenderIDc, agz.nowMode, agz.get_agzPoint_lati(),agz.get_agzPoint_longi(), agz.get_agzPointKalman_lati(),agz.get_agzPointKalman_longi(), agz.get_agzCov_lati(),agz.get_agzCov_longi()); } if(SenderIDc >= 'a' && SenderIDc <= 'z'){ send_Address = base_Address[SenderIDc - 'a']; - agz.createReceiveStatusCommand(MyID,SenderIDc, agz.nowMode, + + agz.createReceiveStatusCommand(MyID,SenderIDc, (int)agz.gpsAuto(), agz.get_agzPoint_lati(),agz.get_agzPoint_longi(), agz.get_agzPointKalman_lati(),agz.get_agzPointKalman_longi(), - agz.get_agzCov_lati(),agz.get_agzCov_longi()); + agz.get_agzCov_lati(),agz.get_agzCov_longi()); } //send normal data