ros2_controllers icon indicating copy to clipboard operation
ros2_controllers copied to clipboard

joint_trajectory_controller tests fails with rmw_zenoh

Open CihatAltiparmak opened this issue 1 year ago • 0 comments

Describe the bug The tests of ros2_control fail with rmw_zenoh. For more, please look at this issue

To Reproduce Steps to reproduce the behavior:

Build given dockerfile using below commands

Shell 1:

docker build -f ros2_control_testing.Dockerfile -t ros2_control_testing .
docker run -it ros2_control_testing
# Inside docker container, just run
cd ws
source /opt/ros/iron/setup.bash
source install/setup.bash
export RMW_IMPLEMENTATION=rmw_zenoh_cpp
gdb ./build/joint_trajectory_controller/test_trajectory_actions
## Inside gdb
run

Just for running rmw_zenohd Shell 2:

docker exec -it <running_ros2_container_name> bash
source /opt/ros/iron/setup.bash
source install/setup.bash
export RMW_IMPLEMENTATION=rmw_zenoh_cpp
ros2 run rmw_zenoh_cpp rmw_zenohd

Expected behavior ros2_control tests must passed with rmw_zenoh middleware.

Environment (please complete the following information):

  • OS: docker image
  • Version iron

Additional context

I just wanted to inform this community. I also validated that the tests of ros2_controllers and ros2_control pass with rmw_fastrtps. This error is probably related to rmw_zenoh and looks like the bug of rmw_zenoh. In addition, rmw_zenoh is the experimental middleware.

CihatAltiparmak avatar May 29 '24 12:05 CihatAltiparmak