compilation works again
This commit is contained in:
@@ -19,8 +19,8 @@
|
||||
|
||||
struct DriveModiParams {
|
||||
MoveControl* moveControl;
|
||||
ControlPadInput* input;
|
||||
SensorData* sensorData;
|
||||
const ControlPadInput* input;
|
||||
const SensorData* sensorData;
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -35,7 +35,7 @@ class DriveModi : public Component {
|
||||
DriveModi(DriveModiParams);
|
||||
virtual ~DriveModi();
|
||||
|
||||
SensorData getSensorData() const { return this->sensorData; }
|
||||
const SensorData* getSensorData() const { return this->sensorData; }
|
||||
|
||||
/**
|
||||
* @brief Set the max speed
|
||||
@@ -59,8 +59,8 @@ class DriveModi : public Component {
|
||||
|
||||
protected:
|
||||
MoveControl *moveControl;
|
||||
ControlPadInput* input;
|
||||
SensorData* sensorData;
|
||||
const ControlPadInput* input;
|
||||
const SensorData* sensorData;
|
||||
double maxForwardSpeed = 1;
|
||||
double maxRotationSpeed = 7;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user