mirror of
https://gitlab.dit.htwk-leipzig.de/phillip.kuehne/dezibot.git
synced 2025-05-19 19:11:48 +02:00
suggestion for motion.h
This commit is contained in:
parent
68883dadb8
commit
0d1854c8d7
@ -28,21 +28,19 @@ public:
|
|||||||
* @brief Move forward for a certain amount of time.
|
* @brief Move forward for a certain amount of time.
|
||||||
* @param moveForMs Representing the duration of forward moving in milliseconds.
|
* @param moveForMs Representing the duration of forward moving in milliseconds.
|
||||||
*/
|
*/
|
||||||
void move(u8int moveForMs);
|
void move(uint8_t moveForMs);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Rotate left for a certain amount of time.
|
* @brief Rotate left for a certain amount of time.
|
||||||
* @param rotateForMs Representing the duration of rotating left in milliseconds.
|
* @param rotateForMs Representing the duration of rotating left in milliseconds.
|
||||||
*/
|
*/
|
||||||
void rotateLeft(u8int rotateForMs);
|
void rotateLeft(uint8_t rotateForMs);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Rotate right for a certain amount of time.
|
* @brief Rotate right for a certain amount of time.
|
||||||
* @param rotateForMs Representing the duration of rotating right in milliseconds.
|
* @param rotateForMs Representing the duration of rotating right in milliseconds.
|
||||||
*/
|
*/
|
||||||
void rotateRight(u8int rotateForMs);
|
void rotateRight(uint8_t rotateForMs);
|
||||||
|
|
||||||
};
|
};
|
||||||
#endif //Motion_h
|
#endif //Motion_h
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user