make all possible functions const
This commit is contained in:
@@ -89,7 +89,7 @@ class TestMode : public DriveModi {
|
||||
*/
|
||||
void abortManeuver();
|
||||
|
||||
uint8_t getRemainingManeuverTime();
|
||||
uint8_t getRemainingManeuverTime() const;
|
||||
|
||||
/**
|
||||
* @brief Returns true if a maneuver is running
|
||||
@@ -99,8 +99,8 @@ class TestMode : public DriveModi {
|
||||
*/
|
||||
bool getBusy() const { return this->busy; }
|
||||
Maneuver getManeuver() const { return this->maneuver; }
|
||||
Speedometer* getSpeedometerLeft() { return this->moveControl->getSpeedometerLeft(); }
|
||||
Speedometer* getSpeedometerRight() { return this->moveControl->getSpeedometerRight(); }
|
||||
Speedometer* getSpeedometerLeft() const { return this->moveControl->getSpeedometerLeft(); }
|
||||
Speedometer* getSpeedometerRight() const { return this->moveControl->getSpeedometerRight(); }
|
||||
|
||||
private:
|
||||
void run() override;
|
||||
|
||||
Reference in New Issue
Block a user