IFRA-Cranfield / ros2_RobotSimulation

ROS2.0 Foxy and Humble repositories which provide ready-to-use ROS2.0 Gazebo + MoveIt!2 simulation packages for different Industrial and Collaborative Robots.
Apache License 2.0
190 stars 50 forks source link

Change payload size error from RMW #29

Open ozge-albayrak opened 5 months ago

ozge-albayrak commented 5 months ago

I get the following error when I run ros2 run ros2_execution ros2_execution.py --ros-args -p PROGRAM_FILENAME:="irb120ur3" -p ROBOT_MODEL:="irb120" -p EE_MODEL:="none" on the terminal where I launch the simulation with moveit.

2024-06-08 01:36:23.662 [RTPS_READER_HISTORY Error] Change payload size of '92' bytes is larger than the history payload size of '79' bytes and cannot be resized. -> Function can_change_be_added_nts

I am a bit clueless on why am I getting this error and how to solve it.

Thanks!

ozge-albayrak commented 5 months ago

This issue got resolved with the following:

sudo apt install ros-humble-rmw-cyclonedds-cpp
# You may want to add this to ~/.bashrc to source it automatically
export RMW_IMPLEMENTATION=rmw_cyclonedds_cpp