Go to Post As part of this test phase, I would expect to see Aidan sleeping on the job for most of the upcoming season. :) - dlavery [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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 14-02-2010, 10:17
frenchie4111 frenchie4111 is offline
Registered User
None #1111
 
Join Date: Jan 2010
Location: Southriver
Posts: 23
frenchie4111 is an unknown quantity at this point
After 4.1/4.2 update

Ok we updated with the 4.1 then 4.2 update and it seemed to change all of our Camera stuff. So we got it to stop giving us compiling errors but now when we upload to the cRio it gives us NO ROBOT CODE errors.
__________________
[url="http://mylifeisnerdy.co.cc"]My Life Is NerdyURL]

Last edited by frenchie4111 : 14-02-2010 at 11:19. Reason: ALSO THE GAME
Reply With Quote
  #2   Spotlight this post!  
Unread 14-02-2010, 11:47
KRibordy KRibordy is offline
Registered User
FRC #1000 (Cybearcats)
Team Role: Mentor
 
Join Date: Mar 2008
Rookie Year: 2006
Location: Valparaiso, IN
Posts: 36
KRibordy is an unknown quantity at this point
Re: Camera After 4.1/4.2 update

We also had errors with the camera after updating. We changed all of the function names to the camel case as specified, but the robot displayed a "no code" error after downloading. Commenting out all references to the camera fixed the problem.

My guess is that there's an include missing somewhere; we had gotten the "no code" error before when we forgot to include the target.cpp file in the build target.

Hopefully, they'll release an update soon for this; we're getting down to crunch time here...
Reply With Quote
  #3   Spotlight this post!  
Unread 14-02-2010, 11:52
frenchie4111 frenchie4111 is offline
Registered User
None #1111
 
Join Date: Jan 2010
Location: Southriver
Posts: 23
frenchie4111 is an unknown quantity at this point
Re: Camera After 4.1/4.2 update

Quote:
Originally Posted by KRibordy View Post
We also had errors with the camera after updating. We changed all of the function names to the camel case as specified, but the robot displayed a "no code" error after downloading. Commenting out all references to the camera fixed the problem.

My guess is that there's an include missing somewhere; we had gotten the "no code" error before when we forgot to include the target.cpp file in the build target.

Hopefully, they'll release an update soon for this; we're getting down to crunch time here...
Yes we did the same exact thing. And recieved the same exact problem....
__________________
[url="http://mylifeisnerdy.co.cc"]My Life Is NerdyURL]

Last edited by frenchie4111 : 14-02-2010 at 13:53. Reason: ALSO THE GAME
Reply With Quote
  #4   Spotlight this post!  
Unread 14-02-2010, 12:13
bronxbomber92 bronxbomber92 is offline
Registered User
FRC #1551 (Grapes of Wrath)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Naples
Posts: 75
bronxbomber92 is an unknown quantity at this point
Re: Camera After 4.1/4.2 update

I had the same problem, and doing a clean + build fixed all of my issues.
Reply With Quote
  #5   Spotlight this post!  
Unread 14-02-2010, 13:53
frenchie4111 frenchie4111 is offline
Registered User
None #1111
 
Join Date: Jan 2010
Location: Southriver
Posts: 23
frenchie4111 is an unknown quantity at this point
Re: Camera After 4.1/4.2 update

We updated cRio image to v20 along with DS to the newest update.

Then we did a "clean build" and still got the same errors as before.

NOTE: We only get the error when we have camera code in the program
__________________
[url="http://mylifeisnerdy.co.cc"]My Life Is NerdyURL]

Last edited by frenchie4111 : 14-02-2010 at 13:53. Reason: ALSO THE GAME
Reply With Quote
  #6   Spotlight this post!  
Unread 14-02-2010, 14:42
frenchie4111 frenchie4111 is offline
Registered User
None #1111
 
Join Date: Jan 2010
Location: Southriver
Posts: 23
frenchie4111 is an unknown quantity at this point
Re: Camera After 4.1/4.2 update

Quote:
Originally Posted by bronxbomber92 View Post
I had the same problem, and doing a clean + build fixed all of my issues.
Can you please Clarify what you mean by "clean + build"
__________________
[url="http://mylifeisnerdy.co.cc"]My Life Is NerdyURL]
Reply With Quote
  #7   Spotlight this post!  
Unread 15-02-2010, 18:06
mello bot mello bot is offline
Registered User
FRC #0384
 
