-
Notifications
You must be signed in to change notification settings - Fork 42
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
topic syntax is ambiguous "Invalid topic spec" #7
Comments
The choice of using the same character as a namespace as well as field separator is certainly a bad one. But that decision was made at a very early time in ROS and is implemented in some of the core ROS packages. So I don't think this package can do much about it if it doesn't want to diverge from the "standard". I am not sure how feasible it will be to change this in the core. |
Would it be reasonable to enable the alternative syntax via an optional flag, I would be willing to make these changes. |
While this could be easily worked around locally in this package I think this needs to be globally agreed on and being "defined" as part of the ROS naming standard. Otherwise every package might end up doing its own thing. |
From @sloretz on October 20, 2016 1:30
rqt_plot uses slashes to specify the value in a published message that should be plotted. This syntax leads to the error "PlotWidget.update_plot(): error in rosplot: Invalid topic spec [...]" in cases like the following
To reproduce
save the following as simple_pub.py and make it executable with chmod
open 4 terminals, one with each command
Type the following into the topic box and press the green + to add them to the plot
rqt_plot will correctly plot the first topic, /imu/data/data. The second topic will not be plotted, and the terminal from which rqt_plot was started will spam
This can be fixed by changing the character used to separate message fields. I think the ':' character is a good choice
Copied from original issue: ros-visualization/rqt_common_plugins#402
The text was updated successfully, but these errors were encountered: