-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Topics and frame ids for compatibility with Nav2 #49
Comments
So, what I see is that topics are ok: in Nav2 they use as prefix the robot name and mvsim does too, and I think it all makes sense. On /tf: what I understand in Steve's answer in ros-navigation/navigation2#4594 is that each robot listen to the tf topic What I don't understand is how to avoid collisions between frame_ids (not the /tf topics themselves). Maybe the point is that multi-robot systems are expected not to share /tf, right?? cc: @SteveMacenski 🙏 If the answer is yes, ok, let's follow the same convention here, and we'll fix tutorials, and examples,etc. in mvsim. |
For that setup, yea. You don't need to avoid collisions when there are no collisions. You could share 1 massive TF system, but that would not be good for real, hardware situations |
Alright, @SteveMacenski , thanks, it makes sense. @finani Then, go on and feel free of PR for making things compatible with multi-robot Nav2. 👍 |
Thank you all. Yes, Exactly I worried about the frame id collisions, too. Thank you again. |
#51 is merged |
As I mentioned about the rule of Nav2 (PR) before, topics are separated by namespace and each topic should have the same frame id.
I thought this rule is only for tf (PR), but every topics including sensors should follow this.
I want to add compatibility with Nav2 to mvsim, but I worry about I will break the policy and projects using mvsim.
If there is any rule to follow, I will consider to add additional parameter.
I think there are three options.
a) Make every frame id of each topic the same. (radical)
b) Add parameter to control frame ids. (safe)
c) This changes are not considered in mvsim. (abort)
I will follow the decision.
before (now)
after (compatible with Nav2)
The text was updated successfully, but these errors were encountered: