rosaria/run.sh
Your Name 105b83e243 wip
2023-01-20 13:11:17 +00:00

8 lines
363 B
Bash
Executable File

#!/bin/sh
# Script running rosaria inside docker container
echo "ID: $PIONIER_ID"
docker run --privileged --network=host --device=/dev/ttyS0 -i -e ROS_IP=$(hostname -I | awk '{print $1}') -e PIONIER_ID=$(hostname | sed 's/[^0-9]//g')\
--mount type=bind,source=/home/lab1_5/rosaria/Legacy/ws_linux,target=/home/lab1_5/ws/ws_linux rosaria-cam /bin/bash