Go to Post The competition is over, I have no other FIRST-related activities to pursue–WHAT ELSE AM I GOING TO DO WITH MY LIFE BUT BROWSE CHIEF DELPHI UNTIL JANUARY???? - David8696 [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 30-10-2008, 15:53
NetSkay NetSkay is offline
Registered User
FRC #1793
 
Join Date: Oct 2008
Location: Norfolk, VA
Posts: 6
NetSkay is an unknown quantity at this point
uploading source onto cRIO?!

im not new to programming, but im new to robotics programming... so in my guess its a matter of learning the technique, not the syntax and structure...
this year i know there will be major changes, aka the cRIO controller, what leaves me in the shadow is that, say i use any IDE i want, or the supplied IDE, how will i upload the compiled code to the cRIO, i know for the previous controllers a IFI_Loader application tool was used to transmit the data over serial port, but what about this year?!
i guess the CDs that FIRST ships will have both graphic adn text based programming options, hopefully...
but we're left speculating, atleast thats my impression so far

yea yea yea i know there is labview, but this is not programming, this is, i cant even name it, turning a FRC into a lego mindstorm kit, no thnx... and since im the only programmer ill take the advatage of a text-based programming...

thank you
  #2   Spotlight this post!  
Unread 30-10-2008, 17:23
AustinSchuh AustinSchuh is offline
Registered User
FRC #0971 (Spartan Robotics) #254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Feb 2005
Rookie Year: 1999
Location: Los Altos, CA
Posts: 803
AustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond repute
Re: uploading source onto cRIO?!

From what I understand, downloading to the robot currently involves FTPing your compiled code to it. That may change to add some security, but it shouldn't change too much.
  #3   Spotlight this post!  
Unread 30-10-2008, 17:26
NetSkay NetSkay is offline
Registered User
FRC #1793
 
Join Date: Oct 2008
Location: Norfolk, VA
Posts: 6
NetSkay is an unknown quantity at this point
Re: uploading source onto cRIO?!

and they'll ship libraries and such with the CDs that come with the controller for textual C++ programming, atleast thats what FIRST has done in the past, right?!
  #4   Spotlight this post!  
Unread 30-10-2008, 19:01
Roboj Roboj is offline
Registered User
no team (National Instruments)
 
Join Date: Apr 2008
Rookie Year: 2007
Location: Austin, TX
Posts: 15
Roboj is an unknown quantity at this point
Re: uploading source onto cRIO?!

The beta teams have the controllers and are working with both environments. They are anxious to answer all of the questions you have so I'd suggest starting here:

http://forums.usfirst.org/forumdisplay.php?f=743

You will get both programming environments. They both have full download utilities to get your code onto the robot and it doesn't require FTP unless you want to do it that way. The IDEs themselves have a "run" button inside them that will compile your code, automatically download it over wireless, and start it going.
  #5   Spotlight this post!  
Unread 19-11-2008, 08:59
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: uploading source onto cRIO?!

There are two ways to download into the cRio. Both of them seem to require you to plug your computer into the operator's console Using an ethiernet connector. When you are debugging, there are some setup options in Workbench that tells workbench where your cRio is on the network. You will be assigned an IP address for your controller. example: 10.1.38.2 for team 138. Once this is set up, the downloading is done from Workbench with a single button push.
That down loads your program into RAM. YOUR PROGRAM WILL BE LOST IF YOU POWER DOWN THE CRIO.

The second method is for competition. The cRio has a 150 Meg flash drive built in. There is a magic filename that is automatically booted when the cRio powers up. There is a menu item that "Deploys" your program. What that does is basically ftp your program to that magic file. If you don't do this, your robot will just sit there when you power up.

I don't know if the debugger works with a "deployed" program. If it does, than teams should just always deploy. If it doesn't allow debugging with a deployed program, than teams will have to develop some discipline like checking that the robots boots before going out to the playing field.
  #6   Spotlight this post!  
Unread 13-01-2012, 19:41
leeboy1312 leeboy1312 is offline
Registered User
FRC #4021
 
Join Date: Jan 2012
Location: Onalaska luther
Posts: 4
leeboy1312 is an unknown quantity at this point
Re: uploading source onto cRIO?!

I am uploading the program through netbeans and it is saying there is any error build.xml:96 and at upgrade.xml:40 what should i do?
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
Uploading Old Code G1279 Programming 1 12-01-2008 22:35
Loading Code Onto 2005 RC chris31 Programming 13 08-11-2006 07:45
how to mount a lcd display onto a robot mechanicalbrain Electrical 9 07-09-2005 20:57
Problems Uploading to Streamline Scott Ritchie 3D Animation and Competition 24 28-02-2005 00:46
sketching onto revolved surface ajlapp Inventor 3 05-01-2005 23:14


All times are GMT -5. The time now is 19:29.

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