Replies: 4 comments 2 replies
-
|
In my original request, I mentioned modifying the domain_id of the ROS Clock node. However, my actual requirement is broader: I need to update the domain_id in all relevant ROS nodes inside the USD, especially the ROS2 Context node, because this node is responsible for creating the ROS 2 context and determines the domain in which all other ROS nodes operate. Here is the reference from the ROS2 Context node documentation: ROS2 Context Installation: Inputs:
Outputs:
Metadata:
I would like to have an API or scripting method to programmatically set the domain_id for all ROS2 Context nodes within a USD scene before simulation starts, so that each USD can have a unique ROS domain without manually editing them in the GUI. This would make it possible to run multiple simulations in parallel (e.g., 24 robots with domain IDs 1–24) without ROS 2 topic conflicts. |
Beta Was this translation helpful? Give feedback.
-
|
I noticed that the underlying implementation |
Beta Was this translation helpful? Give feedback.
-
|
There are several ways to programmatically modify the domain_id attribute of ROS2 Context nodes in USD files. For the most accurate implementation, I recommend referencing the exts/isaacsim.ros2.bridge/isaacsim/ros2/bridge/ogn/tests/usd/OgnROS2ContextTemplate.usda file, which provides the canonical structure of ROS2 Context nodes. |
Beta Was this translation helpful? Give feedback.
-
|
Based on the official Isaac Sim documentation and current understanding, your approach is correct and should be supported. Note: I haven’t directly verified this workflow yet, but it matches the documented API behavior. If you encounter any issues when deploying, please share details here—happy to help troubleshoot! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I have a workflow where each USD scene contains:
Currently, all USDs share the same ROS Clock domain_id(default 0), which causes topic conflicts when running multiple simulations in parallel.
Feature request
I would like to automatically edit the domain_id attribute inside the USD’s ROS Clock node so that each USD file has a unique domain ID for ROS2 communication.
The goal is:
Questions:
Beta Was this translation helpful? Give feedback.
All reactions