Package org.hyperonline.hyperlib
Class HYPERVision
- java.lang.Object
-
- org.hyperonline.hyperlib.HYPERVision
-
public abstract class HYPERVision extends java.lang.Object
HYPERVision provide code which is mostly the same in every vision application.
-
-
Field Summary
Fields Modifier and Type Field Description protected edu.wpi.first.cameraserver.CameraServer
m_cameraServer
protected boolean
m_isRobot
protected edu.wpi.first.networktables.NetworkTableInstance
m_tableInstance
-
Constructor Summary
Constructors Constructor Description HYPERVision()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract void
initCameras()
Initialize the cameras used in this HYPERVisionprotected void
initCameraServer()
Initialize the CameraServer used in this HYPERVisionprotected abstract void
initConnectors()
Initialize the VisionConnectors used in this HYPERVisionprotected abstract void
initModules()
Initialize the VisionModules used in this HYPERVisionprotected void
initNetworkTable()
Initialize the NetworkTableInstance and start our team's clientprotected abstract void
initPipelines()
Initialize the VIsionGUIPipelines used in this HYPERVisionprotected abstract void
initProcessors()
Initialize the TargetProcessors used in this HYPERVisionprotected abstract void
onPreferencesUpdated()
Update properties when Preferences have changedvoid
startCompetition()
Run the Vision application Matches startCompetition of a Robotprotected abstract void
startModules()
Start the VisionModules used in this HYPERVisionvoid
visionInit()
Initialize the HYPERVision application with components initialized in a specific order
-
-
-
Method Detail
-
visionInit
public final void visionInit()
Initialize the HYPERVision application with components initialized in a specific order
-
startCompetition
public void startCompetition()
Run the Vision application Matches startCompetition of a Robot
-
initNetworkTable
protected void initNetworkTable()
Initialize the NetworkTableInstance and start our team's client
-
initCameras
protected abstract void initCameras()
Initialize the cameras used in this HYPERVision
-
initConnectors
protected abstract void initConnectors()
Initialize the VisionConnectors used in this HYPERVision
-
initProcessors
protected abstract void initProcessors()
Initialize the TargetProcessors used in this HYPERVision
-
initPipelines
protected abstract void initPipelines()
Initialize the VIsionGUIPipelines used in this HYPERVision
-
initModules
protected abstract void initModules()
Initialize the VisionModules used in this HYPERVision
-
startModules
protected abstract void startModules()
Start the VisionModules used in this HYPERVision
-
initCameraServer
protected void initCameraServer()
Initialize the CameraServer used in this HYPERVision
-
onPreferencesUpdated
protected abstract void onPreferencesUpdated()
Update properties when Preferences have changed
-
-