Quote:
Originally Posted by sunny1118
So our team used the camera axis setup thing and we were able to find it and after that we don't know what to do.
|
Assuming you're using Java, put this in your Main class
Code:
AxisCamera cameraName; <-----Replace cameraName with something
public void robotInit() {
cameraName = AxisCamera.getInstance("10.0.0.11"); <---- Replace 0's with your team number such that team 3737 = "10.37.37.11"
cameraName.writeResolution(AxisCamera.ResolutionT.k320x240); <---- Replace with the resolution you want to use
cameraName.writeMaxFPS(18); <----- Replace with the frames-per-second you want to use
And transfer the camera images using NetworkTables