core / com.acmerobotics.roadrunner.drive / TwoTrackingWheelLocalizer / <init>

<init>

TwoTrackingWheelLocalizer(wheelPositions: List<Vector2d>, wheelOrientations: List<Double>, clock: NanoClock = NanoClock.system())

Localizer based on two unpowered tracking omni wheels and an orientation sensor.

Parameters

wheelPositions - wheel positions relative to the center of the robot (positive X points forward on the robot)

wheelOrientations - angular orientations of the wheels measured counterclockwise from positive X in radians

clock - clock