diff --git a/src/motion/Motion.h b/src/motion/Motion.h index 7199ef7..e0edb66 100644 --- a/src/motion/Motion.h +++ b/src/motion/Motion.h @@ -11,6 +11,8 @@ #ifndef Motion_h #define Motion_h +#include + class Motion{ protected: @@ -28,19 +30,19 @@ public: * @brief Move forward for a certain amount of time. * @param moveForMs Representing the duration of forward moving in milliseconds. */ - void move(uint8_t moveForMs); + void move(uint32_t moveForMs); /** - * @brief Rotate left for a certain amount of time. - * @param rotateForMs Representing the duration of rotating left in milliseconds. + * @brief Rotate clockwise for a certain amount of time. + * @param rotateForMs Representing the duration of rotating clockwise in milliseconds. */ - void rotateLeft(uint8_t rotateForMs); - + void rotateClockwise(uint32_t rotateForMs); + /** - * @brief Rotate right for a certain amount of time. - * @param rotateForMs Representing the duration of rotating right in milliseconds. + * @brief Rotate anticlockwise for a certain amount of time. + * @param rotateForMs Representing the duration of rotating anticlockwise in milliseconds. */ - void rotateRight(uint8_t rotateForMs); + void rotateAnticlockwise(uint32_t rotateForMs); }; #endif //Motion_h \ No newline at end of file