DriveEncoderLocalizer

public void DriveEncoderLocalizer(HardwareMap map)

This creates a new DriveEncoderLocalizer from a HardwareMap, with a starting Pose at (0,0) facing 0 heading.

Parameters

map

the HardwareMap


public void DriveEncoderLocalizer(HardwareMap map, Pose setStartPose)

This creates a new DriveEncoderLocalizer from a HardwareMap and a Pose, with the Pose specifying the starting pose of the localizer.

Parameters

map

the HardwareMap

setStartPose

the Pose to start from