Follow these steps carefully to set up and use the scripts in this repository.
Note: Currently supported on Windows only. Mac support is planned for the future.
- Click the green Code button on this page.
- Choose Download ZIP from the dropdown.
- Extract the files using Windows' built-in utility, 7-Zip, or WinRAR.
- Open Windows PowerShell (search for it in the Start menu).
- Type:
python
- If Python is not installed, this may open the Microsoft Store.
- You can also download Python directly from the official website: python.org.
- Install the latest version and wait for the setup to finish.
If you already have Python installed, you can skip this step, but we recommend updating to the latest version.
Pip is Python’s package manager, needed for installing extra libraries.
- In File Explorer, navigate to the folder containing the file
get-pip.py
(included in this repository). - Right-click inside the folder and choose Open in Terminal.
- Run:
python get-pip.py
- Wait for the installation to complete.
The scripts require micromelon
and keyboard
.
Install them by running:
python -m pip install micromelon keyboard
- Navigate to the folder containing the script you want to run (e.g.,
drive.py
orsim.py
). - Right-click in the folder and choose Open in Terminal.
- Run the script with:
Replace
python drive.py
drive.py
with any other script name (e.g.,sim.py
).
If everything is installed correctly, your MicroMelon rover should now be ready to connect and run with these scripts.