Utilities classes for the Zumo Robot
Dependents: ZumoRobotBluetoothControlled Fsl_Zumo
This library represents some useful code for controlling your Zumo Robot.
ZumoRobotManager.h@4:dcd52a961392, 2014-11-27 (annotated)
- Committer:
- catalincraciun7
- Date:
- Thu Nov 27 16:08:05 2014 +0000
- Revision:
- 4:dcd52a961392
- Parent:
- 3:b1fde0759c94
- Child:
- 7:d2af97b7cc94
Minor changes
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
catalincraciun7 | 0:8ebbd2bd34f5 | 1 | // Craciun Catalin |
catalincraciun7 | 0:8ebbd2bd34f5 | 2 | // ZumoRobotManager.h |
catalincraciun7 | 0:8ebbd2bd34f5 | 3 | // © 2014 Catalin Craciun |
catalincraciun7 | 0:8ebbd2bd34f5 | 4 | |
catalincraciun7 | 0:8ebbd2bd34f5 | 5 | #ifndef ZumoRobotManagerH |
catalincraciun7 | 0:8ebbd2bd34f5 | 6 | #define ZumoRobotManagerH |
catalincraciun7 | 0:8ebbd2bd34f5 | 7 | |
catalincraciun7 | 0:8ebbd2bd34f5 | 8 | class ZumoRobotManager { |
catalincraciun7 | 0:8ebbd2bd34f5 | 9 | public: |
catalincraciun7 | 0:8ebbd2bd34f5 | 10 | // Public methods and properties |
catalincraciun7 | 0:8ebbd2bd34f5 | 11 | ZumoRobotManager(); |
catalincraciun7 | 1:c6dfa91582fe | 12 | ~ZumoRobotManager(); |
catalincraciun7 | 3:b1fde0759c94 | 13 | |
catalincraciun7 | 2:036da44b023e | 14 | float getVelocityX(); |
catalincraciun7 | 2:036da44b023e | 15 | float getVelocityY(); |
catalincraciun7 | 2:036da44b023e | 16 | void setVelocityX(float newValue); |
catalincraciun7 | 2:036da44b023e | 17 | void setVelocityY(float newValue); |
catalincraciun7 | 3:b1fde0759c94 | 18 | bool checkPassword(char toCheck[]); |
catalincraciun7 | 0:8ebbd2bd34f5 | 19 | private: |
catalincraciun7 | 0:8ebbd2bd34f5 | 20 | // Private methods and properties |
catalincraciun7 | 2:036da44b023e | 21 | float velocityX; |
catalincraciun7 | 2:036da44b023e | 22 | float velocityY; |
catalincraciun7 | 4:dcd52a961392 | 23 | void updateMotors(); |
catalincraciun7 | 0:8ebbd2bd34f5 | 24 | }; |
catalincraciun7 | 0:8ebbd2bd34f5 | 25 | |
catalincraciun7 | 0:8ebbd2bd34f5 | 26 | #endif // ZumoRobotManagerH |