Clone repo to get compose file:
git clone [email protected]:legokor/dora-ros.git
cd dora-rosOr just download it:
wget https://github.com/legokor/dora-ros/raw/refs/heads/master/docker-compose.ymlPermission to access the LiDar:
sudo chmod 777 /dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0docker-compose up -dBy default this starts everything.
docker exec -it dora-ros bashdocker start dora-rosdocker stop dora-rosros2 service call /stop_motor std_srvs/srv/Empty {}If you're running rviz in a Docker container you need to give it access to your X server:
xhost +local:Running like this gives the container access to your X11 session and starts rviz:
docker run --rm -itv /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY --network host ghcr.io/legokor/dora-ros-rviz:latestros2 topic pub -1 /dora/cmd_vel geometry_msgs/msg/Twist '{ linear: { x: 0, y: 0 }, angular: { z: 0 } }'