Repository for Pitt RAS' Magellan Team's code.
First Place, 2019 National Robotics Challenge - Autonomous Vehicle Challenge
Code is deployed to the robot as a Docker image. Most actions are automated with the robot.sh
script.
./robot.sh deploy
This will copy and build your current workspace on the NUC. After building it will start execuiting on the NUC after stopping any previous code. A custom launch command can be given through command line arguments after deploy
. After starting, your shell will show stdout/stderr from the NUC. Ctrl+Cing in your shell will not stop the process on the NUC.
./robot.sh start
./robot.sh stop
These start/stop commands will start and stop the last image that has been deployed to the NUC. A custom launch command can be given through command line arguments after start
. After starting, your shell will show stdout/stderr from the NUC. Ctrl+Cing in your shell will not stop the process on the NUC.
./robot.sh watch
"Watching" the console will watch the output of stdout/stderr, while also showing output from before you connected. Ctrl+Cing in your shell will not stop the process on the NUC.
Deployment script configuration is set in robot.env
. ROBOT_IP
and DEFAULT_LAUNCH
set the target system and default command to execute when starting an image. Other parameters like image/container name can be tweaked, but please don't change them on the competition robot without good reason.
Make sure you
- Connected to the PittRAS WiFi network.
- Have Docker installed on your machine (a local daemon does not need to be running)
- Have your SSH key trusted by the NUC (see instructions in the computer-configuration folder)