Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: VNH5019
Dependents: Aigamozu_Robot_展示会 Aigamozu_Robot_March Aigamozu_Robot_templete
Fork of AigamozuControlPackets by
Diff: AigamozuControlPackets.cpp
- Revision:
- 25:119fd6c9ae80
- Parent:
- 22:4f1516421f02
- Child:
- 26:195c054a0148
diff -r 4f1516421f02 -r 119fd6c9ae80 AigamozuControlPackets.cpp
--- a/AigamozuControlPackets.cpp Wed May 13 08:41:19 2015 +0000
+++ b/AigamozuControlPackets.cpp Fri May 15 08:18:38 2015 +0000
@@ -61,6 +61,7 @@
double AigamozuControlPackets::get_basePoint_longi(int i){
return basePoint[i].y;
}
+
double AigamozuControlPackets::get_basePointKalman_lati(int i){
return basePointKalman[i].x;
}
@@ -68,6 +69,10 @@
return basePointKalman[i].y;
}
+char AigamozuControlPackets::get_base_status(int i){
+ return base_status[i];
+}
+
//////////////////////////////
// set関数
//////////////////////////////
@@ -86,6 +91,12 @@
//agzPointKalman.y += 0.001;
}
+
+void AigamozuControlPackets::set_base_status(int i, uint8_t *status){
+
+ base_status[i] = (char)status;
+
+}
//////////////////////////////
// Controller/Base -> Robot //
//////////////////////////////
