Closed fgrossman closed 1 year ago
After discussion the conclusion was that whenever the user clicks on the "Execute Code" button make sure the file has been saved to the XRP and modify main.py to load and execute that file.
This way if the robot is started while not attached to the computer it will run the last program that was tested with the "Execute Code" button
We need a user friendly way for the person to say run this program when the robot is not attached to the computer. And when the next person does that we shouldn't loose any programs. Easiest might be to have a button that copies the current program to main.py.