Repository navigation
Replies: 1 comment
|
Those topics ( Two changes in the firmware:
rcl_node_t node;
rclc_node_init_default(&node, "robot_node", "robot1", &support); // was ""
// "/battery/voltage" -> stays /battery/voltage
rclc_publisher_init_default(&pub, &node,
ROSIDL_GET_MSG_TYPE_SUPPORT(std_msgs, msg, Float32),
"battery/voltage"); // -> /robot1/battery/voltageSame for subscriptions and services ( For several robots with the same firmware, make the namespace a build-time define (e.g. Check: |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hello,
I'm working on integrating multiple real robots (runs on ROS2) with Open-RMF.
For this purpose, I need to add namespace to topics of each robots. I'm able to add namespace to all the
ros2topics, except for those frommicro-ros-setupandmicro-ros-Agentpackages.Is there a way to add namespace to topics published by
micro-ros-setupandmicro-ros-Agentpackages ?Could anyone provide guidance or clarification? Any help would be appreciated.
Some example ros2 topics for which I want to add namespace are shown in the screenshot below.

@pablogs9
All reactions