Otos

object Otos : API

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

Defines whether this API requires features from LinearOpMode.

Link copied to clipboard
lateinit var otos: SparkFunOTOS

Functions

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

Initializes this API.

Link copied to clipboard
fun moveRobot(y: Double, x: Double, h: Double)
Link copied to clipboard
fun myPos(): SparkFunOTOS.Pose2D
Link copied to clipboard
fun otosDrive(x: Double, y: Double, h: Double, t: Double)
Link copied to clipboard
fun turn(h: Double, d: Double)