MecanumLocalizer

public MecanumLocalizer MecanumLocalizer(Function0<List<Double>> getWheelPositions, Function0<List<Double>> getWheelVelocities, Double trackWidth, Double wheelBase, Double lateralMultiplier)
public MecanumLocalizer MecanumLocalizer(Function0<List<Double>> getWheelPositions, Function0<List<Double>> getWheelVelocities, Double trackWidth, Double wheelBase)
public MecanumLocalizer MecanumLocalizer(Function0<List<Double>> getWheelPositions, Function0<List<Double>> getWheelVelocities, Double trackWidth)
public MecanumLocalizer MecanumLocalizer(Function0<List<Double>> getWheelPositions, Double trackWidth)

Parameters

getWheelPositions

wheel positions in linear distance units

getWheelVelocities

lateral distance between pairs of wheels on different sides of the robot

wheelBase

distance between pairs of wheels on the same side of the robot

lateralMultiplier

lateral multiplier