Hello,
I’m trying to use a Raspberry Pi 5 as the SBC for my ROSbot XL. I’m running the stock Raspberry Pi OS (Raspbian) on the RPi5 and wanted to control the robot using the dockerized approach provided by Husarion.
I configured the Ethernet interface on the Raspberry Pi to the expected static address:
192.168.77.2/24
and connected the RPi directly to the ROSbot XL controller via Ethernet and the micro USB port.
I then tried to start the system following the docker-based workflow. Initially I used two separate terminals:
Terminal 1 – micro-ROS agent
docker run -it --rm --network host \
husarion/micro-xrce-agent:v2.4.1 \
MicroXRCEAgent udp4 --port 8888
Terminal 2 – ROSbot bringup
docker run -it --rm --network host --privileged \
husarion/rosbot-xl:humble
Inside the container:
source /opt/ros/humble/setup.bash
source /ros2_ws/install/setup.bash
ros2 launch rosbot_xl_bringup bringup.launch.py
With this setup the system partially works:
-
/battery_statetopic is published correctly -
/cmd_velcan be published
However:
-
the robot does not move
-
/joint_statesand/rosbot_xl_base_controller/odomremain empty -
controller logs show warnings like:
Feedback message from motors wasn't received yet
I also tried flashing the STM32 firmware from the docker container using:
docker run --rm -it --privileged \
--mount type=bind,source=/dev/ttyUSB0,target=/dev/ttyUSB0 \
husarion/rosbot-xl:humble \
flash-firmware.py -p /dev/ttyUSB0
The flash completed successfully, however nothing changed.
Can anyone help? I know that I’m not using the Husarion OS, but I thought that using Docker images is enogh.
Thanks, Mateusz