54 virtual std::shared_ptr<ReadOnlyChassisModel>
getModel() = 0;
virtual void step()=0
Do one odometry step.
Odometry()=default
Odometry.
virtual std::shared_ptr< ReadOnlyChassisModel > getModel()=0
virtual void setScales(const ChassisScales &ichassisScales)=0
Sets the drive and turn scales.
virtual OdomState getState(const StateMode &imode=StateMode::FRAME_TRANSFORMATION) const =0
Returns the current state.
virtual ~Odometry()=default
virtual ChassisScales getScales()=0
virtual void setState(const OdomState &istate, const StateMode &imode=StateMode::FRAME_TRANSFORMATION)=0
Sets a new state to be the current state.
StateMode
The mode for the OdomState calculated by Odometry.
@ FRAME_TRANSFORMATION
+x is forward, +y is right, 0 degrees is along +x