Voltage

object Voltage : API

An API that enables access to the voltage of the control hub.

See also

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 get(): Double

Returns the current voltage of the control hub.

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

Initializes this API.