Go to Post I believe you have the right to develope your own opinion. I would suggest it be based on actual experience and facts. - Mike Copioli [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 21-02-2010, 11:56
TheSorc3r3r TheSorc3r3r is offline
Registered User
FRC #0102
 
Join Date: Mar 2009
Location: Somerville, NJ
Posts: 3
TheSorc3r3r is an unknown quantity at this point
Camera Problems (with latest WPILib update)

Every time we upload the basic camera code to display the camera image on the driver station, we get a "No Robot Code" error. Here is our code:

Code:
AxisCamera &camera = AxisCamera::GetInstance();
camera.WriteResolution(AxisCamera::kResolution_640x480);

while (IsOperatorControl()) {
camera.GetImage(image.GetImaqImage());
}
The camera is plugged in correctly. We ran the latest WPILib update (from Feb 17, v4.3) and it worked perfectly. Then, the next day we started getting the "No Robot Code" error again. Nothing was changed. The cRIO is imaged to v19. We've redone the update and tried everything else we can think of, but we're completely stumped.

Does anyone have any ideas? Thanks!

Team 102
  #2   Spotlight this post!  
Unread 21-02-2010, 13:33
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,753
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Camera Problems (with latest WPILib update)

You have the latest version of WPILib, but an older version of the cRIO image. You need to install v20 on the cRIO.

Greg McKaskle
  #3   Spotlight this post!  
Unread 21-02-2010, 13:36
Teched3 Teched3 is offline
Hodge1
FRC #0175 (BuzzRobotics)
Team Role: Mentor
 
Join Date: Apr 2006
Rookie Year: 1996
Location: Connecticut
Posts: 319
Teched3 has much to be proud ofTeched3 has much to be proud ofTeched3 has much to be proud ofTeched3 has much to be proud ofTeched3 has much to be proud ofTeched3 has much to be proud ofTeched3 has much to be proud ofTeched3 has much to be proud ofTeched3 has much to be proud of
Smile Re: Camera Problems (with latest WPILib update)

Here is a link to a thread that speaks to using the M1011 camera replacement.

http://www.chiefdelphi.com/forums/sh...ad.php?t=81945

It also contains a link to another thread that discusses updating the camera code to accommodate the M1011 substitution.
__________________
Sweat the details
Why is there never enough time to do it right, but always enough time to do it again!
Even if you're on the right track, if you sit still, you'll get run over!!!
  #4   Spotlight this post!  
Unread 21-02-2010, 15:10
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,753
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Camera Problems (with latest WPILib update)

I don't know of any library changes needed for using the other camera.

Greg McKaskle
  #5   Spotlight this post!  
Unread 22-02-2010, 20:10
TheSorc3r3r TheSorc3r3r is offline
Registered User
FRC #0102
 
Join Date: Mar 2009
Location: Somerville, NJ
Posts: 3
TheSorc3r3r is an unknown quantity at this point
Re: Camera Problems (with latest WPILib update)

We updated to v20 and it still doesn't work.
Closed Thread


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with required software update eugenebrooks Programming 0 14-02-2009 00:50
Problems with the Axis Camera popo308 FRC Control System 16 15-01-2009 19:38
PROBLEMS WITH THE CAMERA RDD Programming 2 18-02-2007 15:12
Please help me with my Camera problems! Ianuser Programming 2 10-02-2007 21:17
again, problems with the camera razer Programming 4 02-02-2007 11:50


All times are GMT -5. The time now is 23:12.

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