Log in

View Full Version : Camera axis help


sunny1118
02-01-2013, 17:34
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.

F22Rapture
02-01-2013, 22:03
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

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

Team3266Spencer
06-01-2013, 14:10
NetworkTables?