This repository was archived by the owner on May 31, 2025. It is now read-only.
Fix rostopic hz for multiple topics without no message#843
Merged
dirk-thomas merged 1 commit intoros:kinetic-develfrom Jul 23, 2016
Merged
Fix rostopic hz for multiple topics without no message#843dirk-thomas merged 1 commit intoros:kinetic-develfrom
dirk-thomas merged 1 commit intoros:kinetic-develfrom
Conversation
To fix below error ``` % rostopic hz /input_0 /input_1 subscribed to [/input_0] subscribed to [/input_1] no new messages no new messages topic rate min_delta max_delta std_dev window ============================================================== /input_0 9.997 0.0999 0.1002 8.891e-05 7 /input_1 0.9998 0.9995 1.001 0.0005633 7 topic rate min_delta max_delta std_dev window ============================================================== /input_0 9.998 0.0999 0.1002 7.342e-05 17 /input_1 0.9998 0.9995 1.001 0.0004887 17 topic rate min_delta max_delta std_dev window ============================================================== /input_0 9.999 0.09982 0.1002 7.967e-05 21 /input_1 0.9999 0.9995 1.001 0.0004702 21 no new messages no new messages no new messages Traceback (most recent call last): File "/home/wkentaro/ros/indigo/devel/bin/rostopic", line 6, in <module> exec(fh.read()) File "<string>", line 35, in <module> File "<string>", line 1977, in rostopicmain File "<string>", line 1385, in _rostopic_cmd_hz File "<string>", line 273, in _rostopic_hz File "<string>", line 221, in print_hz File "<string>", line 228, in _get_ascii_table ValueError: max() arg is an empty sequence ```
ae5ca27 to
bf96ec1
Compare
Member
|
makes sense to me |
Member
|
Thank you for the fix. |
rsinnet
pushed a commit
to MisoRobotics/ros_comm
that referenced
this pull request
Jun 19, 2017
Fix rostopic hz for multiple topics without no message
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
To fix below error