Chief Delphi

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

Mk.32 22-08-2011 00:30

Camera code.
 
Using the instructions in the sticky post, we got the camera to display in the dashboard.
Our current code in RobotInit() is:
Quote:

Timer.delay(8);
AxisCamera camera = AxisCamera.getInstance();
Now to change the resolution of the camera.
We tried
Quote:

camera.getInstance().writeResolution(AxisCamera.Re solutionT.k320x240);
However this seems to have not worked. Any ideas anyone?
Also what is the way to do color tracking with it?
We just got the camera installed and working as a off season project.
Thanks in advance.

~Cory~ 22-08-2011 10:38

Re: Camera code.
 
Try looking at the cRIO's serial output during start up for errors. Even better you could post it here. (Im taking it that the code compiles just fine).

On another note, we ended up by passing the cRIO for the camera and got the feed directly from the network and fed it to our classmate. The classmate is much faster with the processing and there were less issues.

Mk.32 22-08-2011 16:08

Re: Camera code.
 
I will check that out, the next meeting thanks!
Yes the code complies fine, I think something is wrong with the syntax but it sill complies for some reason.


All times are GMT -5. The time now is 22:18.

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