forward
Dependencies: VNH5019
Fork of AigamozuControlPackets by
Diff: AigamozuControlPackets.cpp
- Revision:
- 25:119fd6c9ae80
- Parent:
- 22:4f1516421f02
- Child:
- 26:195c054a0148
--- 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 // //////////////////////////////