Skip to content
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

Mikael/remove topic partitions #171

Merged

Conversation

mikaelarguedas
Copy link
Member

some minor fixups and wording suggestions.
I didn't address the pending comment on the original PR about providing example of mapping from ROS Service name to DDS Request/Reply topic names

@mikaelarguedas mikaelarguedas added the in progress Actively being worked on (Kanban column) label Apr 28, 2018
@@ -359,10 +359,10 @@ You can read more about partitions in RTI's documentation:

Trade-offs (in comparison to using the whole ROS name along with the namespaces):

- Splitting the ROS name into "namespace" and "base name", and placing the complete namespace into a single partition seemed un-natural.
- Splitting the ROS name into "namespace" and "base name", and placing the complete namespace into a field designed for another purpose seemed incorrect.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So I actually still think that we have to justify this statement more precisely. So one concrete reason why putting the namespace in a partition is incorrect is that the tuple of (partition, topic, type) has to be unique amongst a DDS environment. Fast-RTPS does not enforce this, however RTI does, hence the github issue below.

- In general partitions are recommended to be used as a spare, but using partitions for all ROS names suggested otherwise.
- Major concern was reported in this [issue](https://github.com/ros2/rmw_connext/issues/234), where having two topics with same base name, although different namespace and different ypes caused problem. For example: topicA is `/camera/data` of type `Image` and topicB is `/imu/data` of type `Imu`. The base names for both topicA and topicB is `data`, generated errors as described in the [issue](https://github.com/ros2/rmw_connext/issues/234).
- Newer standards such as XRCE DDS might not have partitions at all.
- Major concern was reported in this [issue](https://github.com/ros2/rmw_connext/issues/234), where having two topics with same base name, although different namespace and different types caused problem. For example: topicA is `/camera/data` of type `Image` and topicB is `/imu/data` of type `Imu`. The base names for both topicA and topicB is `data`, generated errors as described in the [issue](https://github.com/ros2/rmw_connext/issues/234).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"... with the same base name ... caused a problem."

@@ -202,7 +202,7 @@ The ROS topic and service name constraints allow more types of characters than t
These must be substituted or otherwise removed during the process of converting the topic or service name to DDS concepts.
Since ROS 2 topic and service names are expanded to fully qualified names, any balanced bracket (`{}`) substitutions and tildes (`~`) will have been expanded.
Additionally any URL related syntax, e.g. the `rostopic://` prefix, will be removed once parsed.
Previously forward slashes (`/`) were disallowed in DDS topic names, now the restriction has been lifted(see [issue](https://issues.omg.org/issues/lists/dds-rtf5#issue-42236) on omg.org) and therefore the ROS topic names are first prefixed with ROS Specific Namespace prefix (described below) are then mapped directly into DDS topic names.
Previously forward slashes (`/`) were disallowed in DDS topic names, now the restriction has been lifted (see [issue](https://issues.omg.org/issues/lists/dds-rtf5#issue-42236) on omg.org) and therefore the ROS topic names are first prefixed with ROS Specific Namespace prefix (described below) are then mapped directly into DDS topic names.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'd remove now in the sentence.

@Karsten1987
Copy link
Contributor

feel free to merge if you want.

@mikaelarguedas
Copy link
Member Author

Please feel free to edit directly on this branch 👍, I definitely don't have has much context as you

@mikaelarguedas
Copy link
Member Author

Chatting with @Karsten1987 we concluded we'll merge this as is and iterate on #170 from there

@mikaelarguedas mikaelarguedas merged commit 3ff8d1c into remove_topic_partitions Apr 30, 2018
@mikaelarguedas mikaelarguedas deleted the mikael/remove_topic_partitions branch April 30, 2018 18:28
@mikaelarguedas mikaelarguedas removed the in progress Actively being worked on (Kanban column) label Apr 30, 2018
Karsten1987 pushed a commit that referenced this pull request Jun 7, 2018
* removal of topic partitions, inital draft

* Updated alternative strategy of using partitions

* fixed suggestions, added limits for service_names

* Mikael/remove topic partitions (#171)

* unnecessary Now

* XRCE DDS -> DDS-XRCE + link

* try to make the sentence sound more naturel

* attempt to clarify the 'un-natural' character of using partition

* missing whitespace

* avoid having same section and subsection title

* highlight rti connext limitations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants