Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zcemycl committed Feb 2, 2025
1 parent f59f3e2 commit 2e8f8e4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/containers/docker/ros-docker-wsl/Dockerfile.overall
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ WORKDIR /turtlebot3_ws
# CMD source /root/.bashrc && echo $PATH && roslaunch gazebo_ros empty_world.launch
# CMD cat /root/.bashrc

CMD source /opt/ros/noetic/setup.bash && source /turtlebot3_ws/devel/setup.bash && roslaunch turtlebot3_gazebo turtlebot3_world.launch
# CMD source /opt/ros/noetic/setup.bash && source /turtlebot3_ws/devel/setup.bash && roslaunch turtlebot3_gazebo turtlebot3_world.launch
5 changes: 5 additions & 0 deletions src/containers/docker/ros-docker-wsl/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ services:
dockerfile: Dockerfile.overall
target: tbase
# command: ["roslaunch", "gazebo_ros" , "empty_world.launch"]
command: bash -c 'source /opt/ros/noetic/setup.bash && source /turtlebot3_ws/devel/setup.bash && roslaunch turtlebot3_gazebo turtlebot3_world.launch'
# command: ["source", "/opt/ros/noetic/setup.bash", "&&", "source", "/turtlebot3_ws/devel/setup.bash", "&&", "roslaunch", "turtlebot3_gazeb", "turtlebot3_world.launch"]
# - source /opt/ros/noetic/setup.bash
# - source /turtlebot3_ws/devel/setup.bash
# - roslaunch turtlebot3_gazebo turtlebot3_world.launch
environment:
- NVIDIA_DRIVER_CAPABILITIES=all
- DISPLAY=${DISPLAY}
Expand Down

0 comments on commit 2e8f8e4

Please sign in to comment.