LimelightHelpers

open class LimelightHelpers

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
open class LimelightResults
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 class PoseEstimate
Link copied to clipboard
open class Results

Functions

Link copied to clipboard
open fun getBotPose(limelightName: String): Array<Double>
Link copied to clipboard
open fun getBotpose(limelightName: String): Array<Double>
Switch to getBotPose
Link copied to clipboard
open fun getBotPose2d(limelightName: String): Pose2d
Gets the Pose2d for easy use with Odometry vision pose estimator (addVisionMeasurement)
Link copied to clipboard
open fun getBotPose2d_wpiBlue(limelightName: String): Pose2d
Gets the Pose2d for easy use with Odometry vision pose estimator (addVisionMeasurement)
Link copied to clipboard
open fun getBotPose2d_wpiRed(limelightName: String): Pose2d
Gets the Pose2d for easy use with Odometry vision pose estimator (addVisionMeasurement)
Link copied to clipboard
open fun getBotPose3d(limelightName: String): Pose3d
Link copied to clipboard
open fun getBotPose3d_TargetSpace(limelightName: String): Pose3d
Link copied to clipboard
open fun getBotPose3d_wpiBlue(limelightName: String): Pose3d
Link copied to clipboard
open fun getBotPose3d_wpiRed(limelightName: String): Pose3d
Link copied to clipboard
open fun getBotPose_TargetSpace(limelightName: String): Array<Double>
Link copied to clipboard
open fun getBotPose_wpiBlue(limelightName: String): Array<Double>
Link copied to clipboard
open fun getBotpose_wpiBlue(limelightName: String): Array<Double>
Switch to getBotPose_wpiBlue
Link copied to clipboard
open fun getBotPose_wpiRed(limelightName: String): Array<Double>
Link copied to clipboard
open fun getBotpose_wpiRed(limelightName: String): Array<Double>
Switch to getBotPose_wpiRed
Link copied to clipboard
Gets the Pose2d and timestamp for use with WPILib pose estimator (addVisionMeasurement) when you are on the BLUE alliance
Link copied to clipboard
Gets the Pose2d and timestamp for use with WPILib pose estimator (addVisionMeasurement) when you are on the RED alliance
Link copied to clipboard
open fun getCameraPose3d_RobotSpace(limelightName: String): Pose3d
Link copied to clipboard
open fun getCameraPose3d_TargetSpace(limelightName: String): Pose3d
Link copied to clipboard
open fun getCameraPose_TargetSpace(limelightName: String): Array<Double>
Link copied to clipboard
open fun getCurrentPipelineIndex(limelightName: String): Double
Link copied to clipboard
open fun getFiducialID(limelightName: String): Double
Link copied to clipboard
open fun getJSONDump(limelightName: String): String
Link copied to clipboard
open fun getLatency_Capture(limelightName: String): Double
Link copied to clipboard
open fun getLatency_Pipeline(limelightName: String): Double
Link copied to clipboard
Parses Limelight's JSON results dump into a LimelightResults Object
Link copied to clipboard
open fun getLimelightNTDouble(tableName: String, entryName: String): Double
Link copied to clipboard
open fun getLimelightNTDoubleArray(tableName: String, entryName: String): Array<Double>
Link copied to clipboard
open fun getLimelightNTString(tableName: String, entryName: String): String
Link copied to clipboard
open fun getLimelightNTTable(tableName: String): NetworkTable
Link copied to clipboard
open fun getLimelightNTTableEntry(tableName: String, entryName: String): NetworkTableEntry
Link copied to clipboard
open fun getLimelightURLString(tableName: String, request: String): URL
Link copied to clipboard
open fun getNeuralClassID(limelightName: String): String
Link copied to clipboard
open fun getPythonScriptData(limelightName: String): Array<Double>
Link copied to clipboard
open fun getTA(limelightName: String): Double
Link copied to clipboard
open fun getTargetColor(limelightName: String): Array<Double>
Link copied to clipboard
open fun getTargetPose3d_CameraSpace(limelightName: String): Pose3d
Link copied to clipboard
open fun getTargetPose3d_RobotSpace(limelightName: String): Pose3d
Link copied to clipboard
open fun getTargetPose_CameraSpace(limelightName: String): Array<Double>
Link copied to clipboard
open fun getTargetPose_RobotSpace(limelightName: String): Array<Double>
Link copied to clipboard
open fun getTV(limelightName: String): Boolean
Link copied to clipboard
open fun getTX(limelightName: String): Double
Link copied to clipboard
open fun getTY(limelightName: String): Double
Link copied to clipboard
open fun setCameraMode_Driver(limelightName: String)
Link copied to clipboard
open fun setCameraMode_Processor(limelightName: String)
Link copied to clipboard
open fun setCameraPose_RobotSpace(limelightName: String, forward: Double, side: Double, up: Double, roll: Double, pitch: Double, yaw: Double)
Link copied to clipboard
open fun setCropWindow(limelightName: String, cropXMin: Double, cropXMax: Double, cropYMin: Double, cropYMax: Double)
Sets the crop window.
Link copied to clipboard
open fun setLEDMode_ForceBlink(limelightName: String)
Link copied to clipboard
open fun setLEDMode_ForceOff(limelightName: String)
Link copied to clipboard
open fun setLEDMode_ForceOn(limelightName: String)
Link copied to clipboard
open fun setLEDMode_PipelineControl(limelightName: String)
The LEDs will be controlled by Limelight pipeline settings, and not by robot code.
Link copied to clipboard
open fun setLimelightNTDouble(tableName: String, entryName: String, val: Double)
Link copied to clipboard
open fun setLimelightNTDoubleArray(tableName: String, entryName: String, val: Array<Double>)
Link copied to clipboard
open fun setPipelineIndex(limelightName: String, pipelineIndex: Int)
Link copied to clipboard
open fun setPriorityTagID(limelightName: String, ID: Int)
Link copied to clipboard
open fun setPythonScriptData(limelightName: String, outgoingPythonData: Array<Double>)
Link copied to clipboard
open fun setStreamMode_PiPMain(limelightName: String)
Link copied to clipboard
open fun setStreamMode_PiPSecondary(limelightName: String)
Link copied to clipboard
open fun setStreamMode_Standard(limelightName: String)
Link copied to clipboard
open fun takeSnapshot(tableName: String, snapshotName: String): CompletableFuture<Boolean>
Asynchronously take snapshot.