You will be using a copy of this repo for all development in the class. This repo provides starter code for the ROS subscriptions, publishers and control loops you will be using. Note that for the purposes of this course, this repository depends upon the ut_automata
repository found here: https://github.com/ut-amrl/ut_automata.
Please follow the instructions in the UT AUTOmata reference manual before continuing.
- Make sure you're logged into your GitHub account.
- Create a new repo with the same name under your GitHub account. Don't initialize that with anything, and ensure that it is a private repository.
git clone <this repository url>
(found in the upper right)cd <cloned_repo>
git push --mirror <your new repository url>
- Make sure you are in the home directory of the repository.
- Make sure you have added the path to the cloned directory in your
~/.profile
. make -j
- Make sure you have Docker installed and set up.
- Make sure you are in the root directory of the repository.
- Run
make docker_all
to just compile. - You can run
make docker_shell
to get a shell within the Docker container. The shell will automatically launchroscore
and theut_automata
websocket and simulator inside of atmux
session. Inside the shell, you can compile and run your navigation code and connect using localhost in the web visualization.
For debugging purposes, you can look at the tmux processes at any time by attaching to the session: tmux a -t ROS
. For more information about tmux
, refer to the tmux documentation
5. To shutdown the docker container, run make docker_stop