mirror of
https://github.com/EECS-467-W20-RRRobot-Project/RRRobot.git
synced 2025-08-31 11:23:14 +00:00
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:
10
docker_env/ros-turtlesim/Dockerfile
Normal file
10
docker_env/ros-turtlesim/Dockerfile
Normal 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"]
|
1
docker_env/ros-turtlesim/build.sh
Executable file
1
docker_env/ros-turtlesim/build.sh
Executable file
@@ -0,0 +1 @@
|
||||
docker image build . --rm -t eecs467:rrrobot
|
5
docker_env/ros-turtlesim/run_rrrobot_image.sh
Executable file
5
docker_env/ros-turtlesim/run_rrrobot_image.sh
Executable 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
|
6
docker_env/ros-turtlesim/turtlesim.sh
Executable file
6
docker_env/ros-turtlesim/turtlesim.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
# turtlesim.sh
|
||||
#!/bin/bash
|
||||
|
||||
roscore &
|
||||
rosrun turtlesim turtlesim_node &
|
||||
rosrun turtlesim turtle_teleop_key
|
Reference in New Issue
Block a user