Go to Post (Just remember to pack extra warm--when they say the state motto is Live, Freeze, or Die, they're not joking.) - Billfred [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 Rating: Thread Rating: 7 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 29-01-2014, 19:15
jalozinski jalozinski is offline
Registered User
FRC #4787
 
Join Date: Jan 2014
Location: Chicago
Posts: 17
jalozinski is an unknown quantity at this point
How to upload our code to the cRIO?

We have the Driver Station opened and our code prepped. How do we upload the code to the robot? (We're using Netbeans and Java)

IIRC, when we edited and saved the code in Netbeans and recompiled, it would effect the robot, so I think that it had something to do with the plugin. (or netbeans was consistently building to the same filepath and the driver station software was passing it to the cRio, idk)

s
  #2   Spotlight this post!  
Unread 29-01-2014, 19:18
sergioCorral842's Avatar
sergioCorral842 sergioCorral842 is offline
College Student
FRC #0842 (Falcon Robotics)
Team Role: Alumni
 
Join Date: Aug 2011
Rookie Year: 2012
Location: Phoenix, Arizona
Posts: 161
sergioCorral842 is a splendid one to beholdsergioCorral842 is a splendid one to beholdsergioCorral842 is a splendid one to beholdsergioCorral842 is a splendid one to beholdsergioCorral842 is a splendid one to beholdsergioCorral842 is a splendid one to beholdsergioCorral842 is a splendid one to beholdsergioCorral842 is a splendid one to behold
Re: How to upload our code to the cRIO?

Quote:
Originally Posted by jalozinski View Post
We have the Driver Station opened and our code prepped. How do we upload the code to the robot? (We're using Netbeans and Java)

IIRC, when we edited and saved the code in Netbeans and recompiled, it would effect the robot, so I think that it had something to do with the plugin. (or netbeans was consistently building to the same filepath and the driver station software was passing it to the cRio, idk)

s
Pressing the run button (F6) on netbeans should download the new code to the robot, assuming you are connected to the robot properly through wifi or ethernet.
__________________
Team 842 Falcon Robotics: 2011-2015 (President, Head Programmer, Drive Team)
Arizona Regional Winners: 2012-2014 (Thanks 610, 1212, 1726, 3944, 2486, 2403)
Curie Division Semi-Finalists: 2014 (Thanks 1311, 2013, 2928)
Las Vegas Semi-Finalists: 2015 (Thanks 3495, 4415)
Curie Division Quarter-Finalists: 2015 (Thanks 107, 228, 649)

2015 - 2016: Programming, Drive Team, and Strategy Mentor for Team 3187, The Titans

Studying Computer Science- Software Engineering at ASU (Class of 2019)
  #3   Spotlight this post!  
Unread 29-01-2014, 21:10
yash101 yash101 is offline
Curiosity | I have too much of it!
AKA: null
no team
 
Join Date: Oct 2012
Rookie Year: 2012
Location: devnull
Posts: 1,191
yash101 is an unknown quantity at this point
Re: How to upload our code to the cRIO?

Press the play button to debug on the cRIO. I believe there is a deploy button to get the cRIO image downloaded to Flash!
  #4   Spotlight this post!  
Unread 29-01-2014, 22:27
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,600
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: How to upload our code to the cRIO?

I'd recommend reading through the documentation: http://wpilib.screenstepslive.com/s/3120/m/7885
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


All times are GMT -5. The time now is 02:44.

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