DemoLinearAPI

This is a demo API for driving related to april tags.

Requires the TriWheels API.

Properties

Link copied to clipboard
open override val dependencies: Set<TriWheels>

Configures all APIs that must be initialized in order to use this API.

Link copied to clipboard

Returns true if init has been called for this opmode.

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

Defines whether this API requires features from LinearOpMode.

Functions

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 this API.