Package Summary

Tags No category tags.
Version 0.6.9
License Apache 2.0
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ipa320/cob_command_tools.git
VCS Type git
VCS Version indigo_dev
Last Updated 2018-12-05
Dev Status DEVELOPED
Released RELEASED

Package Description

This package provides a throttle for ROS topics

Additional Links

No additional links.

Maintainers

  • Felix Messmer
  • Florian Weisshardt
  • Mattia Racca

Authors

  • Mattia Racca

generic_throttle

generic_throttle is package offering a Python implementation of a throttle for topics.

The package is composed of - GenericThrottle: class implementing the throttle - generic_throttle_node: ROS node wrapping around an instance of GenericThrottle

The parameters are set as privat parameters of the node. An example .yaml file could look like this:

topics:               # List of topics to be throttled
  - /topic1: {latched: False, lazy: True, topic_rate: 1.0}
  - /topic2: {latched: True, lazy: False, topic_rate: 20.0}
  - /image_topic: {latched: False, lazy: True, topic_rate: 20.0, resolution_factor: 0.5}

For each topic, 3 parameters must be specified: - latched: if True, the publisher of the throttled topic acts as latched (see http://docs.ros.org/api/rospy/html/rospy.topics.Publisher-class.html) - lazy: if True, the publisher of the throttled topics will check if the number of subscribers and if there are no, it will not publish the message - topic_rate: desired rate (in Hz) for the throttled topic.

Optional parameter: - resolution_factor: it is meant for topics of type sensor_msgs/Image. If available, the throttle will reduce the resolution of the image by the specified factor. For example, if resolution_factor: 0.5, width and height will be halved.

The throttle will publish on topics with name /topic_throttled (it appends _throttled to the original name). When running an instance of generic_throttle_node, you must define the throttle namespace to let the node discover the required parameters. An example from .launch file:

<node pkg="generic_throttle" type="generic_throttle_node.py" name="throttle" ns="test_throttle" />

CHANGELOG

Changelog for package generic_throttle

0.6.9 (2018-07-21)

  • update maintainer
  • Contributors: ipa-fxm

0.6.8 (2018-07-21)

0.6.7 (2018-01-07)

  • Merge remote-tracking branch 'origin/indigo_release_candidate' into indigo_dev
  • Merge pull request #209 from ipa-fxm/generic_throttle_private_param use private parameters for generic_throttle
  • use private parameters for generic_throttle
  • Merge pull request #197 from ipa-fxm/APACHE_license use license apache 2.0
  • use license apache 2.0
  • Contributors: Benjamin Maidel, Felix Messmer, ipa-fxm, ipa-uhr-mk

0.6.6 (2017-07-17)

  • Change resolution factor to be a multiplicative factor and not a division. Handle resize to factor 0 as OpenCV error.
  • Change misleading resolution with resolution_factor
  • Add rostopic exec_depend
  • Remove cv_bridge build dependency
  • Update manifest and cmake list
  • Update README.md to resolution throttle.
  • Implement resolution throttle for sensor_msgs/Image.
  • Add @ipa-fmw as maintainer.
  • Add install tags for the executable node
  • Move throttle_node to script folder. Fix typos in README.
  • Update README
  • Rewrite lazy and latched behavior implementation
  • Adapt to new parameter definition layout. Parameters are now set in the node namespace. Throttled topics have "_throttled" appended to original topic name.
  • Add ROS node for the throttle separated from the GenericThrottle implementation
  • Implement lazy behavior. Lazy and Latched behavior are disabled by default
  • Remove delay feature. Add latched behaviour (True/False).
  • Remove build dependency on rospy
  • Remove CMakeLists.txt not needed depedencies.
  • Change package to format "2" and remove not needed dependencies
  • Update README
  • Moving the python package inside src/generic_throttle. Modifying accordingly CMakeLists.txt and package.xml.
  • remove testing files
  • introduce directory layer
  • Contributors: MattiaRacca

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Package Dependencies

No dependencies on ROS packages.

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 generic_throttle at answers.ros.org

Package Summary

Tags No category tags.
Version 0.6.9
License Apache 2.0
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ipa320/cob_command_tools.git
VCS Type git
VCS Version indigo_dev
Last Updated 2018-12-05
Dev Status DEVELOPED
Released RELEASED

Package Description

This package provides a throttle for ROS topics

Additional Links

No additional links.

Maintainers

  • Felix Messmer
  • Florian Weisshardt
  • Mattia Racca

Authors

  • Mattia Racca

generic_throttle

generic_throttle is package offering a Python implementation of a throttle for topics.

The package is composed of - GenericThrottle: class implementing the throttle - generic_throttle_node: ROS node wrapping around an instance of GenericThrottle

The parameters are set as privat parameters of the node. An example .yaml file could look like this:

topics:               # List of topics to be throttled
  - /topic1: {latched: False, lazy: True, topic_rate: 1.0}
  - /topic2: {latched: True, lazy: False, topic_rate: 20.0}
  - /image_topic: {latched: False, lazy: True, topic_rate: 20.0, resolution_factor: 0.5}

For each topic, 3 parameters must be specified: - latched: if True, the publisher of the throttled topic acts as latched (see http://docs.ros.org/api/rospy/html/rospy.topics.Publisher-class.html) - lazy: if True, the publisher of the throttled topics will check if the number of subscribers and if there are no, it will not publish the message - topic_rate: desired rate (in Hz) for the throttled topic.

Optional parameter: - resolution_factor: it is meant for topics of type sensor_msgs/Image. If available, the throttle will reduce the resolution of the image by the specified factor. For example, if resolution_factor: 0.5, width and height will be halved.

The throttle will publish on topics with name /topic_throttled (it appends _throttled to the original name). When running an instance of generic_throttle_node, you must define the throttle namespace to let the node discover the required parameters. An example from .launch file:

<node pkg="generic_throttle" type="generic_throttle_node.py" name="throttle" ns="test_throttle" />

CHANGELOG

Changelog for package generic_throttle

0.6.9 (2018-07-21)

  • update maintainer
  • Contributors: ipa-fxm

0.6.8 (2018-07-21)

0.6.7 (2018-01-07)

  • Merge remote-tracking branch 'origin/indigo_release_candidate' into indigo_dev
  • Merge pull request #209 from ipa-fxm/generic_throttle_private_param use private parameters for generic_throttle
  • use private parameters for generic_throttle
  • Merge pull request #197 from ipa-fxm/APACHE_license use license apache 2.0
  • use license apache 2.0
  • Contributors: Benjamin Maidel, Felix Messmer, ipa-fxm, ipa-uhr-mk

0.6.6 (2017-07-17)

  • Change resolution factor to be a multiplicative factor and not a division. Handle resize to factor 0 as OpenCV error.
  • Change misleading resolution with resolution_factor
  • Add rostopic exec_depend
  • Remove cv_bridge build dependency
  • Update manifest and cmake list
  • Update README.md to resolution throttle.
  • Implement resolution throttle for sensor_msgs/Image.
  • Add @ipa-fmw as maintainer.
  • Add install tags for the executable node
  • Move throttle_node to script folder. Fix typos in README.
  • Update README
  • Rewrite lazy and latched behavior implementation
  • Adapt to new parameter definition layout. Parameters are now set in the node namespace. Throttled topics have "_throttled" appended to original topic name.
  • Add ROS node for the throttle separated from the GenericThrottle implementation
  • Implement lazy behavior. Lazy and Latched behavior are disabled by default
  • Remove delay feature. Add latched behaviour (True/False).
  • Remove build dependency on rospy
  • Remove CMakeLists.txt not needed depedencies.
  • Change package to format "2" and remove not needed dependencies
  • Update README
  • Moving the python package inside src/generic_throttle. Modifying accordingly CMakeLists.txt and package.xml.
  • remove testing files
  • introduce directory layer
  • Contributors: MattiaRacca

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Package Dependencies

No dependencies on ROS packages.

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 generic_throttle at answers.ros.org