Use xacro file to plumb namespace into gz topics#10
Merged
SteveMacenski merged 2 commits intoros-navigation:multirobotfrom Jun 19, 2024
Merged
Use xacro file to plumb namespace into gz topics#10SteveMacenski merged 2 commits intoros-navigation:multirobotfrom
SteveMacenski merged 2 commits intoros-navigation:multirobotfrom
Conversation
Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
SteveMacenski
approved these changes
Jun 19, 2024
Member
|
Ah... that is not an expected result, thanks! So it looks like I figured out the bridge part, but didn't get the model part. I thought that there was a way to apply the node that spawned it namespace (or a launch flag) that would throw all the topics if not prepended with But this works just as well, if only slightly more manual. |
SteveMacenski
added a commit
that referenced
this pull request
Jun 21, 2024
* Attempts for multirobot namespacing in GZ * expanding gazebo names * Use xacro file to plumb namespace into gz topics (#10) * Use xacro file to plumb namespace into gz topics Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org> * Fix linter Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org> --------- Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org> --------- Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org> Co-authored-by: Addisu Z. Taddese <addisuzt@intrinsic.ai>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
It's not currently possible to set the namespace of gz-transport topics when a model is spawned. So the best option I could think of is to turn
gz_waffle.sdfinto a xacro file and pass in thenamespaceargument.This also updates the max_step_size to 3ms to improve performance.
cc @SteveMacenski