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

Return error when the topic has already existed #42

Merged
merged 1 commit into from
Feb 2, 2018

Conversation

minggangw
Copy link
Member

To align with the rosbridge v2 protocol spec:

  • If the topic already exists with a different type, an error status message
    is sent and this message is dropped.

This patch implements this logic. Firstly it will check if the topic exists,
then check the type of it if there is already one. Finally, if the type is
different from the previous one and an error is returned.

Fix #36

To align with the rosbridge v2 protocol spec:

- If the topic already exists with a different type, an error status message
  is sent and this message is dropped.

This patch implements this logic. Firstly it will check if the topic exists,
then check the type of it if there is already one. Finally, if the type is
different from the previous one and an error is returned.

Fix RobotWebTools#36
@minggangw minggangw merged commit 97b7c2c into RobotWebTools:develop Feb 2, 2018
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.

None yet

1 participant