Utilities classes for the Zumo Robot
Dependents: ZumoRobotBluetoothControlled Fsl_Zumo
This library represents some useful code for controlling your Zumo Robot.
ZumoRobotManager.h
- Committer:
- catalincraciun7
- Date:
- 2017-07-23
- Revision:
- 7:d2af97b7cc94
- Parent:
- 4:dcd52a961392
File content as of revision 7:d2af97b7cc94:
// Craciun Catalin // ZumoRobotManager.h // © 2014 Catalin Craciun #ifndef ZumoRobotManagerH #define ZumoRobotManagerH class ZumoRobotManager { public: ZumoRobotManager(); ~ZumoRobotManager(); float getVelocityX(); float getVelocityY(); void setVelocityX(float newValue); void setVelocityY(float newValue); void applyPowerToRightEngine(int power); void applyPowerToLeftEngine(int power); bool checkPassword(char toCheck[]); private: float velocityX; float velocityY; void updateMotors(); }; #endif // ZumoRobotManagerH