DemoAPI

object DemoAPI : API

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

Properties

Link copied to clipboard
open val dependencies: Set<API>

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 val isLinear: Boolean = false

Defines whether this API requires features from LinearOpMode.

Functions

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