linorobot / linorobot2

Autonomous mobile robots (2WD, 4WD, Mecanum Drive)
Apache License 2.0
436 stars 148 forks source link

Hanging when running `ros2 launch linorobot2_bringup bringup.launch.py` #103

Closed MagnusMat closed 6 months ago

MagnusMat commented 7 months ago

Hello, I am running linorobot2 on a Raspberry Pi. When I run ros2 launch linorobot2_bringup bringup.launch.py i get hung up on [joint_state_publisher]: Waiting for robot_description to be published on the robot_description topic... as seen on the screenshot below.

Screenshot from 2023-11-22 14-07-27

I appear to get the same behaviour if I run description.launch.py. Am i not mistaken that this script should finish running eventually? I would then run ros2 run micro_ros_agent micro_ros_agent serial --dev /dev/ttyACM0 afterwards.

Running ros2 launch linorobot2_viz robot_model.launch.py on my host machine launches RVIZ with a visualisation of the robot, so the URDF is being published.

Thanks in advance

MagnusMat commented 6 months ago

It was a firmware issue. New firmware fixed it.