AprilMovement

An API for driving related to april tags.

Requires the TriWheels and AprilVision APIs.

Properties

Link copied to clipboard
open override val isLinear: Boolean = true

Specifies whether this API requires a LinearOpMode to function.

Functions

Link copied to clipboard
open override fun dependencies(): Set<API>

A function that returns a Set of all other APIs it depends on to function.

Link copied to clipboard
fun driveTo(tagId: Int, desiredDistance: Double = 12.0)

Drives in front of the given april tag tagId, facing squarely in front of it desiredDistance inches away.

Link copied to clipboard
open fun init(opMode: OpMode)

Initializes the API to use the given opMode.