fix speedometer for new encoder

This commit is contained in:
2023-04-20 12:31:48 +02:00
parent 3fab7c7f83
commit 07f09d691f
4 changed files with 91 additions and 47 deletions
+8
View File
@@ -80,6 +80,12 @@ class MoveControl {
*/
void setDrivingStatus(DrivingStatus status);
/**
* @brief Stops the engine immediately
*
*/
void emergencyStop();
/**
* @brief Set the target speed
*
@@ -156,6 +162,8 @@ class MoveControl {
void setDelay(uint8_t delay) { this->delay = delay; }
private:
void setSpeedometerDirection(Speedometer *speedometer, double value);
/**
* @brief Converts values into wheel speeds
*