LocalizationTest

open class LocalizationTest : LinearOpMode

This is a simple teleop routine for testing localization. Drive the robot around like a normal teleop routine and make sure the robot's estimated pose matches the robot's actual pose (slight errors are not out of the ordinary, especially with sudden drive motions). The goal of this exercise is to ascertain whether the localizer has been configured properly (note: the pure encoder localizer heading may be significantly off if the track width has not been tuned).

Functions

Link copied to clipboard
open fun getRuntime(): Double
Link copied to clipboard
fun idle()
Link copied to clipboard
fun init()
Link copied to clipboard
fun init_loop()
Link copied to clipboard
open fun internalPostInitLoop()
Link copied to clipboard
open fun internalPostLoop()
Link copied to clipboard
open fun internalPreInit()
Link copied to clipboard
fun internalUpdateTelemetryNow(telemetry: TelemetryMessage)
Link copied to clipboard
fun isStarted(): Boolean
Link copied to clipboard
fun isStopRequested(): Boolean
Link copied to clipboard
fun loop()
Link copied to clipboard
fun opModeIsActive(): Boolean
Link copied to clipboard
fun requestOpModeStop()
Link copied to clipboard
open fun resetStartTime()
Link copied to clipboard
open fun runOpMode()
Link copied to clipboard
fun sleep(milliseconds: Long)
Link copied to clipboard
fun start()
Link copied to clipboard
fun stop()
Link copied to clipboard
open fun updateTelemetry(telemetry: Telemetry)
Link copied to clipboard
open fun waitForStart()