Localizer

Properties

Link copied to clipboard
abstract val encoderXTicks: Int
Link copied to clipboard
abstract val encoderYTicks: Int
Link copied to clipboard
open val name: String
Link copied to clipboard
abstract var pose: Pose

Current pose of the robot

Link copied to clipboard
abstract var prevPose: Pose

Previous pose for numerical differentiation

Functions

Link copied to clipboard
abstract fun init()
Link copied to clipboard
open fun reset()

Resets the localizer to the origin (0, 0, 0)

abstract fun reset(pose: Pose)

Resets the localizer to a specific pose

Link copied to clipboard
open fun update()

abstract fun update(dt: Double)

Updates the pose of the robot based on sensor data