I do all of my coding on a school-issued Chromebook, and yesterday my school decided that it would be a good idea to wipe everyone’s files. I’ve lost all of my code on my computer, but I had just gotten back from a competition so I had all of the code uploaded to the robot. I was wondering if there was any way to get the code from the robot back onto the computer somehow.
No way to get it in a human usable form from Brain to laptop.
Moving forward, make sure copy of code in cloud storage - life happens
One way that our team transports/keeps code is by emailing it to each other. I’m guessing it’s easier than working with cloud storage (I have not worked with cloud before when it comes to code) and our note booker or coders can open the code on any device or account as long as they have access to the email this will probably prevent your school from deleting any code again too.
Just curious — what form is the program in from Brain to Laptop?
(to be honest rewriting the code is probably easier than reverse engineering whatever the Brain has)
Generally, if it is compiled code, for example, c++, it will go through several steps which will result in a binary for readable by the Brain. I am not sure what goes on with Python, I think James Pearman posted details on the forum as others have faced similar situations.
Actually, emailing copies around is more complex then using a service like Google Drive. For code collaboration, GitHub is probably much better in the long run.
(Inserts importance of documenting your process and code in Engineering Notebook here)