drive down
Dependencies: BMP280 BNO055_fusion PowerControl mbed
Fork of TEAM_G_FLOW_RIDA by
Diff: LOCOMOTION.h
- Revision:
- 19:2dd81b864e14
- Parent:
- 18:f9012e93edb8
- Child:
- 23:455f7da3dd7a
--- a/LOCOMOTION.h Tue Mar 29 02:12:08 2016 +0000 +++ b/LOCOMOTION.h Sun Apr 03 05:48:37 2016 +0000 @@ -25,9 +25,11 @@ bool setXPos(int target, int current, int error, int angle); bool setYPos(int target, int current, int error, int angle); bool setAngle(int target, int current, int error, int mode); - int wrap(int num); + void stopMotors(void); + inline int wrap(int num); protected: float s; + }; #endif \ No newline at end of file