Package Summary

Tags No category tags.
Version 0.14.2
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ros2/demos.git
VCS Type git
VCS Version galactic
Last Updated 2021-04-29
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

C++ demo application for topic statistics feature.

Additional Links

No additional links.

Maintainers

  • Mabel Zhang
  • Michael Jeronimo
  • Amazon ROS Contributions

Authors

No additional authors.

Topic Statistics Demo

The demo application in this package demonstrates Topic Statistics feature in ROS 2. The application creates ROS 2 nodes to publish messages to topics, subscribes to the statistics topic and displays the statistics data received.

The demo application in this package display_topic_statistics creates the following ROS 2 nodes: 1. Talker and Listener nodes to generate message traffic 2. Statistics listener node to display generated statistics

The application requires an argument message_type - the type of message chatter to generate. Possible values are string and imu.

The application also accepts the following optional arguments to configure the Listener node's subscription: 1. --publish-topic: Topic to which topic statistics are published. Default topic is /statistics. 2. --publish-period: Publish period for publication of statistics. Default value is 5s.

Once the application starts, the talker node will publish messages on a topic that the listener node has subscribed to. The listener's subscription will generate topic statistics upon receiving messages. Statistics are published to the statistics topic at a pre-determined frequency. The statistics listener node listens to these statistics and prints them for the user to see.

CHANGELOG

Changelog for package topic_statistics_demo

0.14.2 (2021-04-26)

0.14.1 (2021-04-19)

0.14.0 (2021-04-06)

  • Change index.ros.org -> docs.ros.org. (#496)
  • Contributors: Chris Lalancette

0.13.0 (2021-03-25)

0.12.1 (2021-03-18)

0.12.0 (2021-01-25)

  • Update logging macros (#476)
  • Contributors: Audrow Nash

0.11.0 (2020-12-10)

  • Update the package.xml files with the latest Open Robotics maintainers (#466)
  • Contributors: Michael Jeronimo

0.10.1 (2020-09-21)

  • Create new topic statistics demo package (#454)
  • Contributors: Prajakta Gokhale

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged topic_statistics_demo at answers.ros.org

No version for distro foxy. Known supported distros are highlighted in the buttons above.
No version for distro dashing. Known supported distros are highlighted in the buttons above.
No version for distro noetic. Known supported distros are highlighted in the buttons above.
No version for distro melodic. Known supported distros are highlighted in the buttons above.
No version for distro kinetic. Known supported distros are highlighted in the buttons above.
No version for distro ardent. Known supported distros are highlighted in the buttons above.
No version for distro bouncy. Known supported distros are highlighted in the buttons above.
No version for distro crystal. Known supported distros are highlighted in the buttons above.
No version for distro eloquent. Known supported distros are highlighted in the buttons above.
No version for distro lunar. Known supported distros are highlighted in the buttons above.
No version for distro jade. Known supported distros are highlighted in the buttons above.
No version for distro indigo. Known supported distros are highlighted in the buttons above.
No version for distro hydro. Known supported distros are highlighted in the buttons above.