|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
Re: Get code from cRIO
Quote:
Off topic, but if you use the two interpreted languages available, Python and Lua, you could ftp the code off ![]() |
|
#2
|
|||
|
|||
|
Re: Get code from cRIO
Quote:
True, we are operating off the assumption that the OP did not use either of those languages. If it is incorrect and you DID use one of those the process Adam described above would work. As for more details on SCM... the thread http://www.chiefdelphi.com/forums/sh....php?p=1073528 has a small discussion on it. I can tell you when I start a project the first command I type is "git init" depending on what I'm doing I do I then push to a remote server (github usually). Works great for hw assignments too. |
|
#3
|
||||
|
||||
|
Re: Get code from cRIO
Well, if you just want to upload new code to try it out and then put the old code back on, you can just grab startup.rtexe off of it (I don't know if startup.alias is needed.)
|
|
#4
|
||||
|
||||
|
Re: Get code from cRIO
Creating a zip file of the folder of your code and uploading it to a folder on your teams website is another easy way to back up your code.
bobl, though I feel for your loss having done the same thing my self, this is a great opportunity to review coding in Java before the season starts. Not that saves you any time, but it is an awesome learning experience |
|
#5
|
||||
|
||||
|
Re: Get code from cRIO
Slow your horses people. If you really really really want your code (and provided its in c++ or another one of the mentioned languages) You can "Somewhat" get the code from the cRIO. You can ftp and fecth the FRC_UserProgram.out file from the /ni-rt/system/ directory. This code can be be then decompiled using a tool such as ollydebug. This technique should be reserved for times when the amount of work to recreate what ever the old coder made is greater than about 10000000000000000 hours
![]() |
|
#6
|
||||
|
||||
|
Re: Get code from cRIO
Quote:
|
|
#7
|
||||||
|
||||||
|
Re: Get code from cRIO
Quote:
Another option would be to use ftp to upload it to your robot. |
|
#8
|
||||
|
||||
|
Re: Get code from cRIO
Great idea! Also, let's put a compiler and an AI on it so it'll write its own code.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|