No version for distro humble. Known supported distros are highlighted in the buttons above.
No version for distro jazzy. Known supported distros are highlighted in the buttons above.
No version for distro rolling. 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 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 dashing. Known supported distros are highlighted in the buttons above.
No version for distro galactic. Known supported distros are highlighted in the buttons above.
No version for distro foxy. Known supported distros are highlighted in the buttons above.
No version for distro iron. 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.
No version for distro kinetic. 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 |
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
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
Changelog for package rosthrottle
Forthcoming
- Add BSD license. Update README. Better docstrings. Update package.xml
- remove unnecessary comment in bandwidth_test
- add cleanup test. better testing README. add setup script for testing.
- Add cleanup function to ensure throttle process death on program exit
- Remove incorrect docstring line in update function
- Fix README
- add gitignore, finalize docs and tests
- v 0.1 of rosthrottle
- Initial commit
- Contributors: Carson Schubert
Wiki Tutorials
This package does not provide any links to tutorials in it's rosindex metadata.
You can check on the ROS Wiki Tutorials page for the package.
Package Dependencies
Deps | Name |
---|---|
catkin | |
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.