Class TwoSensorOdom
Defined in File TwoSensorOdom.hpp
Inheritance Relationships
Base Type
public LouLib::Odometry::AbstractOdometry
(Class AbstractOdometry)
Class Documentation
-
class TwoSensorOdom : public LouLib::Odometry::AbstractOdometry
Class used as an odometry tracker with two sensors.
Public Functions
-
TwoSensorOdom(AbstractOdomSensor &leftSensor, AbstractOdomSensor &rightSensor, Units::Length trackWidth)
Constructor
- Parameters
leftSensor –
rightSensor –
trackWidth –
-
virtual void update() override
Computes the new position of the robot
-
TwoSensorOdom(AbstractOdomSensor &leftSensor, AbstractOdomSensor &rightSensor, Units::Length trackWidth)