Go to Post You can have any color robot you like, so long as it stays that color. So you shouldn't have to worry unless you have a chameleon bot. - Kevin Sevcik [more]
Home
Go Back   Chief Delphi > Technical > Control System
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 17-03-2015, 21:30
ilandprnce ilandprnce is offline
Registered User
FRC #0319 (Big Bad Bob)
Team Role: Programmer
 
Join Date: Dec 2014
Rookie Year: 2008
Location: Alton
Posts: 4
ilandprnce is an unknown quantity at this point
[Question] Retrieving code from the RoboRIO

Recently our Laptop died on very short notice, and we have a competition on Saturday. We are currently using an SATA to USB adapter to attempt to recover the code from the HDD, but have hit a few minor roadblocks that are being dealt with.

However for future reference:
Quote:
Is there any way to essentially pull the code from the RIO itself using the NI Browser utility or are our current efforts sufficient?
Reply With Quote
  #2   Spotlight this post!  
Unread 17-03-2015, 21:35
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,182
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: [Question] Retrieving code from the RoboRIO

You can scp the compiled binary off the robot for backup, but there isn't a way to get your source code from the robot. The binary is located at /home/lvuser/FRCUserProgram(.jar)
Reply With Quote
  #3   Spotlight this post!  
Unread 17-03-2015, 21:42
Ben Wolsieffer Ben Wolsieffer is offline
Dartmouth 2020
AKA: lopsided98
FRC #2084 (Robots by the C)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Manchester, MA (Hanover, NH)
Posts: 519
Ben Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud of
Re: [Question] Retrieving code from the RoboRIO

If you use Java and you have no other way to get the code back, you could download the compiled binary off the roboRIO, and decompile it. This should be a last resort because there will likely be a lot of work to actually bring the decompiled code to a functioning state and all your comments will be lost.

In the future, you should definitely use some kind of backup system, such as Dropbox or git (there are lots of benefits to using git).
__________________



2016 North Shore District - Semifinalists and Excellence in Engineering Award
2015 Northeastern University District - Semifinalists and Creativity Award
2014 Granite State District - Semifinalists and Innovation in Control Award
2012 Boston Regional - Finalists
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


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

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