Go to Post There is one unbreakable and unwritten law in FIRST, don't make it hard for your alliance partners to play. - Al Skierkiewicz [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 10-02-2012, 17:46
mfang mfang is offline
Registered User
FRC #4064 (Inzombiacs)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2012
Location: Ocala, FL
Posts: 5
mfang is an unknown quantity at this point
Running the CameraTestProject

Hello!
We are trying to run the CameraTestProject sample code, using the camera.getImage() instead of the default images. However, it seems to not be printing anything out to the screen. I tried adding print statements before the while loop of the autonomous code, and it does not output either. We are able to access video from the camera on the dashboard. Any help? Thanks!

EDIT: And then 4 minutes later, while I was looking at code from a different project, it outputted the statements and gave the AxisCameraException: No Image available. Odd.

Last edited by mfang : 10-02-2012 at 18:01.
Reply With Quote
  #2   Spotlight this post!  
Unread 11-02-2012, 13:35
mfang mfang is offline
Registered User
FRC #4064 (Inzombiacs)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2012
Location: Ocala, FL
Posts: 5
mfang is an unknown quantity at this point
Thumbs up Re: Running the CameraTestProject

We resolved our problem by setting up the username FRC and password FRC thing, (as suggested in an earlier thread ) but we did it through the manual method, adding an extra user + password in addition to admin/admin.
Reply With Quote
  #3   Spotlight this post!  
Unread 11-02-2012, 13:42
Patrick Chiang Patrick Chiang is offline
Programming
FRC #3070 (Team Pronto)
Team Role: Mentor
 
Join Date: Feb 2009
Rookie Year: 2009
Location: Seattle
Posts: 162
Patrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to all
Re: Running the CameraTestProject

Yeah, our programmers faced the same problem until they learned to RTFM (read the first manual) and add an user (a solution I gave a few minutes ago)

Another way we got this error was calling getImage too early, before the camera was ready.
Reply With Quote
Reply


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 12:50.

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