Skip to content

Latest commit

 

History

History
50 lines (34 loc) · 1.81 KB

README.md

File metadata and controls

50 lines (34 loc) · 1.81 KB

rosbot-xl-docker

Docker images for ROSbot XL

Build a Docker Image

Official ROSbot XL docker images built from this repo are available here: https://hub.docker.com/r/husarion/rosbot-xl/tags

  • husarion/rosbot-xl:humble - the image for a real (physical) robot
  • husarion/rosbot-xl-gazebo:humble - the image with Gazebo simulation model

Flashing the firmware

Connect ROSbot to a Single Board Computer inside ROSbot XL by using a micro-USB cable. Check under which port the board is listed on your OS (in most cases it's /dev/ttyUSB0):

husarion@husarion:/$ ls -la /dev/ttyUSB*
crw-rw---- 1 root dialout 188, 0 Dec 20 17:57 /dev/ttyUSB0
docker run --rm -it --privileged \
husarion/rosbot-xl:humble \
flash-firmware.py -p /dev/ttyUSB0

Set dip switch no. 3 to "off" state (BOOT0 pin to LOW) and click the RESET button to start a newly flashed firmware.

Building locally

docker buildx build \
-f Dockerfile.hardware \
--platform linux/amd64 \
-t rosbot-xl-docker-test \
.

ROS API

Available in rosbot_xl_ros/ROS_API.md

How to use rosbot-xl Docker image?

Find available projects below:

link description
rosbot-xl-mapping Create a map (using slam_toolbox) of the unknown environment with ROSbot XL controlled in LAN or over the Internet
rosbot-xl-navigation Autonomous navigation (using navigation2) on a given map.