Skip to content
This repository has been archived by the owner on Jul 22, 2021. It is now read-only.

callback for participant node #288

Answered by mxgrey
txlei asked this question in Q&A
Feb 5, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

I'm not 100% sure if I'm interpreting your description correctly. Whenever possible, linking to the code in question is always appreciated to cut away any ambiguity in interpretation, but I'll try my best based on the impressions I'm getting.

It sounds like you're creating a whole new node for each schedule participant. If so, that's not necessary at all and might cause a lot of extraneous DDS traffic for performing discovery.

You can create a single rmf_traffic_ros2::schedule::Writer that's attached to a single node, and you can make as many schedule participants with that one writer as you'd like. These can be generated dynamically at any time, even in the middle of runtime.

You don't a…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@txlei
Comment options

Answer selected by txlei
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants