gz/math/MecanumDriveOdometry.hh
void SetWheelParams(double _wheelSeparation, double _wheelBase, double _leftWheelRadius, double _rightWheelRadius)
Set the wheel parameters including the radius and separation.
double LateralVelocity() const
Get the lateral velocity.
Definition: gz/math/AdditivelySeparableScalarField3.hh:27
bool Initialized() const
Get whether Init has been called.
double RightWheelRadius() const
Get the rightwheel radius.
MecanumDriveOdometry(size_t _windowSize=10)
Constructor.
double LinearVelocity() const
Get the linear velocity.
double WheelSeparation() const
Get the wheel separation.
bool Update(const Angle &_frontLeftPos, const Angle &_frontRightPos, const Angle &_backLeftPos, const Angle &_backRightPos, const clock::time_point &_time)
Updates the odometry class with latest wheels and steerings position.
void SetVelocityRollingWindowSize(size_t _size)
Set the velocity rolling window size.
const Angle & AngularVelocity() const
Get the angular velocity.
void Init(const clock::time_point &_time)
Initialize the odometry.
The Angle class is used to simplify and clarify the use of radians and degrees measurements....
Definition: gz/math/Angle.hh:61
Computes odometry values based on a set of kinematic properties and wheel speeds for a Mecanum-drive ...
Definition: gz/math/MecanumDriveOdometry.hh:52
double LeftWheelRadius() const
Get the left wheel radius.