CubeVision

An API for scanning the cube team piece.

This requires the Vision API.

Types

Link copied to clipboard

Represents the position where the cube is placed, relative to the camera of the robot.

Properties

Link copied to clipboard
open val isLinear: Boolean = false

Specifies whether this API requires a LinearOpMode to function.

Link copied to clipboard

Returns the last scanned placement of the cube.

Link copied to clipboard
open override val processor: VisionProcessor

Functions

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

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

Link copied to clipboard
fun disable()
Link copied to clipboard
fun init(opMode: OpMode, cubeColor: Team)