GamepadOpMode

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open var frameDelay: Int
Link copied to clipboard
open var gamepad1: Gamepad
Link copied to clipboard
open var gamepad2: Gamepad
Link copied to clipboard
open var hardwareMap: HardwareMap
Link copied to clipboard
open val isStarted: Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var runtime: Long
Link copied to clipboard
open var telemetry: Telemetry
Link copied to clipboard
open var time: Double

Functions

Link copied to clipboard
open fun getRuntime(): Double
Link copied to clipboard
fun idle()
Link copied to clipboard
fun init()
Link copied to clipboard
fun init_loop()
Link copied to clipboard
Link copied to clipboard
open fun internalPostLoop()
Link copied to clipboard
open fun internalPreInit()
Link copied to clipboard
fun internalUpdateTelemetryNow(telemetry: TelemetryMessage)
Link copied to clipboard
Link copied to clipboard
fun loop()
Link copied to clipboard
abstract fun main()
Link copied to clipboard
open fun mainLoop()
Link copied to clipboard
open fun onA1Down()
Link copied to clipboard
open fun onA1Up()
Link copied to clipboard
open fun onA2Down()
Link copied to clipboard
open fun onA2Up()
Link copied to clipboard
open fun onB1Down()
Link copied to clipboard
open fun onB1Up()
Link copied to clipboard
open fun onB2Down()
Link copied to clipboard
open fun onB2Up()
Link copied to clipboard
open fun onDPadD1Down()
Link copied to clipboard
open fun onDPadD1Up()
Link copied to clipboard
open fun onDPadD2Down()
Link copied to clipboard
open fun onDPadD2Up()
Link copied to clipboard
open fun onDPadL1Down()
Link copied to clipboard
open fun onDPadL1Up()
Link copied to clipboard
open fun onDPadL2Down()
Link copied to clipboard
open fun onDPadL2Up()
Link copied to clipboard
open fun onDPadR1Down()
Link copied to clipboard
open fun onDPadR1Up()
Link copied to clipboard
open fun onDPadR2Down()
Link copied to clipboard
open fun onDPadR2Up()
Link copied to clipboard
open fun onDPadU1Down()
Link copied to clipboard
open fun onDPadU1Up()
Link copied to clipboard
open fun onDPadU2Down()
Link copied to clipboard
open fun onDPadU2Up()
Link copied to clipboard
open fun onEnd()
Link copied to clipboard
abstract fun onInit()
Link copied to clipboard
open fun onLBumper1Down()
Link copied to clipboard
open fun onLBumper1Up()
Link copied to clipboard
open fun onLBumper2Down()
Link copied to clipboard
open fun onLBumper2Up()
Link copied to clipboard
open fun onLStick1D()
Link copied to clipboard
open fun onLStick1L()
Link copied to clipboard
open fun onLStick1R()
Link copied to clipboard
open fun onLStick1U()
Link copied to clipboard
open fun onLStick2D()
Link copied to clipboard
open fun onLStick2L()
Link copied to clipboard
open fun onLStick2R()
Link copied to clipboard
open fun onLStick2U()
Link copied to clipboard
open fun onLTrigger1Down()
Link copied to clipboard
open fun onLTrigger1Up()
Link copied to clipboard
open fun onLTrigger2Down()
Link copied to clipboard
open fun onLTrigger2Up()
Link copied to clipboard
open fun onRBumper1Down()
Link copied to clipboard
open fun onRBumper1Up()
Link copied to clipboard
open fun onRBumper2Down()
Link copied to clipboard
open fun onRBumper2Up()
Link copied to clipboard
open fun onRStick1D()
Link copied to clipboard
open fun onRStick1L()
Link copied to clipboard
open fun onRStick1R()
Link copied to clipboard
open fun onRStick1U()
Link copied to clipboard
open fun onRStick2D()
Link copied to clipboard
open fun onRStick2L()
Link copied to clipboard
open fun onRStick2R()
Link copied to clipboard
open fun onRStick2U()
Link copied to clipboard
open fun onRTrigger1Down()
Link copied to clipboard
open fun onRTrigger1Up()
Link copied to clipboard
open fun onRTrigger2Down()
Link copied to clipboard
open fun onRTrigger2Up()
Link copied to clipboard
open fun onX1Down()
Link copied to clipboard
open fun onX1Up()
Link copied to clipboard
open fun onX2Down()
Link copied to clipboard
open fun onX2Up()
Link copied to clipboard
open fun onY1Down()
Link copied to clipboard
open fun onY1Up()
Link copied to clipboard
open fun onY2Down()
Link copied to clipboard
open fun onY2Up()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun resetRuntime()
Link copied to clipboard
open fun rumble1(power: Float, durationMs: Int)
open fun rumble1(powerLeft: Float, powerRight: Float, durationMs: Int)
Link copied to clipboard
open fun rumble2(power: Float, durationMs: Int)
open fun rumble2(powerLeft: Float, powerRight: Float, durationMs: Int)
Link copied to clipboard
abstract fun runOpMode()
open fun runOpMode()
Link copied to clipboard
fun sleep(milliseconds: Long)
Link copied to clipboard
fun start()
Link copied to clipboard
fun stop()
Link copied to clipboard
Link copied to clipboard
open fun updateTelemetry(telemetry: Telemetry)
Link copied to clipboard
open fun waitForStart()