Utilities classes for the Zumo Robot
Dependents: ZumoRobotBluetoothControlled Fsl_Zumo
This library represents some useful code for controlling your Zumo Robot.
Diff: ZumoRobotManager.h
- Revision:
- 7:d2af97b7cc94
- Parent:
- 4:dcd52a961392
--- a/ZumoRobotManager.h Sun Dec 21 12:46:41 2014 +0000 +++ b/ZumoRobotManager.h Sun Jul 23 12:51:35 2017 +0000 @@ -7,7 +7,6 @@ class ZumoRobotManager { public: - // Public methods and properties ZumoRobotManager(); ~ZumoRobotManager(); @@ -15,11 +14,13 @@ float getVelocityY(); void setVelocityX(float newValue); void setVelocityY(float newValue); + void applyPowerToRightEngine(int power); + void applyPowerToLeftEngine(int power); bool checkPassword(char toCheck[]); private: - // Private methods and properties float velocityX; float velocityY; + void updateMotors(); };