Skip to content

Pitt-RAS/magellan-2018

Repository files navigation

magellan-2018

Repository for Pitt RAS' Magellan Team's code.

Magellan

First Place, 2019 National Robotics Challenge - Autonomous Vehicle Challenge

Deployment Scripts

Code is deployed to the robot as a Docker image. Most actions are automated with the robot.sh script.

Example Uses

Deploying

./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.

Starting/Stopping

./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.

Viewing the console

./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.

Configuration

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.

Help, I can't connect

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)

About

Repository for Pitt RAS' Magellan Team's code.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published