Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cbandera/rosparam_handler
An easy wrapper for using parameters in ROS
https://github.com/cbandera/rosparam_handler
Last synced: 3 days ago
JSON representation
An easy wrapper for using parameters in ROS
- Host: GitHub
- URL: https://github.com/cbandera/rosparam_handler
- Owner: cbandera
- License: other
- Created: 2016-08-14T09:44:04.000Z (about 8 years ago)
- Default Branch: develop
- Last Pushed: 2019-08-02T12:27:16.000Z (over 5 years ago)
- Last Synced: 2024-08-03T02:02:40.312Z (3 months ago)
- Language: Python
- Size: 151 KB
- Stars: 46
- Watchers: 6
- Forks: 25
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.rst
- License: LICENSE
Awesome Lists containing this project
- awesome-ros-tools - rosparam_handler - A unified parameter handler for nodes with automatic code generation. Save time on defining your parameters. No more redundant code. Easy error checking. Make them dynamic with a single flag. ![rosparam_handler](https://img.shields.io/github/stars/cbandera/rosparam_handler.svg?style=flat&label=Star&maxAge=86400) (Development Tools)
README
# rosparam_handler
[![Build Status](https://travis-ci.org/cbandera/rosparam_handler.svg?branch=develop)](https://travis-ci.org/cbandera/rosparam_handler)## Package Summary
A unified parameter handler for nodes with automatic code generation.
Save time on defining your parameters. No more redundant code. Easy error checking. Make them dynamic with a single flag.- Maintainer status: maintained
- Maintainer: Jeremie Deray
- Author: Claudio Bandera
- License: BSD
- Bug / feature tracker: https://github.com/cbandera/rosparam_handler/issues
- Source: git https://github.com/cbandera/rosparam_handler.git (branch: master)## Unified Parameter Handling for ROS
When working with ROS and Parameters, there are a couple of tools to help you with handing Parameters to your nodes and to modify them, e.g. [Parameter Server](http://wiki.ros.org/Parameter%20Server) and [dynamic_reconfigure](http://wiki.ros.org/dynamic_reconfigure/).But with the multitude of options on where to specify your parameters, we often face the problem that we get a redundancy in our code and config files.
The `rosparam_handler` let's you:
- specify all of your parameters in a single file.
- use a generated struct to hold your parameters.
- use member method for grabbing the parameters from the parameter server.
- use member method for updating them from dynamic_reconfigure.
- make your parameters configurable with a single flag.
- set default, min and max values.
- choose between global and private namespace.
- save a lot of time on specifying your parameters in several places.
- ...in both C++ and Python !## Usage
See the Tutorials on
- [How to write your first .params file](doc/HowToWriteYourFirstParamsFile.md)
- [How to use your parameter struct](doc/HowToUseYourParameterStruct.md)
- [rosparam_handler_tutorial](https://github.com/cbandera/rosparam_handler_tutorial)## Installation
`rosparam_handler` has been released in version `0.1.3` for
- indigo
- jade (EOL - version `0.1.1`)
- kinetic
- lunarTo get the package run
`rosdep update && rosdep install rosparam_handler`## Contribution
`rosparam_handler` is developed according to Vincent Driessen's [Gitflow Workflow](http://nvie.com/posts/a-successful-git-branching-model/).
This means,
- the master branch is for releases only.
- development is done on feature branches.
- finished features are integrated via PullRequests into develop.For a PullRequest to get merged into develop, it must pass
- Review by one of the maintainers.
+ Are the changes introduces in scope of the rosparam_handler?
+ Is the documentation updated?
+ Are enough reasonable tests added?
+ Will these changes break the API?
+ Do the new changes follow the current style of naming?
- Compile / Test / Run on all target environments.## Credits
This project uses Open Source components. The code was, in large parts, built upon such existing open source software. You can find the source code of their projects along with license information below. We acknowledge and are grateful to these developers for their contributions to open source.Project: [dynamic_reconfigure](https://github.com/ros/dynamic_reconfigure)
Copyright 2015, Open Source Robotics Foundation, Inc.
License: [3-Clause BSD](https://github.com/ros/dynamic_reconfigure/blob/master/src/dynamic_reconfigure/parameter_generator_catkin.py)