ros2 / rmw_zenoh

RMW for ROS 2 using Zenoh as the middleware
Apache License 2.0
142 stars 29 forks source link

MoveIt + zenoh : Topic name /xxx not found in topic map. Report this #187

Closed CihatAltiparmak closed 3 weeks ago

CihatAltiparmak commented 1 month ago

Tested On

Description

Hello, i am trying to integrate rmw_zenoh to MoveIt. When i ran the demo launch of MoveIt, I observed some error logs related to rmw_zenoh and demo launch didn't run as expected. You can find this log here. Unfortunately, now i can only give this logs. But if i can achieve more information related to this problem, i will share this details here as well.

In addition, i also observed that MoveIt + zenoh runs without problem. but this occurs so rarely.

How To Reproduce

Apply the get started tutorial of MoveIt. Change RMW_IMPLEMENTATION with rmw_zenoh and then apply MoveIt QuickStart in Rviz pages.

Yadunund commented 1 month ago

Thanks for the ticket.

Related: https://github.com/ros2/rmw_zenoh/issues/170

This is known issue where there is a rmw_shutdown and rmw_context_fini may be invoked in incorrect sequence somewhere in rclcpp/rclpy (pending further investigation). In your case you run a spawner node that shuts down after spawning the controller and we may be experiencing the above during this shutdown.

The issue may also be related to Lifecycle nodes and there was recently a fix upstream https://github.com/ros2/rclcpp/pull/2527. Could you retry with the backported changes to iron? You will need to build iron from source.

CihatAltiparmak commented 1 month ago

Thank you a lot for your advice. Unfortunately i should say that i observed this bugs after applying your steps. Whereas this bug now rarely occurs compared to previous one. In addition, the rate of running moveit with rmw_ zenoh without problem has increased dramatically. This is great for me. My other observations are that moveit sometimes runs without problem, sometimes its planning libraries are not loaded, sometimes robot planner runs but its planned trajectory is not executed.

Maybe i did something wrong while setting necessary workspace. I will continue to my work.

If you want, you can close this issue now. Because i can see something is worked. But it looks like there is a evil somewhere in controller spawner. In any case i found important thing, i repoen this issue.