Splits project into a docker environment folder and source code folder (for development). This change is mostly just renaming and moving files, but there are some changes to the gazebo Dockerfile to include all dependencies required for final development.

This commit is contained in:
Derek Witcpalek
2020-04-03 16:50:47 -04:00
parent 13d2ea9883
commit bf55093420
28 changed files with 87 additions and 33 deletions

View File

@@ -0,0 +1,10 @@
# ROS Turtlesim Dockerfile
# Use official image for ROS Melodic Morenia
FROM ros:melodic
# Install turtlesim dependencies
RUN sudo apt-get update && apt-get install -y \
ros-melodic-ros-tutorials
CMD ["/bin/bash"]

View File

@@ -0,0 +1 @@
docker image build . --rm -t eecs467:rrrobot

View File

@@ -0,0 +1,5 @@
#docker run -i -h rrrobot-env -t eecs467:rrrobot bash
xhost +local:docker #rrrobot-env
docker run -it --rm --privileged --device=/dev/dri:/dev/dri -e DISPLAY=$DISPLAY -v $PWD:/app -v /tmp/.X11-unix:/tmp/.X11-unix -h rrrobot-env eecs467:rrrobot
xhost -local:docker #rrrobot-env

View File

@@ -0,0 +1,6 @@
# turtlesim.sh
#!/bin/bash
roscore &
rosrun turtlesim turtlesim_node &
rosrun turtlesim turtle_teleop_key