Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Camera axis help (http://www.chiefdelphi.com/forums/showthread.php?t=110352)

sunny1118 02-01-2013 17:34

Camera axis help
 
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

Re: Camera axis help
 
Quote:

Originally Posted by sunny1118 (Post 1206625)
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

Team3266Spencer 06-01-2013 14:10

Re: Camera axis help
 
NetworkTables?


All times are GMT -5. The time now is 10:01.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi