Thank you for the instruction. Below I prepared some suggestions:
- Sometimes there is a problem with communication using CycloneDDS via WiFi. The easiest solution that my help is restarting
ros2 daemon stop && ros2 daemon start
. For cyclonedds you can read a bit more here. - Your compose is different from the default compose sent in the message above. Please restore the settings and see if it helps.
- If you want, you can use a newer, simplified version of compose without a separate service for microros.
x-common-config:
&common-config
network_mode: host
ipc: host
restart: unless-stopped
environment:
- USER
- ROBOT_NAMESPACE
services:
rosbot:
image: husarion/rosbot:humble-0.13.1-20240201
container_name: rosbot
<<: *common-config
devices:
- ${SERIAL_PORT:-/dev/ttyUSB0}
- /dev/bus/usb/ # FTDI
command: >
ros2 launch rosbot_bringup combined.launch.py
mecanum:=${MECANUM:-False}
namespace:=${ROBOT_NAMESPACE:-rosbot}
serial_port:=${SERIAL_PORT:-/dev/ttyUSB0}
- You can also use the latest version wrapped in snap, which has a more user-friendly API.