From cd5ba23b8cd726faf3ec2fa4002a5dbada8faa19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ellensohn?= Date: Wed, 9 Aug 2023 09:59:49 +0200 Subject: [PATCH] update --- docker-compose.yaml | 5 ++--- install_portainer.sh | 3 +++ 2 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 install_portainer.sh diff --git a/docker-compose.yaml b/docker-compose.yaml index a6bd901..1a862e0 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -87,10 +87,9 @@ services: # Controller controller: - extends: base + extends: overlay command: > - source install/setup.bash && - ros2 run segwayrmp SmartCar --ros-args -r cmd_vel:=cmd_vel_out + ros2 launch cps_rmp220_support robot_controller.launch.py devices: - /dev/ttyUSB0:/dev/ttyUSB0 - /dev/ttyUSB1:/dev/ttyUSB1 diff --git a/install_portainer.sh b/install_portainer.sh new file mode 100644 index 0000000..ee5af37 --- /dev/null +++ b/install_portainer.sh @@ -0,0 +1,3 @@ +#!/bin/bash +docker volume create portainer_data +docker run -d -p 8000:8000 -p 9443:9443 --name portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest \ No newline at end of file