Open-STEM / XRPCode

This is the repository for the full Python/Blockly IDE
GNU General Public License v3.0
0 stars 3 forks source link

Management of main.py #17

Closed fgrossman closed 1 year ago

fgrossman commented 1 year ago

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.

fgrossman commented 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