Join Date: Jan 2010
Location: Henrici, VA
Posts: 2
mello bot is an unknown quantity at this point
Angry Re: Camera After 4.1/4.2 update

we've had the same problem. we have updated the DS and v20 firmware, but the "no robot code" error still comes up
the error is the camera, as the other code/.out files work.

thanks
-Mello Bot
Reply With Quote
  #8   Spotlight this post!  
Unread 15-02-2010, 18:36
Smith92 Smith92 is offline
Registered User
FRC #3271
 
Join Date: Feb 2010
Location: Ventura CA
Posts: 1
Smith92 is an unknown quantity at this point
Re: Camera After 4.1/4.2 update

Same exact problems for us. Cleaning and rebuilding did not help.
Reply With Quote
  #9   Spotlight this post!  
Unread 16-02-2010, 09:24
Mike Mahar Mike Mahar is offline
Registered User
FRC #0138
 
Join Date: Jan 2007
Location: Amherst, NH
Posts: 64
Mike Mahar will become famous soon enough
Re: Camera After 4.1/4.2 update

We are running with the latest v20 update and the latest WPILIB. The WPILIB that is the current release, the one label Feb 8th, does not work if you have camera code. The release before it (Feb 3rd) does not work if you are using DriverStationLCD. If, however, you sign up for firstforge.wpi.edu, you can download the latest source for the WPILIB. Make sure you have subversion installed on your development PC. Once you have downloaded the sources, you can build them from Workbench. There is a script in the scripts section that will update the default library for your project build. Just double click on it.

If you don't make any changes to the WPILIB, you will get the kLineLength error that you get with the Feb 3rd version of the library. To fix that problem, we edited DriverStationLCD.h to move the const declaration of kLineLength out of the class declaration and put it on the line before class declaration.

If you build the WPILIB it will build a version the behaves like the Feb 8th version. The fix for that is to clean build of the whole WPILIB. This library works well for us. Even with the v20 Mandatory update of LabView.

I don't know why WPI has not updated their copy of the library. It has been over a week since people reported that it doesn't work.
Reply With Quote
  #10   Spotlight this post!  
Unread 16-02-2010, 16:14
mello bot mello bot is offline
Registered User
FRC #0384
 
Join Date: Jan 2010
Location: Henrici, VA
Posts: 2
mello bot is an unknown quantity at this point
Re: Camera After 4.1/4.2 update

We've had the exact same problem as everyon else, however we dont recieve any error messages of any sort. pls reply
- mello bot
Reply With Quote
  #11   Spotlight this post!  
Unread 16-02-2010, 17:33
frenchie4111 frenchie4111 is offline
Registered User
None #1111
 
Join Date: Jan 2010
Location: Southriver
Posts: 23
frenchie4111 is an unknown quantity at this point
Re: Camera After 4.1/4.2 update

So as of now, First has still not fixed the huge probelm we are having with running both Camera code and DsLCD code at the same time with the v20 update.
__________________
[url="http://mylifeisnerdy.co.cc"]My Life Is NerdyURL]
Reply With Quote
  #12   Spotlight this post!  
Unread 27-02-2010, 17:49
stevethetinker stevethetinker is offline
Registered User
FRC #1288 (RAVEN)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2004
Location: St. Charles, MO
Posts: 35
stevethetinker is an unknown quantity at this point
Re: Camera After 4.1/4.2 update

I got the 4.1 source for reference and now because of the info in this thread I have tried to build it. It doesn't build; I get errors:

process_begin: CreateProcess((null), svnversion -n .., ...) failed

What is really odd about this is that the 2010ImageDemo loads, but our robot code does not. The error is that AxisCamera::GetInstance is undefined. Both projects are linked to the same WPILib.a, last update (not the last Windriver update, but a later wpilib update, 4.1 from the firstforge site which a post somewhere informed me includes 4.2.)
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Camera not tracking after DS Update spooncwru FRC Control System 0 12-02-2010 10:04
Should I update Labview after installation? TonyP NI LabVIEW 2 31-01-2010 16:56
IterativeDemo Gone after update mandrews281 C/C++ 1 14-01-2010 10:43
No outputs after image update gwytheyrn FRC Control System 2 25-02-2009 00:11
Problems after the update?? Straberrie Programming 2 17-02-2009 07:11


All times are GMT -5. The time now is 03:26.

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