Package trclib.sensor
Class TrcOdometryWheels.AxisSensor
java.lang.Object
trclib.sensor.TrcOdometryWheels.AxisSensor
- Enclosing class:
- TrcOdometryWheels
This class encapsulates an axis sensor with its axis offset.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final double
(package private) final double
private TrcOdometrySensor.Odometry
(package private) final TrcOdometrySensor
-
Constructor Summary
ConstructorsConstructorDescriptionAxisSensor
(TrcOdometrySensor sensor) Constructor: Create an instance of the object.AxisSensor
(TrcOdometrySensor sensor, double parallelOffset) Constructor: Create an instance of the object.AxisSensor
(TrcOdometrySensor sensor, double parallelOffset, double orthogonalOffset) Constructor: Create an instance of the odometry wheel -
Method Summary
-
Field Details
-
sensor
-
axisOffset
final double axisOffset -
angleOffset
final double angleOffset -
odometry
-
-
Constructor Details
-
AxisSensor
Constructor: Create an instance of the odometry wheel- Parameters:
sensor
- specifies the odometry sensor.parallelOffset
- specifies the distance offset of the line parallel to the odometry wheel from the wheel base centroid.orthogonalOffset
- specifies the distance offset of the line orthogonal to the odometry wheel from wheel base centroid.
-
AxisSensor
Constructor: Create an instance of the object. The odometry wheel is tangent to the turning circle.- Parameters:
sensor
- specifies the odometry sensor.parallelOffset
- specifies the parallel axis offset from wheel base centroid.
-
AxisSensor
Constructor: Create an instance of the object. The odometry wheel is at the center of the turning circle.- Parameters:
sensor
- specifies the odometry sensor.
-
-
Method Details