-
Notifications
You must be signed in to change notification settings - Fork 193
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
Forward slash in DDS topic name in example #124
Comments
@miguelprada thanks for pointing it out. I think the purpose of that last example was to bring up that issue with the concept of
Perhaps it should just be made clearer that this last case is intentionally problematic. |
I understand this issue needs to be addressed, but since the |
From what I understand in the linked spec, DDS topics don't exclude a forward slash. AFAIS, it only has a special meaning within the SQL Extension of rti. But I have to do some more research on that. |
DDS topics only allow alphanumeric and underscores (and must not start with a number) according to the spec:
-- http://design.ros2.org/articles/topic_and_service_names.html#dds-topic-names @Karsten1987 What makes you think forward slash is allowed in a topic name? It might be allowed by the implementation, but we have to go by the specification since we're not tied to one implementation. |
I totally agree with what you said. We will comply to the specification, however, as you already mentioned, the implementations may be relaxed on these and you technically could end up with one forward slash in a DDS topic. If so, the question would be if we excluded that topic from being available in ROS. If we decide to not allow the forward slash, then I like the proposed rephrasing of this PR. |
I see what you mean, we can let the user pass a |
The Examples and Ideas for Communicating with Non-ROS Topics section in Topic and Service name mapping to DDS article presents an example where a DDS topic name containing a forward slash is discussed.
Although the article discusses an ambiguous specification of an "exact" topic name, I have the impresion that one of the two interpretations should not be legal in DDS. Specifically I'm referring to the mapping from
rostopic+exact://camera_left/image
to DDS topiccamera_left/image
and partition [].Just bringing it up since it can lead to confusion. It probably makes little sense to combine
rostopic+exact
with a name containing forward slashes, right?The text was updated successfully, but these errors were encountered: