This repository contains a docker setup for running CS 4501 Robotics for Software Engineers labs. With this setup, users can access GUI applications such as rviz
and rqt
using their browser. It also uses a docker volume to store the lab code, so users can edit the lab code on their host machine using their IDE of choice.
You must have Docker and Docker Compose installed.
- Clone this repo
git clone [email protected]:brian-yu/cs4501-robotics-docker.git
cd cs4501-robotics-docker
- Clone the class repo, this will allow Docker to find it while running
git clone https://github.com/less-lab-uva/CS4501-Labs.git
docker-compose up --build
- Go to http://localhost:8080/vnc.html in your browser
- In a new terminal tab:
docker-compose exec ros bash
cd CS4501-Labs/lab4_ws
source /opt/ros/melodic/setup.bash
catkin build
source devel/setup.bash
roslaunch flightcontroller fly.launch
- In another terminal tab:
docker-compose exec ros bash
cd CS4501-Labs/lab4_ws
source devel/setup.bash
rviz