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
Howdy, I'd like to ask for some thoughts of mapping one topic to different domains. For example, I want topic /topic_a from ROS_DOMAIN_ID=0 broadcast to ROS_DOMAIN_ID=[1,2,3,4...] .
What I tried:
a). in the .yaml config file, I just duplicate this topic like
And surprisingly it worked! We are able to duplicate the key in .yaml file and domain_bridge follows this.
b). a more controllable way, I desire to input the bridge content from code (Python, Cpp). But to generate the .yaml file, we need to make the data as dictionary. We cannot duplicate the key in dictionary. And here my question is what is a good way to make this happen in scripts, in stead of hand code the domain bridge.
Thanks!
The text was updated successfully, but these errors were encountered:
Howdy, I'd like to ask for some thoughts of mapping one topic to different domains. For example, I want topic
/topic_a
fromROS_DOMAIN_ID=0
broadcast toROS_DOMAIN_ID=[1,2,3,4...]
.What I tried:
a). in the
.yaml
config file, I just duplicate this topic likeAnd surprisingly it worked! We are able to duplicate the key in
.yaml
file and domain_bridge follows this.b). a more controllable way, I desire to input the bridge content from code (Python, Cpp). But to generate the
.yaml
file, we need to make the data as dictionary. We cannot duplicate the key in dictionary. And here my question is what is a good way to make this happen in scripts, in stead of hand code the domain bridge.Thanks!
The text was updated successfully, but these errors were encountered: