Skip to content
This repository was archived by the owner on May 31, 2025. It is now read-only.

[rostopic] Get parent topics in rostopic hz#718

Closed
wkentaro wants to merge 92 commits intoros:indigo-develfrom
wkentaro:rostopic-hz-search-parent
Closed

[rostopic] Get parent topics in rostopic hz#718
wkentaro wants to merge 92 commits intoros:indigo-develfrom
wkentaro:rostopic-hz-search-parent

Conversation

@wkentaro
Copy link
Copy Markdown
Contributor

Parent topics means that topics to which the specified topic subscribes to
Depends on #712

@wkentaro wkentaro force-pushed the rostopic-hz-search-parent branch from d04775f to eb3f805 Compare December 15, 2015 04:44
def _rostopic_hz(topic, window_size=-1, filter_expr=None):

def get_parent_topics(topic, parent_topics=None, impl=False):
"""Get topics to which the specified topic subscribes to.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Conceptionally a topic does not subscribe to another topic. Therefore I think the current naming is problematic. I don't have a good name for it though. But the docblock need to clarify what it means.

dirk-thomas and others added 24 commits March 17, 2016 18:10
add missing parameter to AdvertiseOptions::createAdvertiseOptions
change return value of param() to bool
Add missing inter-test dependency
The previous code was not properly filtering unicode/str
out of the header. Added the corresponding unit test.
fix passing multiple args to add_rostest
fix header encoding in encode_ros_handshake_header
dirk-thomas and others added 24 commits July 22, 2016 07:28
…-python3

roslaunch: Fix <param command="..." /> for python3.
fix compiler warnings in release mode
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
```
Fix rostopic hz for multiple topics without no message
Fix confusing copyright messages/dates
This recovers the funcitonality provided by the python logging library,
which includes exception information if the kwarg exc_info is provided
with a True value
 add_rostest_gtest does now add the created gtest-target as a depende…
Prevents issue calling socket.getaddrinfo with the machine name where this is not a known local hostname (e.g. where the machine name hasn't been added to the hosts file).
rosbag_storage: make Bag constructor explicit
…lters (pure python) (ros#802)

* Fast approximate time synchronization in message_filters

* Don't break the api of message_filters Synchronizers

* Required changes to merge origin/kinetic-devel
As below

```
% rosmsg list --help
Usage: rosmsg list [package_name]

Options:
  -h, --help  show this help message and exit

% rosmsg list std_msgs
std_msgs/Bool
std_msgs/Byte
std_msgs/ByteMultiArray
std_msgs/Char
std_msgs/ColorRGBA
std_msgs/Duration
std_msgs/Empty
std_msgs/Float32
std_msgs/Float32MultiArray

% rosmsg list std_msg
WARNING: no msg is found for package [std_msg]

% rosmsg list
```
…os#866)

* Record a maximum number of splits and then begin deleting old files

* More helpful help string

* Correct indentation
fix unknown msg-generation dependency
@wkentaro
Copy link
Copy Markdown
Contributor Author

Moved to #874

wkentaro added a commit to wkentaro/ros_comm that referenced this pull request Aug 24, 2016
wkentaro added a commit to wkentaro/ros_comm that referenced this pull request Aug 24, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.