No version for distro crystal. Known supported distros are highlighted in the buttons above.
No version for distro bouncy. Known supported distros are highlighted in the buttons above.
|
rosthrottle package from rosthrottle reporosthrottle |
Package Summary
| Tags | No category tags. |
| Version | 1.2.0 |
| License | BSD |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/UTNuclearRoboticsPublic/rosthrottle.git |
| VCS Type | git |
| VCS Version | master |
| Last Updated | 2019-05-06 |
| Dev Status | MAINTAINED |
| Released | RELEASED |
Package Description
ROS Python package for throttling ROS topics programatically in Python. Sits on top of the
ros_comm topic_tools throttle utility.
Additional Links
Maintainers
- Carson Schubert
Authors
- Carson Schubert
rosthrottle
ROS Python package for throttling ROS nodes programatically in Python. Sits on top of ros_comm topic_tools throttle utility.
Use
The rosthrottle package provides two types of throttlers: MessageThrottle and Bandwidth Throttle.
MessageThrottle
Used to throttle a topic on a message frequency basis. Example:
from rosthrottle import MessageThrottle
intopic = 'in'
outtopic = 'out_throttled'
rate = 1.0
bt = MessageThrottle(intopic, outtopic, rate)
# start throttler process
pid = bt.start()
# update throttler configuration
bt.update(rate=5.0)
# kill throttler
bt.stop()
BandwidthThrottle
Used to throttle a topic on a bandwidth basis. Example:
from rosthrottle import BandwidthThrottle
intopic = 'in'
outtopic = 'out_throttled'
bandwidth = 1024
window = 1.0
bt = BandwidthThrottle(intopic, outtopic, bandwidth, window)
# start throttler process
pid = bt.start()
# update throttler configuration
bt.update(bandwidth=100)
# kill throttler
bt.stop()
See src/rosthrottle/tests/ for additional examples and documentation.
CHANGELOG
Could not convert RST to MD: No such file or directory - pandoc
Wiki Tutorials
See ROS Wiki Tutorials for more details.
Source Tutorials
Not currently indexed.
Package Dependencies
| Deps | Name | |
|---|---|---|
| 1 | catkin | |
| 2 | topic_tools |
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 rosthrottle at answers.ros.org
No version for distro lunar. 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 indigo. 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 jade. Known supported distros are highlighted in the buttons above.
No version for distro hydro. Known supported distros are highlighted in the buttons above.