Go to Post When a team is a team, anything is possible - Bharat Nain [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 15-01-2010, 21:39
unobtainium-42's Avatar
unobtainium-42 unobtainium-42 is offline
Team President
AKA: Eric Eaton
FRC #0670 (Homestead Robotics Team)
Team Role: Engineer
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Sunnyvale, CA
Posts: 24
unobtainium-42 is an unknown quantity at this point
The download it does nothing

I was pleasantly surprised this year to find that WindRiver (seems to) be working properly. I have some problems that might/might not be related to Wind River.

The sample projects and my alterations compile and the FRC downloader seems properly configured with team number & .out file. When I use download it seems to finish successfully. But when I reset the robot, the code hasn't changed. Any idea why it would do that?

I have also properly configured the camera and connected it to the cRIO but the little yellow light on the Ethernet port does not blink and nothing shows up on-screen. Does the robot code need to activate the camera somehow? If so, the previous problem would keep me from finding out. I know almost nothing about the camera and my teammates want it to align the robot for this year's game

Also, why does the Camera to dashboard example not produce a .out file?

Last edited by unobtainium-42 : 15-01-2010 at 21:42.
Reply With Quote
  #2   Spotlight this post!  
Unread 16-01-2010, 02:07
bradleat bradleat is offline
Registered User
FRC #1414
 
Join Date: Jan 2010
Location: Atlanta
Posts: 11
bradleat is an unknown quantity at this point
Re: The download it does nothing

I have some of these same problems, although I cannot debug anything either. But some builds don't produce a .out file and the FIRST downloader does nothing. I am going to try a different computer soon
Reply With Quote
  #3   Spotlight this post!  
Unread 16-01-2010, 02:15
keehun's Avatar
keehun keehun is offline
Team Captain
AKA: Keehun Nam
FRC #2502 (EP Robotics)
Team Role: Leadership
 
Join Date: May 2008
Rookie Year: 2008
Location: Eden Priaire
Posts: 474
keehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond repute
Send a message via AIM to keehun
Re: The download it does nothing

It took me a very very long time and the setup seems to be very fragile, at least to me. For like the first couple hours of hair-pulling, I realized that it was "Downloading To" a localhost connection that you can see in the lower-left corner. I honestly can't recall what fixed it but your first try may be to remove that localhost connection and only have the robot connection. I will try to look in to it more.
__________________
For by grace you have been saved through faith, and that not of yourselves; it is the gift of God, not of works, lest anyone should boast. -- Ephesians 2:8-9
2010: Quarter Finalist (MN 10,000 Lakes)
2010: Website Award (MN 10,000 Lakes)
2009: Quarter Finalist (MN 10,000 Lakes)
2009: GM Industrial Award (MN 10,000 Lakes)
Reply With Quote
  #4   Spotlight this post!  
Unread 16-01-2010, 17:54
unobtainium-42's Avatar
unobtainium-42 unobtainium-42 is offline
Team President
AKA: Eric Eaton
FRC #0670 (Homestead Robotics Team)
Team Role: Engineer
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Sunnyvale, CA
Posts: 24
unobtainium-42 is an unknown quantity at this point
Re: The download it does nothing

I deleted the Local Host but it didn't fix the problem. I did some more work today that seemed to confirm the download wasn't working. I tried to use the Run and Debug configurations, but they terminated instantly and the Robot Code light turned red. Interestingly, when I ran the debugger for one project it stopped in a different one

I agree, the setup is very fragile. Why is it that every year I have to jump through dozens of hoops just to get this thing to work? Is this some sort of plot by the GDC?
Reply With Quote
  #5   Spotlight this post!  
Unread 16-01-2010, 17:57
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: The download it does nothing

Did you set up the Remote System as per the C programming Manual? http://first.wpi.edu/Images/CMS/Firs...artedWithC.pdf
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
Reply With Quote
  #6   Spotlight this post!  
Unread 16-01-2010, 19:34
garyk garyk is offline
Programming Mentor: 668, 972, 2643
FRC #0668 (Apes of Wrath)
Team Role: Mentor
 
Join Date: Dec 2006
Rookie Year: 2005
Location: Santa Clara (Silicon Valley) Calif.
Posts: 89
garyk is a jewel in the roughgaryk is a jewel in the roughgaryk is a jewel in the roughgaryk is a jewel in the rough
Re: The download it does nothing

Quote:
Originally Posted by unobtainium-42 View Post
I was pleasantly surprised this year to find that WindRiver (seems to) be working properly. I have some problems that might/might not be related to Wind River.

The sample projects and my alterations compile and the FRC downloader seems properly configured with team number & .out file. When I use download it seems to finish successfully. But when I reset the robot, the code hasn't changed. Any idea why it would do that?

I have also properly configured the camera and connected it to the cRIO but the little yellow light on the Ethernet port does not blink and nothing shows up on-screen. Does the robot code need to activate the camera somehow? If so, the previous problem would keep me from finding out. I know almost nothing about the camera and my teammates want it to align the robot for this year's game

Also, why does the Camera to dashboard example not produce a .out file?
Make sure you are downloading the correct *.out file - if you are downloading the same (wrong) one, the symptom will be that the code never changes.

Please see http://www.chiefdelphi.com/forums/sh...0&postcount=19 and scroll down to "But, we're not done" to be sure you are getting the correct file.
__________________

Silicon Valley Regional 2005, 2006 972
Silicon Valley Regional 2007 668 Xerox Creativity Award
Championship Event 2007 668
Portland Regional 2008 668
Silicon Valley Regional 2008 668, 972
Beta Test Team 2008 668 (with 100 & 254)
Silicon Valley Regional 2009 668 Regional Chairman's Award; 2643
Sacramento Regional 2009 668 Winning Alliance (thanks, 1717 & 2473!), 2010 Winning Alliance 3256
CalGames 2006, 2007, 2008, 2009, 2010, 2011 Field Tech
NorCal FTC Regional 2008, 2009 Inspector
Championship Event 2009
San Diego, Silicon Valley Regionals; Champ. Event 2010 668, 2643, 3256
Silicon Valley, Madera Regional 2012 2643
WRRF Programming Instructor 2006-2016
Regional Woodie Flowers Award 2014 2643 Utah Regional

Reply With Quote
  #7   Spotlight this post!  
Unread 16-01-2010, 23:00
unobtainium-42's Avatar
unobtainium-42 unobtainium-42 is offline
Team President
AKA: Eric Eaton
FRC #0670 (Homestead Robotics Team)
Team Role: Engineer
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Sunnyvale, CA
Posts: 24
unobtainium-42 is an unknown quantity at this point
Re: The download it does nothing

It was worth a check. Yes, the file path is correct.

Run still does nothing.

I re-imaged the cRIO again and it has no robot code. Let's see if I can change that.
Reply With Quote
  #8   Spotlight this post!  
Unread 16-01-2010, 23:32
unobtainium-42's Avatar
unobtainium-42 unobtainium-42 is offline
Team President
AKA: Eric Eaton
FRC #0670 (Homestead Robotics Team)
Team Role: Engineer
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Sunnyvale, CA
Posts: 24
unobtainium-42 is an unknown quantity at this point
Re: The download it does nothing

I used the C:/windriver workspace with only one project and it works. Auto-completion also started working. Before, I was using a workspace on the D:/ drive.

Run/Debug still halt instantly. Here's the trace from the Console Out:


Code:
Break at 0x0219d2c4: FRC_UserProgram_StartupLibraryInit   Task: 0x2217cf8 (tFRC_
UserProgram_StartupLibraryInit)
WPILib was compiled from SVN revision 2069
task 0x218a5c0 (FRC_DriverStation) deleted: errno=0 (0) status=0 (0)
task 0x1d62d08 (FRC_RobotTask) deleted: errno=0 (0) status=0 (0)
!!!   Error: Default code was still running... It was unloaded for you... Please
 try again.
task 0x2217cf8 (tFRC_UserProgram_StartupLibraryInit) deleted: errno=0 (0) status
=0 (0)
Using "Undeploy" first did nothing. What's going on?
Reply With Quote
  #9   Spotlight this post!  
Unread 17-01-2010, 09:36
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: The download it does nothing

Quote:
Error: Default code was still running... It was unloaded for you... Please
try again
Did you reboot? there is code running, but you need to reboot between sessions
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
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
Connecting to cRio, getting the jaguars to go solid yellow.... then nothing. DSST\neal.ian FRC Control System 11 30-01-2009 18:15
The Nothing Thread whytheheckme Games/Trivia 76 08-03-2008 20:20
The brick clicks, nothing else JoeXIII'007 Lego Mindstorm Discussion 3 08-11-2006 18:57
Gaah! Nothing for the animation people! Chris Nowak 3D Animation and Competition 18 05-02-2003 00:22


All times are GMT -5. The time now is 11:59.

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