Go to Post I'd like to think that I'm at least a sometimes useful mentor. - artdutra04 [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 17-01-2009, 08:09
Comatose Comatose is offline
Registered User
AKA: Lead Student Programmer
FRC #0135 (Penn Robotics)
Team Role: Programmer
 
Join Date: Sep 2008
Rookie Year: 2008
Location: United States of America
Posts: 27
Comatose is an unknown quantity at this point
Save code to Driver Station

We heard somewhere that you could save code onto the driver station so a host computer wouldn't be needed at competitions. Is this true? If so, how do you save it to the drive station.
  #2   Spotlight this post!  
Unread 17-01-2009, 08:47
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,752
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: Save code to Driver Station

You definitely can make code run at boot time. How to do it differs depending on the programming tool. Look for phrases like deployment or deploying code in the tutorials.

Greg McKaskle
  #3   Spotlight this post!  
Unread 17-01-2009, 09:52
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: Save code to Driver Station

What you need to do is open up the "Targets" collapsible in the Project Window (all the files, targets, etc) and right click on it and set it to be the "start up" program.

keehun
Team 2502
__________________
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)
  #4   Spotlight this post!  
Unread 17-01-2009, 12:15
MikeDubreuil's Avatar
MikeDubreuil MikeDubreuil is offline
Carpe diem
FRC #0125 (Nu-Trons)
Team Role: Engineer
 
Join Date: Jan 2003
Rookie Year: 1999
Location: Boston, MA
Posts: 967
MikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond repute
Send a message via AIM to MikeDubreuil
Re: Save code to Driver Station

Quote:
Originally Posted by Comatose View Post
We heard somewhere that you could save code onto the driver station so a host computer wouldn't be needed at competitions. Is this true? If so, how do you save it to the drive station.
It's important to note that you can not save code onto the Driver Station. You can however, update the firmware on the Driver Station. See the Software Update section on the FIRST website for more info.

You can download your own modified code to the cRIO. When downloading code to the cRIO for permanent use, without the need for a laptop to run the executable, the term used is "deploying."
__________________
"FIRST is like bling bling for the brain." - Woodie Flowers
  #5   Spotlight this post!  
Unread 17-01-2009, 14:41
Alexa Stott's Avatar
Alexa Stott Alexa Stott is offline
All I do is twin.
AKA: elixir
FRC #0025 (Raider Robotix)
Team Role: College Student
 
Join Date: Oct 2005
Rookie Year: 2006
Location: No. Bruns., NJ/College Park, MD
Posts: 781
Alexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond repute
Send a message via AIM to Alexa Stott
Re: Save code to Driver Station

In WindRiver, you can deploy the code by going to FIRST-->Download. A status bar should display. Once the code is deployed, you must restart the cRIO.
__________________
|Email:alexastott[at]gmail.com|Facebook|@zelixir|Google+|
[University of Maryland Computer Science, Psychology]
[Brunswick Eruption]
  #6   Spotlight this post!  
Unread 17-01-2009, 18:48
Mikesername's Avatar
Mikesername Mikesername is offline
meh.
AKA: Mike Dame
FRC #3044 (Team 0xBE4)
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Ballston Spa, NY
Posts: 32
Mikesername is an unknown quantity at this point
Send a message via AIM to Mikesername
Re: Save code to Driver Station

Don't know if this is what you need, but here's a problem my team solved today with the help of someone who worked with the controller (or something like, that...)

Anyway, don't just deploy the VI. That just stores it in your cRIO's RAM. What you need to do is, in project explorer, click "Build Specifications" at the bottom and then right click FRC Basic Robot Deployment. Next, click "Build". When that's done click "Deploy". Then once that's done, click "Run as startup".

After this we had some trouble getting the lights on our Jaguars to stop blinking but we fixed it by unhooking the computer (we were hard-wired in) and flipping the driver station from autonomous to teleop once or twice (that sometimes catches it).

After that we tested it by rebooting and it worked.
__________________




[ ballston spa robotics | www.team3044.com | team BE4]
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
Driver Station Update ExarKun666 FRC Control System 8 15-01-2009 10:39
Driver Station Login Mr-Shutter FRC Control System 2 12-01-2009 23:36
2nd Driver Station bcharbonneau General Forum 2 09-01-2009 14:19
Driver Station Help.. 1708xMr.Roboto FRC Control System 8 22-12-2008 15:24
Driver Station Setup?? Team 1708 Dave Programming 9 19-12-2008 23:09


All times are GMT -5. The time now is 05:56.

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