This commit is contained in:
Björn Ellensohn 2023-08-09 09:59:49 +02:00
parent 94bff880ff
commit cd5ba23b8c
2 changed files with 5 additions and 3 deletions

View File

@ -87,10 +87,9 @@ services:
# Controller # Controller
controller: controller:
extends: base extends: overlay
command: > command: >
source install/setup.bash && ros2 launch cps_rmp220_support robot_controller.launch.py
ros2 run segwayrmp SmartCar --ros-args -r cmd_vel:=cmd_vel_out
devices: devices:
- /dev/ttyUSB0:/dev/ttyUSB0 - /dev/ttyUSB0:/dev/ttyUSB0
- /dev/ttyUSB1:/dev/ttyUSB1 - /dev/ttyUSB1:/dev/ttyUSB1

3
install_portainer.sh Normal file
View File

@ -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