DemoQuadWheels

This is a demo API used for controlling a robot with four mecanum wheels.

Properties

Link copied to clipboard
open val isLinear: Boolean = false

Specifies whether this API requires a LinearOpMode to function.

Functions

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

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

Link copied to clipboard
fun drive(power: Double)
fun drive(fl: Double, fr: Double, bl: Double, br: Double)
Link copied to clipboard
open override fun init(opMode: OpMode)

Initializes the API to use the given opMode.