Go to Post Careful what words you use here; we take them literally. - DonRotolo [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 21-02-2011, 16:03
ArchVince's Avatar
ArchVince ArchVince is offline
Registered User
FRC #1290 (Si Se Puede)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Chandler High School
Posts: 26
ArchVince will become famous soon enough
Camera Programming

I feel really dumb for having to ask this, especially with the million other threads on the topic. But all of them basically just said to add in something like:

AxisCamera camera = AxisCamera.getInstance();

That's what I did. I did declare it before I initialized it, though. Anyway, it could well be a DriverStation issue, but I know it isn't hardware. I got the camera running through a browser, and I am using a crossover cable for it. Is there more code I need to add in? When I attempted to use it, the video spot is just blank. I then tried to actually drive the robot, and it had completely frozen. Nothing worked. I've had that happen before when my code had a fatal error, so I'm assuming that's what this is. I went back to dev mode, removed the three lines about the camera, and recompiled it. The robot ran fine.
__________________
PETA wants your help finding Schrödinger.
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:30.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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