A simple CLI for interacting with the science station
This assumes that python3 is installed on the system.
- Clone this repo onto the jetson and
cd
into it. python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
You can simply do:
./science.py
The script will ask for the position of the first cup. If the rover has just turned on, then this is 0. If the lazy susan has been moved around before this script is run, then you should input whatever the position was last set to.
Controls
- up/down controls drill arm
- w/s controls drill
- a/d controls the drill cover
- left/right will move the lazy susan by one slot in the corresponding direction