Limelight

constructor(name: String, cameraHeight: Double, cameraAngle: Double = 0.0, ip: String, cameraDistance: Double = 0.0, aprilTagHeight: Double = 0.0, ledMode: LedMode = LedMode.Pipeline, cameraMode: CameraMode = CameraMode.VisionProcessor, pipeline: Int = 0, streamMode: StreamMode = StreamMode.Standard, snapshotMode: SnapshotMode = SnapshotMode.Reset, crop: Array<Number> = arrayOf(0, 0, 0, 0), fiducialPipeline: Int = 0)

Parameters

name

The name of the Limelight.

cameraHeight

The height of the camera above the ground.

cameraAngle

The angle of the camera above the ground.

cameraDistance

The distance of the camera from the center of the robot.

aprilTagHeight

The height of the AprilTag above the ground.

ledMode

The LED mode of the Limelight.

cameraMode

The camera mode of the Limelight.

pipeline

The pipeline of the Limelight.

streamMode

The stream mode of the Limelight.

snapshotMode

The snapshot mode of the Limelight.

crop

The crop values of the Limelight.

ip

The IP address of the Limelight.

fiducialPipeline

The pipeline of the Limelight that is used for the Fiducial.