Skip to content

Commit

Permalink
NASA_Challenge_[@xfiderek] Add docker-compose for trick demo (space-r…
Browse files Browse the repository at this point in the history
  • Loading branch information
xfiderek committed Sep 6, 2024
1 parent ee44199 commit 42bd3e4
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions ros_trick/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Copyright 2024 Blazej Fiderek (xfiderek)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

services:
ros_trick_bridge:
container_name: ros_trick_bridge
command: [ "bash", "-c", ". ~/.bashrc && . install/setup.bash && ros2 launch ros_trick_bridge ros_trick_bridge.launch.py" ]
build:
context: .
dockerfile: ros_trick_bridge.Dockerfile
image: ros_trick_bridge:latest
environment:
- DISPLAY=${DISPLAY}
- TERM=${TERM}
- QT_X11_NO_MITSHM=1
network_mode: host
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix

canadarm_ros_trick_demo:
container_name: canadarm_ros_trick_demo
build:
context: .
dockerfile: canadarm_ros_trick_demo.Dockerfile
image: canadarm_ros_trick_demo:latest
network_mode: host
environment:
- DISPLAY=${DISPLAY}
- TERM=${TERM}
- QT_X11_NO_MITSHM=1
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix
command: [ "bash", "-c", ". ~/.bashrc && . install/setup.bash && ros2 launch trick_canadarm_moveit_config demo.launch.py" ]

0 comments on commit 42bd3e4

Please sign in to comment.