Developing Homework Assignments

Development Instructions

You will run ROS within docker containers started by dts devel run. You need to be in the root (base directory) of your git repo to run this. Start the container using this command:

$ dts devel run -M --cmd bash

You will have to source your environment and possibly rebuild (if adding packages/message types/services) using these commands:

$ source /code/catkin_ws/devel/setup.bash
$ catkin build
$ source /code/catkin_ws/devel/setup.bash

Attach additional terminals using this command:

$ dts devel run attach

Or use the dts tools (note, this will only let you run one terminal)

$ dts start_gui_tools

Submit to GitHub

  1. Check which files changed:
    $ git status
  2. Add them to this staged commit:
    $ git add <files>
  3. Make the commit
    $ git commit -m <message>
  4. Push it to your repo on GitHub:
    $ git push
  5. Tag it with something like “hw2”:
    $ git tag <tag_name>
  6. Push the tag to GitHub:
    $ git push origin <tag_name>
  7. Verify on that your submission is there, in the correct tag.

Submit to Blackboard

A PDF containing:

  • Your name
  • The URL of your git repo
  • The tag for this assignment
  • Instructions for running your code, usually in the form of:
    roslaunch <package> <launch_file>
  • Answers to any questions in the assignment.