You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running one instance, I get the correct namespace, but when running two instances, the plugins get the same namespace:
$ ros2 node list
/amr2/backward_lidar_plugin
/amr2/backward_lidar_plugin
/amr2/gazebo_ros2_control_plugin
/amr2/gazebo_ros2_control_plugin
I did some debugging and I could narrow down the issue to this line: The namespace passed to std::make_shared() is different than the resulting namespace of the created node (node->get_namespace()). In fact it uses the namespace of the previously created node.
It is probably related to #1392. Would really appreciate some help here. Thanks
The text was updated successfully, but these errors were encountered:
i think https://github.com/beta-robots has forked some repos such as ros2_control and ros2_controllers and partially fixed this part.
I found a comment in an issue that I'm not able to retrieve now , with a list of the important commits.
I am still experiencing some problems but at least I'm able to load gazebo plugins in different namespaces.
I don't know if this fix is included in the rolling release.
When spawning multiple instances, the same namespace is used for all plugins, although a different namespace is passed each time
I pass a namespace into the xacro as such:
and for gazebo_ros2_control:
When running one instance, I get the correct namespace, but when running two instances, the plugins get the same namespace:
I did some debugging and I could narrow down the issue to this line: The namespace passed to std::make_shared() is different than the resulting namespace of the created node (node->get_namespace()). In fact it uses the namespace of the previously created node.
It is probably related to #1392. Would really appreciate some help here. Thanks
The text was updated successfully, but these errors were encountered: