Magoo
work in progress
A way to automate interaction with the SpaceX iss-sim, https://iss-sim.spacex.com/
Presentation I created for this application.
Edit window for your bot script
Includes live reload of the bot script (hit start bot)
Popup window with the current exposed values\
Edit your script in your favorite text editor
Copy and paste your script into the 'Edit script' window
Click run bot to load your newly pasted script.
Any errors in the script will be printed to stdout.
python -m venv venv
. venv/bin/activate
pip install -r requirements.txt
python ./magoo.py
To run the iss-sim
- run magoo
- click begin in the middle of the screen to start the simulation
- click 'Create Bot' at the top right hand corner to create the python bot.
- click 'Run Bot' to start running the bots main thread
Todo:
- Add a save of the bot script
- Add tabs with selections to run a different bot and values
- Finish the ISS-Sim bot so it actually docks with the space station.
Create a reload of the original bot scriptAllow for live reload of the bot scriptCreate an edit window for the bot scriptLive update the exposed variablesCreate a window to display the current exposed variablesExpose actions for use by the botExpose variables for use by the botGenerate a simple bot to start piloting the space craft
References:
Packages I needed to install on debian
sudo apt-get install libcairo2-dev libgirepository1.0-dev libgtk-3-0 libgtk-3-0-dev libgtk3.0-cil libgtk3.0-cil-dev python3-gi gobject-introspection gir1.2-gtk-3.0 gir1.2-webkit2-4.0 libwebkit2gtk-4.0-37 libwebkit2gtk-4.0-dev webkit2gtk-driver libwebkit2gtk-4.0-doc