-
Notifications
You must be signed in to change notification settings - Fork 168
Closed
Description
- Hardware description: ESP32 / Ubuntu 20.04
- RTOS: FreeRTOS
- Installation type: micro_ros_setup / ESP-IDF component
- Version or commit hash: foxy
Steps to reproduce the issue
When adding a namespace to a node in RCLC, the resulting namespace is only applied to topics associated with that node, and not the node itself.
Expected behavior
Using the following code, the freertos_int32_publisher node should be created as /test_namespace/freertos_int32_publisher, and the publisher should publish to the /test_namespace/freertos_int32_publisher topic.
rclc_node_init_default(&node, "freertos_int32_publisher", "test_namespace", &support);
rclc_publisher_init_default(&publisher, &node, ROSIDL_GET_MSG_TYPE_SUPPORT(std_msgs, msg, Int32), "freertos_int32_publisher");
Actual behavior
The freertos_int32_publisher node has no namespace set on it, but the topic does have the namespace.
Additional information
Screenshot showing the resulting rqt_graph output from the above code:

Metadata
Metadata
Assignees
Labels
No labels