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

<init>

TwoTrackingWheelLocalizer(wheelPositions: List<Vector2d>, wheelOrientations: List<Double>)

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