|
ddynamic_reconfigure_python package from ddynamic_reconfigure_python repoddynamic_reconfigure_python |
ROS Distro
|
Package Summary
| Version | 0.0.1 |
| License | BSD |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/pal-robotics/ddynamic_reconfigure_python.git |
| VCS Type | git |
| VCS Version | master |
| Last Updated | 2020-10-30 |
| Dev Status | UNMAINTAINED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Sam Pfeiffer
- Jordi Pages
Authors
Dynamic dynamic reconfigure python
Register variables in a dynamic reconfigure server and run the server on the fly. No more .cfg files and CMakeLists.txt tinkering!
Example:
import rospy
from ddynamic_reconfigure_python.ddynamic_reconfigure import DDynamicReconfigure
def dyn_rec_callback(config, level):
rospy.loginfo("Received reconf call: " + str(config))
return config
if __name__ == '__main__':
rospy.init_node('test_ddynrec')
# Create a D(ynamic)DynamicReconfigure
ddynrec = DDynamicReconfigure("example_dyn_rec")
# Add variables (name, description, default value, min, max, edit_method)
ddynrec.add_variable("decimal", "float/double variable", 0.0, -1.0, 1.0)
ddynrec.add_variable("integer", "integer variable", 0, -1, 1)
ddynrec.add_variable("bool", "bool variable", True)
ddynrec.add_variable("string", "string variable", "string dynamic variable")
enum_method = ddynrec.enum([ ddynrec.const("Small", "int", 0, "A small constant"),
ddynrec.const("Medium", "int", 1, "A medium constant"),
ddynrec.const("Large", "int", 2, "A large constant"),
ddynrec.const("ExtraLarge", "int", 3, "An extra large constant")],
"An enum example")
ddynrec.add_variable("enumerate", "enumerate variable", 1, 0, 3, edit_method=enum_method)
# Start the server
ddynrec.start(dyn_rec_callback)
rospy.spin()
Try the example with rosrun ddynamic_reconfigure_python example.py. Run rosrun rqt_reconfigure rqt_reconfigure to play with the values.
You also have a couple of examples using it inside of a class in the scripts folder.
Changelog for package ddynamic_reconfigure_python
0.0.1 (2016-09-21)
- Add namespace to reconfigure server
- Added examples, making the api easier to use
- Initial commit
- Contributors: Sam Pfeiffer
Package Dependencies
| Deps | Name |
|---|---|
| dynamic_reconfigure | |
| rospy | |
| catkin |
System Dependencies
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged ddynamic_reconfigure_python at Robotics Stack Exchange
|
ddynamic_reconfigure_python package from ddynamic_reconfigure_python repoddynamic_reconfigure_python |
ROS Distro
|
Package Summary
| Version | 0.0.1 |
| License | BSD |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/pal-robotics/ddynamic_reconfigure_python.git |
| VCS Type | git |
| VCS Version | master |
| Last Updated | 2020-10-30 |
| Dev Status | UNMAINTAINED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Sam Pfeiffer
- Jordi Pages
Authors
Dynamic dynamic reconfigure python
Register variables in a dynamic reconfigure server and run the server on the fly. No more .cfg files and CMakeLists.txt tinkering!
Example:
import rospy
from ddynamic_reconfigure_python.ddynamic_reconfigure import DDynamicReconfigure
def dyn_rec_callback(config, level):
rospy.loginfo("Received reconf call: " + str(config))
return config
if __name__ == '__main__':
rospy.init_node('test_ddynrec')
# Create a D(ynamic)DynamicReconfigure
ddynrec = DDynamicReconfigure("example_dyn_rec")
# Add variables (name, description, default value, min, max, edit_method)
ddynrec.add_variable("decimal", "float/double variable", 0.0, -1.0, 1.0)
ddynrec.add_variable("integer", "integer variable", 0, -1, 1)
ddynrec.add_variable("bool", "bool variable", True)
ddynrec.add_variable("string", "string variable", "string dynamic variable")
enum_method = ddynrec.enum([ ddynrec.const("Small", "int", 0, "A small constant"),
ddynrec.const("Medium", "int", 1, "A medium constant"),
ddynrec.const("Large", "int", 2, "A large constant"),
ddynrec.const("ExtraLarge", "int", 3, "An extra large constant")],
"An enum example")
ddynrec.add_variable("enumerate", "enumerate variable", 1, 0, 3, edit_method=enum_method)
# Start the server
ddynrec.start(dyn_rec_callback)
rospy.spin()
Try the example with rosrun ddynamic_reconfigure_python example.py. Run rosrun rqt_reconfigure rqt_reconfigure to play with the values.
You also have a couple of examples using it inside of a class in the scripts folder.
Changelog for package ddynamic_reconfigure_python
0.0.1 (2016-09-21)
- Add namespace to reconfigure server
- Added examples, making the api easier to use
- Initial commit
- Contributors: Sam Pfeiffer
Package Dependencies
| Deps | Name |
|---|---|
| dynamic_reconfigure | |
| rospy | |
| catkin |
System Dependencies
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged ddynamic_reconfigure_python at Robotics Stack Exchange
|
ddynamic_reconfigure_python package from ddynamic_reconfigure_python repoddynamic_reconfigure_python |
ROS Distro
|
Package Summary
| Version | 0.0.1 |
| License | BSD |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/pal-robotics/ddynamic_reconfigure_python.git |
| VCS Type | git |
| VCS Version | master |
| Last Updated | 2020-10-30 |
| Dev Status | UNMAINTAINED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Sam Pfeiffer
- Jordi Pages
Authors
Dynamic dynamic reconfigure python
Register variables in a dynamic reconfigure server and run the server on the fly. No more .cfg files and CMakeLists.txt tinkering!
Example:
import rospy
from ddynamic_reconfigure_python.ddynamic_reconfigure import DDynamicReconfigure
def dyn_rec_callback(config, level):
rospy.loginfo("Received reconf call: " + str(config))
return config
if __name__ == '__main__':
rospy.init_node('test_ddynrec')
# Create a D(ynamic)DynamicReconfigure
ddynrec = DDynamicReconfigure("example_dyn_rec")
# Add variables (name, description, default value, min, max, edit_method)
ddynrec.add_variable("decimal", "float/double variable", 0.0, -1.0, 1.0)
ddynrec.add_variable("integer", "integer variable", 0, -1, 1)
ddynrec.add_variable("bool", "bool variable", True)
ddynrec.add_variable("string", "string variable", "string dynamic variable")
enum_method = ddynrec.enum([ ddynrec.const("Small", "int", 0, "A small constant"),
ddynrec.const("Medium", "int", 1, "A medium constant"),
ddynrec.const("Large", "int", 2, "A large constant"),
ddynrec.const("ExtraLarge", "int", 3, "An extra large constant")],
"An enum example")
ddynrec.add_variable("enumerate", "enumerate variable", 1, 0, 3, edit_method=enum_method)
# Start the server
ddynrec.start(dyn_rec_callback)
rospy.spin()
Try the example with rosrun ddynamic_reconfigure_python example.py. Run rosrun rqt_reconfigure rqt_reconfigure to play with the values.
You also have a couple of examples using it inside of a class in the scripts folder.
Changelog for package ddynamic_reconfigure_python
0.0.1 (2016-09-21)
- Add namespace to reconfigure server
- Added examples, making the api easier to use
- Initial commit
- Contributors: Sam Pfeiffer
Package Dependencies
| Deps | Name |
|---|---|
| dynamic_reconfigure | |
| rospy | |
| catkin |
System Dependencies
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged ddynamic_reconfigure_python at Robotics Stack Exchange
|
ddynamic_reconfigure_python package from ddynamic_reconfigure_python repoddynamic_reconfigure_python |
ROS Distro
|
Package Summary
| Version | 0.0.1 |
| License | BSD |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/pal-robotics/ddynamic_reconfigure_python.git |
| VCS Type | git |
| VCS Version | master |
| Last Updated | 2020-10-30 |
| Dev Status | UNMAINTAINED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Sam Pfeiffer
- Jordi Pages
Authors
Dynamic dynamic reconfigure python
Register variables in a dynamic reconfigure server and run the server on the fly. No more .cfg files and CMakeLists.txt tinkering!
Example:
import rospy
from ddynamic_reconfigure_python.ddynamic_reconfigure import DDynamicReconfigure
def dyn_rec_callback(config, level):
rospy.loginfo("Received reconf call: " + str(config))
return config
if __name__ == '__main__':
rospy.init_node('test_ddynrec')
# Create a D(ynamic)DynamicReconfigure
ddynrec = DDynamicReconfigure("example_dyn_rec")
# Add variables (name, description, default value, min, max, edit_method)
ddynrec.add_variable("decimal", "float/double variable", 0.0, -1.0, 1.0)
ddynrec.add_variable("integer", "integer variable", 0, -1, 1)
ddynrec.add_variable("bool", "bool variable", True)
ddynrec.add_variable("string", "string variable", "string dynamic variable")
enum_method = ddynrec.enum([ ddynrec.const("Small", "int", 0, "A small constant"),
ddynrec.const("Medium", "int", 1, "A medium constant"),
ddynrec.const("Large", "int", 2, "A large constant"),
ddynrec.const("ExtraLarge", "int", 3, "An extra large constant")],
"An enum example")
ddynrec.add_variable("enumerate", "enumerate variable", 1, 0, 3, edit_method=enum_method)
# Start the server
ddynrec.start(dyn_rec_callback)
rospy.spin()
Try the example with rosrun ddynamic_reconfigure_python example.py. Run rosrun rqt_reconfigure rqt_reconfigure to play with the values.
You also have a couple of examples using it inside of a class in the scripts folder.
Changelog for package ddynamic_reconfigure_python
0.0.1 (2016-09-21)
- Add namespace to reconfigure server
- Added examples, making the api easier to use
- Initial commit
- Contributors: Sam Pfeiffer
Package Dependencies
| Deps | Name |
|---|---|
| dynamic_reconfigure | |
| rospy | |
| catkin |
System Dependencies
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged ddynamic_reconfigure_python at Robotics Stack Exchange
|
ddynamic_reconfigure_python package from ddynamic_reconfigure_python repoddynamic_reconfigure_python |
ROS Distro
|
Package Summary
| Version | 0.0.1 |
| License | BSD |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/pal-robotics/ddynamic_reconfigure_python.git |
| VCS Type | git |
| VCS Version | master |
| Last Updated | 2020-10-30 |
| Dev Status | UNMAINTAINED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Sam Pfeiffer
- Jordi Pages
Authors
Dynamic dynamic reconfigure python
Register variables in a dynamic reconfigure server and run the server on the fly. No more .cfg files and CMakeLists.txt tinkering!
Example:
import rospy
from ddynamic_reconfigure_python.ddynamic_reconfigure import DDynamicReconfigure
def dyn_rec_callback(config, level):
rospy.loginfo("Received reconf call: " + str(config))
return config
if __name__ == '__main__':
rospy.init_node('test_ddynrec')
# Create a D(ynamic)DynamicReconfigure
ddynrec = DDynamicReconfigure("example_dyn_rec")
# Add variables (name, description, default value, min, max, edit_method)
ddynrec.add_variable("decimal", "float/double variable", 0.0, -1.0, 1.0)
ddynrec.add_variable("integer", "integer variable", 0, -1, 1)
ddynrec.add_variable("bool", "bool variable", True)
ddynrec.add_variable("string", "string variable", "string dynamic variable")
enum_method = ddynrec.enum([ ddynrec.const("Small", "int", 0, "A small constant"),
ddynrec.const("Medium", "int", 1, "A medium constant"),
ddynrec.const("Large", "int", 2, "A large constant"),
ddynrec.const("ExtraLarge", "int", 3, "An extra large constant")],
"An enum example")
ddynrec.add_variable("enumerate", "enumerate variable", 1, 0, 3, edit_method=enum_method)
# Start the server
ddynrec.start(dyn_rec_callback)
rospy.spin()
Try the example with rosrun ddynamic_reconfigure_python example.py. Run rosrun rqt_reconfigure rqt_reconfigure to play with the values.
You also have a couple of examples using it inside of a class in the scripts folder.
Changelog for package ddynamic_reconfigure_python
0.0.1 (2016-09-21)
- Add namespace to reconfigure server
- Added examples, making the api easier to use
- Initial commit
- Contributors: Sam Pfeiffer
Package Dependencies
| Deps | Name |
|---|---|
| dynamic_reconfigure | |
| rospy | |
| catkin |
System Dependencies
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged ddynamic_reconfigure_python at Robotics Stack Exchange
|
ddynamic_reconfigure_python package from ddynamic_reconfigure_python repoddynamic_reconfigure_python |
ROS Distro
|
Package Summary
| Version | 0.0.1 |
| License | BSD |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/pal-robotics/ddynamic_reconfigure_python.git |
| VCS Type | git |
| VCS Version | master |
| Last Updated | 2020-10-30 |
| Dev Status | UNMAINTAINED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Sam Pfeiffer
- Jordi Pages
Authors
Dynamic dynamic reconfigure python
Register variables in a dynamic reconfigure server and run the server on the fly. No more .cfg files and CMakeLists.txt tinkering!
Example:
import rospy
from ddynamic_reconfigure_python.ddynamic_reconfigure import DDynamicReconfigure
def dyn_rec_callback(config, level):
rospy.loginfo("Received reconf call: " + str(config))
return config
if __name__ == '__main__':
rospy.init_node('test_ddynrec')
# Create a D(ynamic)DynamicReconfigure
ddynrec = DDynamicReconfigure("example_dyn_rec")
# Add variables (name, description, default value, min, max, edit_method)
ddynrec.add_variable("decimal", "float/double variable", 0.0, -1.0, 1.0)
ddynrec.add_variable("integer", "integer variable", 0, -1, 1)
ddynrec.add_variable("bool", "bool variable", True)
ddynrec.add_variable("string", "string variable", "string dynamic variable")
enum_method = ddynrec.enum([ ddynrec.const("Small", "int", 0, "A small constant"),
ddynrec.const("Medium", "int", 1, "A medium constant"),
ddynrec.const("Large", "int", 2, "A large constant"),
ddynrec.const("ExtraLarge", "int", 3, "An extra large constant")],
"An enum example")
ddynrec.add_variable("enumerate", "enumerate variable", 1, 0, 3, edit_method=enum_method)
# Start the server
ddynrec.start(dyn_rec_callback)
rospy.spin()
Try the example with rosrun ddynamic_reconfigure_python example.py. Run rosrun rqt_reconfigure rqt_reconfigure to play with the values.
You also have a couple of examples using it inside of a class in the scripts folder.
Changelog for package ddynamic_reconfigure_python
0.0.1 (2016-09-21)
- Add namespace to reconfigure server
- Added examples, making the api easier to use
- Initial commit
- Contributors: Sam Pfeiffer
Package Dependencies
| Deps | Name |
|---|---|
| dynamic_reconfigure | |
| rospy | |
| catkin |
System Dependencies
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged ddynamic_reconfigure_python at Robotics Stack Exchange
|
ddynamic_reconfigure_python package from ddynamic_reconfigure_python repoddynamic_reconfigure_python |
ROS Distro
|
Package Summary
| Version | 0.0.1 |
| License | BSD |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/pal-robotics/ddynamic_reconfigure_python.git |
| VCS Type | git |
| VCS Version | master |
| Last Updated | 2020-10-30 |
| Dev Status | UNMAINTAINED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Sam Pfeiffer
- Jordi Pages
Authors
Dynamic dynamic reconfigure python
Register variables in a dynamic reconfigure server and run the server on the fly. No more .cfg files and CMakeLists.txt tinkering!
Example:
import rospy
from ddynamic_reconfigure_python.ddynamic_reconfigure import DDynamicReconfigure
def dyn_rec_callback(config, level):
rospy.loginfo("Received reconf call: " + str(config))
return config
if __name__ == '__main__':
rospy.init_node('test_ddynrec')
# Create a D(ynamic)DynamicReconfigure
ddynrec = DDynamicReconfigure("example_dyn_rec")
# Add variables (name, description, default value, min, max, edit_method)
ddynrec.add_variable("decimal", "float/double variable", 0.0, -1.0, 1.0)
ddynrec.add_variable("integer", "integer variable", 0, -1, 1)
ddynrec.add_variable("bool", "bool variable", True)
ddynrec.add_variable("string", "string variable", "string dynamic variable")
enum_method = ddynrec.enum([ ddynrec.const("Small", "int", 0, "A small constant"),
ddynrec.const("Medium", "int", 1, "A medium constant"),
ddynrec.const("Large", "int", 2, "A large constant"),
ddynrec.const("ExtraLarge", "int", 3, "An extra large constant")],
"An enum example")
ddynrec.add_variable("enumerate", "enumerate variable", 1, 0, 3, edit_method=enum_method)
# Start the server
ddynrec.start(dyn_rec_callback)
rospy.spin()
Try the example with rosrun ddynamic_reconfigure_python example.py. Run rosrun rqt_reconfigure rqt_reconfigure to play with the values.
You also have a couple of examples using it inside of a class in the scripts folder.
Changelog for package ddynamic_reconfigure_python
0.0.1 (2016-09-21)
- Add namespace to reconfigure server
- Added examples, making the api easier to use
- Initial commit
- Contributors: Sam Pfeiffer
Package Dependencies
| Deps | Name |
|---|---|
| dynamic_reconfigure | |
| rospy | |
| catkin |
System Dependencies
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged ddynamic_reconfigure_python at Robotics Stack Exchange
|
ddynamic_reconfigure_python package from ddynamic_reconfigure_python repoddynamic_reconfigure_python |
ROS Distro
|
Package Summary
| Version | 0.0.1 |
| License | BSD |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/pal-robotics/ddynamic_reconfigure_python.git |
| VCS Type | git |
| VCS Version | master |
| Last Updated | 2020-10-30 |
| Dev Status | UNMAINTAINED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Sam Pfeiffer
- Jordi Pages
Authors
Dynamic dynamic reconfigure python
Register variables in a dynamic reconfigure server and run the server on the fly. No more .cfg files and CMakeLists.txt tinkering!
Example:
import rospy
from ddynamic_reconfigure_python.ddynamic_reconfigure import DDynamicReconfigure
def dyn_rec_callback(config, level):
rospy.loginfo("Received reconf call: " + str(config))
return config
if __name__ == '__main__':
rospy.init_node('test_ddynrec')
# Create a D(ynamic)DynamicReconfigure
ddynrec = DDynamicReconfigure("example_dyn_rec")
# Add variables (name, description, default value, min, max, edit_method)
ddynrec.add_variable("decimal", "float/double variable", 0.0, -1.0, 1.0)
ddynrec.add_variable("integer", "integer variable", 0, -1, 1)
ddynrec.add_variable("bool", "bool variable", True)
ddynrec.add_variable("string", "string variable", "string dynamic variable")
enum_method = ddynrec.enum([ ddynrec.const("Small", "int", 0, "A small constant"),
ddynrec.const("Medium", "int", 1, "A medium constant"),
ddynrec.const("Large", "int", 2, "A large constant"),
ddynrec.const("ExtraLarge", "int", 3, "An extra large constant")],
"An enum example")
ddynrec.add_variable("enumerate", "enumerate variable", 1, 0, 3, edit_method=enum_method)
# Start the server
ddynrec.start(dyn_rec_callback)
rospy.spin()
Try the example with rosrun ddynamic_reconfigure_python example.py. Run rosrun rqt_reconfigure rqt_reconfigure to play with the values.
You also have a couple of examples using it inside of a class in the scripts folder.
Changelog for package ddynamic_reconfigure_python
0.0.1 (2016-09-21)
- Add namespace to reconfigure server
- Added examples, making the api easier to use
- Initial commit
- Contributors: Sam Pfeiffer
Package Dependencies
| Deps | Name |
|---|---|
| dynamic_reconfigure | |
| rospy | |
| catkin |
System Dependencies
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged ddynamic_reconfigure_python at Robotics Stack Exchange
|
ddynamic_reconfigure_python package from ddynamic_reconfigure_python repoddynamic_reconfigure_python |
ROS Distro
|
Package Summary
| Version | 0.0.1 |
| License | BSD |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/pal-robotics/ddynamic_reconfigure_python.git |
| VCS Type | git |
| VCS Version | master |
| Last Updated | 2020-10-30 |
| Dev Status | UNMAINTAINED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Sam Pfeiffer
- Jordi Pages
Authors
Dynamic dynamic reconfigure python
Register variables in a dynamic reconfigure server and run the server on the fly. No more .cfg files and CMakeLists.txt tinkering!
Example:
import rospy
from ddynamic_reconfigure_python.ddynamic_reconfigure import DDynamicReconfigure
def dyn_rec_callback(config, level):
rospy.loginfo("Received reconf call: " + str(config))
return config
if __name__ == '__main__':
rospy.init_node('test_ddynrec')
# Create a D(ynamic)DynamicReconfigure
ddynrec = DDynamicReconfigure("example_dyn_rec")
# Add variables (name, description, default value, min, max, edit_method)
ddynrec.add_variable("decimal", "float/double variable", 0.0, -1.0, 1.0)
ddynrec.add_variable("integer", "integer variable", 0, -1, 1)
ddynrec.add_variable("bool", "bool variable", True)
ddynrec.add_variable("string", "string variable", "string dynamic variable")
enum_method = ddynrec.enum([ ddynrec.const("Small", "int", 0, "A small constant"),
ddynrec.const("Medium", "int", 1, "A medium constant"),
ddynrec.const("Large", "int", 2, "A large constant"),
ddynrec.const("ExtraLarge", "int", 3, "An extra large constant")],
"An enum example")
ddynrec.add_variable("enumerate", "enumerate variable", 1, 0, 3, edit_method=enum_method)
# Start the server
ddynrec.start(dyn_rec_callback)
rospy.spin()
Try the example with rosrun ddynamic_reconfigure_python example.py. Run rosrun rqt_reconfigure rqt_reconfigure to play with the values.
You also have a couple of examples using it inside of a class in the scripts folder.
Changelog for package ddynamic_reconfigure_python
0.0.1 (2016-09-21)
- Add namespace to reconfigure server
- Added examples, making the api easier to use
- Initial commit
- Contributors: Sam Pfeiffer
Package Dependencies
| Deps | Name |
|---|---|
| dynamic_reconfigure | |
| rospy | |
| catkin |
System Dependencies
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged ddynamic_reconfigure_python at Robotics Stack Exchange
|
ddynamic_reconfigure_python package from ddynamic_reconfigure_python repoddynamic_reconfigure_python |
ROS Distro
|
Package Summary
| Version | 0.0.1 |
| License | BSD |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/pal-robotics/ddynamic_reconfigure_python.git |
| VCS Type | git |
| VCS Version | master |
| Last Updated | 2020-10-30 |
| Dev Status | UNMAINTAINED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Sam Pfeiffer
- Jordi Pages
Authors
Dynamic dynamic reconfigure python
Register variables in a dynamic reconfigure server and run the server on the fly. No more .cfg files and CMakeLists.txt tinkering!
Example:
import rospy
from ddynamic_reconfigure_python.ddynamic_reconfigure import DDynamicReconfigure
def dyn_rec_callback(config, level):
rospy.loginfo("Received reconf call: " + str(config))
return config
if __name__ == '__main__':
rospy.init_node('test_ddynrec')
# Create a D(ynamic)DynamicReconfigure
ddynrec = DDynamicReconfigure("example_dyn_rec")
# Add variables (name, description, default value, min, max, edit_method)
ddynrec.add_variable("decimal", "float/double variable", 0.0, -1.0, 1.0)
ddynrec.add_variable("integer", "integer variable", 0, -1, 1)
ddynrec.add_variable("bool", "bool variable", True)
ddynrec.add_variable("string", "string variable", "string dynamic variable")
enum_method = ddynrec.enum([ ddynrec.const("Small", "int", 0, "A small constant"),
ddynrec.const("Medium", "int", 1, "A medium constant"),
ddynrec.const("Large", "int", 2, "A large constant"),
ddynrec.const("ExtraLarge", "int", 3, "An extra large constant")],
"An enum example")
ddynrec.add_variable("enumerate", "enumerate variable", 1, 0, 3, edit_method=enum_method)
# Start the server
ddynrec.start(dyn_rec_callback)
rospy.spin()
Try the example with rosrun ddynamic_reconfigure_python example.py. Run rosrun rqt_reconfigure rqt_reconfigure to play with the values.
You also have a couple of examples using it inside of a class in the scripts folder.
Changelog for package ddynamic_reconfigure_python
0.0.1 (2016-09-21)
- Add namespace to reconfigure server
- Added examples, making the api easier to use
- Initial commit
- Contributors: Sam Pfeiffer
Package Dependencies
| Deps | Name |
|---|---|
| dynamic_reconfigure | |
| rospy | |
| catkin |
System Dependencies
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged ddynamic_reconfigure_python at Robotics Stack Exchange
|
ddynamic_reconfigure_python package from ddynamic_reconfigure_python repoddynamic_reconfigure_python |
ROS Distro
|
Package Summary
| Version | 0.0.1 |
| License | BSD |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/pal-robotics/ddynamic_reconfigure_python.git |
| VCS Type | git |
| VCS Version | master |
| Last Updated | 2020-10-30 |
| Dev Status | UNMAINTAINED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Sam Pfeiffer
- Jordi Pages
Authors
Dynamic dynamic reconfigure python
Register variables in a dynamic reconfigure server and run the server on the fly. No more .cfg files and CMakeLists.txt tinkering!
Example:
import rospy
from ddynamic_reconfigure_python.ddynamic_reconfigure import DDynamicReconfigure
def dyn_rec_callback(config, level):
rospy.loginfo("Received reconf call: " + str(config))
return config
if __name__ == '__main__':
rospy.init_node('test_ddynrec')
# Create a D(ynamic)DynamicReconfigure
ddynrec = DDynamicReconfigure("example_dyn_rec")
# Add variables (name, description, default value, min, max, edit_method)
ddynrec.add_variable("decimal", "float/double variable", 0.0, -1.0, 1.0)
ddynrec.add_variable("integer", "integer variable", 0, -1, 1)
ddynrec.add_variable("bool", "bool variable", True)
ddynrec.add_variable("string", "string variable", "string dynamic variable")
enum_method = ddynrec.enum([ ddynrec.const("Small", "int", 0, "A small constant"),
ddynrec.const("Medium", "int", 1, "A medium constant"),
ddynrec.const("Large", "int", 2, "A large constant"),
ddynrec.const("ExtraLarge", "int", 3, "An extra large constant")],
"An enum example")
ddynrec.add_variable("enumerate", "enumerate variable", 1, 0, 3, edit_method=enum_method)
# Start the server
ddynrec.start(dyn_rec_callback)
rospy.spin()
Try the example with rosrun ddynamic_reconfigure_python example.py. Run rosrun rqt_reconfigure rqt_reconfigure to play with the values.
You also have a couple of examples using it inside of a class in the scripts folder.
Changelog for package ddynamic_reconfigure_python
0.0.1 (2016-09-21)
- Add namespace to reconfigure server
- Added examples, making the api easier to use
- Initial commit
- Contributors: Sam Pfeiffer
Package Dependencies
| Deps | Name |
|---|---|
| dynamic_reconfigure | |
| rospy | |
| catkin |
System Dependencies
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged ddynamic_reconfigure_python at Robotics Stack Exchange
|
ddynamic_reconfigure_python package from ddynamic_reconfigure_python repoddynamic_reconfigure_python |
ROS Distro
|
Package Summary
| Version | 0.0.1 |
| License | BSD |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/pal-robotics/ddynamic_reconfigure_python.git |
| VCS Type | git |
| VCS Version | master |
| Last Updated | 2020-10-30 |
| Dev Status | UNMAINTAINED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Sam Pfeiffer
- Jordi Pages
Authors
Dynamic dynamic reconfigure python
Register variables in a dynamic reconfigure server and run the server on the fly. No more .cfg files and CMakeLists.txt tinkering!
Example:
import rospy
from ddynamic_reconfigure_python.ddynamic_reconfigure import DDynamicReconfigure
def dyn_rec_callback(config, level):
rospy.loginfo("Received reconf call: " + str(config))
return config
if __name__ == '__main__':
rospy.init_node('test_ddynrec')
# Create a D(ynamic)DynamicReconfigure
ddynrec = DDynamicReconfigure("example_dyn_rec")
# Add variables (name, description, default value, min, max, edit_method)
ddynrec.add_variable("decimal", "float/double variable", 0.0, -1.0, 1.0)
ddynrec.add_variable("integer", "integer variable", 0, -1, 1)
ddynrec.add_variable("bool", "bool variable", True)
ddynrec.add_variable("string", "string variable", "string dynamic variable")
enum_method = ddynrec.enum([ ddynrec.const("Small", "int", 0, "A small constant"),
ddynrec.const("Medium", "int", 1, "A medium constant"),
ddynrec.const("Large", "int", 2, "A large constant"),
ddynrec.const("ExtraLarge", "int", 3, "An extra large constant")],
"An enum example")
ddynrec.add_variable("enumerate", "enumerate variable", 1, 0, 3, edit_method=enum_method)
# Start the server
ddynrec.start(dyn_rec_callback)
rospy.spin()
Try the example with rosrun ddynamic_reconfigure_python example.py. Run rosrun rqt_reconfigure rqt_reconfigure to play with the values.
You also have a couple of examples using it inside of a class in the scripts folder.
Changelog for package ddynamic_reconfigure_python
0.0.1 (2016-09-21)
- Add namespace to reconfigure server
- Added examples, making the api easier to use
- Initial commit
- Contributors: Sam Pfeiffer
Package Dependencies
| Deps | Name |
|---|---|
| dynamic_reconfigure | |
| rospy | |
| catkin |
System Dependencies
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged ddynamic_reconfigure_python at Robotics Stack Exchange
|
ddynamic_reconfigure_python package from ddynamic_reconfigure_python repoddynamic_reconfigure_python |
ROS Distro
|
Package Summary
| Version | 0.0.1 |
| License | BSD |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/pal-robotics/ddynamic_reconfigure_python.git |
| VCS Type | git |
| VCS Version | master |
| Last Updated | 2020-10-30 |
| Dev Status | UNMAINTAINED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Sam Pfeiffer
- Jordi Pages
Authors
Dynamic dynamic reconfigure python
Register variables in a dynamic reconfigure server and run the server on the fly. No more .cfg files and CMakeLists.txt tinkering!
Example:
import rospy
from ddynamic_reconfigure_python.ddynamic_reconfigure import DDynamicReconfigure
def dyn_rec_callback(config, level):
rospy.loginfo("Received reconf call: " + str(config))
return config
if __name__ == '__main__':
rospy.init_node('test_ddynrec')
# Create a D(ynamic)DynamicReconfigure
ddynrec = DDynamicReconfigure("example_dyn_rec")
# Add variables (name, description, default value, min, max, edit_method)
ddynrec.add_variable("decimal", "float/double variable", 0.0, -1.0, 1.0)
ddynrec.add_variable("integer", "integer variable", 0, -1, 1)
ddynrec.add_variable("bool", "bool variable", True)
ddynrec.add_variable("string", "string variable", "string dynamic variable")
enum_method = ddynrec.enum([ ddynrec.const("Small", "int", 0, "A small constant"),
ddynrec.const("Medium", "int", 1, "A medium constant"),
ddynrec.const("Large", "int", 2, "A large constant"),
ddynrec.const("ExtraLarge", "int", 3, "An extra large constant")],
"An enum example")
ddynrec.add_variable("enumerate", "enumerate variable", 1, 0, 3, edit_method=enum_method)
# Start the server
ddynrec.start(dyn_rec_callback)
rospy.spin()
Try the example with rosrun ddynamic_reconfigure_python example.py. Run rosrun rqt_reconfigure rqt_reconfigure to play with the values.
You also have a couple of examples using it inside of a class in the scripts folder.
Changelog for package ddynamic_reconfigure_python
0.0.1 (2016-09-21)
- Add namespace to reconfigure server
- Added examples, making the api easier to use
- Initial commit
- Contributors: Sam Pfeiffer
Package Dependencies
| Deps | Name |
|---|---|
| dynamic_reconfigure | |
| rospy | |
| catkin |
System Dependencies
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged ddynamic_reconfigure_python at Robotics Stack Exchange
|
ddynamic_reconfigure_python package from ddynamic_reconfigure_python repoddynamic_reconfigure_python |
ROS Distro
|
Package Summary
| Version | 0.0.1 |
| License | BSD |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/pal-robotics/ddynamic_reconfigure_python.git |
| VCS Type | git |
| VCS Version | master |
| Last Updated | 2020-10-30 |
| Dev Status | UNMAINTAINED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Sam Pfeiffer
- Jordi Pages
Authors
Dynamic dynamic reconfigure python
Register variables in a dynamic reconfigure server and run the server on the fly. No more .cfg files and CMakeLists.txt tinkering!
Example:
import rospy
from ddynamic_reconfigure_python.ddynamic_reconfigure import DDynamicReconfigure
def dyn_rec_callback(config, level):
rospy.loginfo("Received reconf call: " + str(config))
return config
if __name__ == '__main__':
rospy.init_node('test_ddynrec')
# Create a D(ynamic)DynamicReconfigure
ddynrec = DDynamicReconfigure("example_dyn_rec")
# Add variables (name, description, default value, min, max, edit_method)
ddynrec.add_variable("decimal", "float/double variable", 0.0, -1.0, 1.0)
ddynrec.add_variable("integer", "integer variable", 0, -1, 1)
ddynrec.add_variable("bool", "bool variable", True)
ddynrec.add_variable("string", "string variable", "string dynamic variable")
enum_method = ddynrec.enum([ ddynrec.const("Small", "int", 0, "A small constant"),
ddynrec.const("Medium", "int", 1, "A medium constant"),
ddynrec.const("Large", "int", 2, "A large constant"),
ddynrec.const("ExtraLarge", "int", 3, "An extra large constant")],
"An enum example")
ddynrec.add_variable("enumerate", "enumerate variable", 1, 0, 3, edit_method=enum_method)
# Start the server
ddynrec.start(dyn_rec_callback)
rospy.spin()
Try the example with rosrun ddynamic_reconfigure_python example.py. Run rosrun rqt_reconfigure rqt_reconfigure to play with the values.
You also have a couple of examples using it inside of a class in the scripts folder.
Changelog for package ddynamic_reconfigure_python
0.0.1 (2016-09-21)
- Add namespace to reconfigure server
- Added examples, making the api easier to use
- Initial commit
- Contributors: Sam Pfeiffer
Package Dependencies
| Deps | Name |
|---|---|
| dynamic_reconfigure | |
| rospy | |
| catkin |
System Dependencies
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged ddynamic_reconfigure_python at Robotics Stack Exchange
|
ddynamic_reconfigure_python package from ddynamic_reconfigure_python repoddynamic_reconfigure_python |
ROS Distro
|
Package Summary
| Version | 0.0.1 |
| License | BSD |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/pal-robotics/ddynamic_reconfigure_python.git |
| VCS Type | git |
| VCS Version | master |
| Last Updated | 2020-10-30 |
| Dev Status | UNMAINTAINED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Sam Pfeiffer
- Jordi Pages
Authors
Dynamic dynamic reconfigure python
Register variables in a dynamic reconfigure server and run the server on the fly. No more .cfg files and CMakeLists.txt tinkering!
Example:
import rospy
from ddynamic_reconfigure_python.ddynamic_reconfigure import DDynamicReconfigure
def dyn_rec_callback(config, level):
rospy.loginfo("Received reconf call: " + str(config))
return config
if __name__ == '__main__':
rospy.init_node('test_ddynrec')
# Create a D(ynamic)DynamicReconfigure
ddynrec = DDynamicReconfigure("example_dyn_rec")
# Add variables (name, description, default value, min, max, edit_method)
ddynrec.add_variable("decimal", "float/double variable", 0.0, -1.0, 1.0)
ddynrec.add_variable("integer", "integer variable", 0, -1, 1)
ddynrec.add_variable("bool", "bool variable", True)
ddynrec.add_variable("string", "string variable", "string dynamic variable")
enum_method = ddynrec.enum([ ddynrec.const("Small", "int", 0, "A small constant"),
ddynrec.const("Medium", "int", 1, "A medium constant"),
ddynrec.const("Large", "int", 2, "A large constant"),
ddynrec.const("ExtraLarge", "int", 3, "An extra large constant")],
"An enum example")
ddynrec.add_variable("enumerate", "enumerate variable", 1, 0, 3, edit_method=enum_method)
# Start the server
ddynrec.start(dyn_rec_callback)
rospy.spin()
Try the example with rosrun ddynamic_reconfigure_python example.py. Run rosrun rqt_reconfigure rqt_reconfigure to play with the values.
You also have a couple of examples using it inside of a class in the scripts folder.
Changelog for package ddynamic_reconfigure_python
0.0.1 (2016-09-21)
- Add namespace to reconfigure server
- Added examples, making the api easier to use
- Initial commit
- Contributors: Sam Pfeiffer
Package Dependencies
| Deps | Name |
|---|---|
| dynamic_reconfigure | |
| rospy | |
| catkin |
System Dependencies
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged ddynamic_reconfigure_python at Robotics Stack Exchange
|
ddynamic_reconfigure_python package from ddynamic_reconfigure_python repoddynamic_reconfigure_python |
ROS Distro
|
Package Summary
| Version | 0.0.1 |
| License | BSD |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/pal-robotics/ddynamic_reconfigure_python.git |
| VCS Type | git |
| VCS Version | master |
| Last Updated | 2020-10-30 |
| Dev Status | UNMAINTAINED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Sam Pfeiffer
- Jordi Pages
Authors
Dynamic dynamic reconfigure python
Register variables in a dynamic reconfigure server and run the server on the fly. No more .cfg files and CMakeLists.txt tinkering!
Example:
import rospy
from ddynamic_reconfigure_python.ddynamic_reconfigure import DDynamicReconfigure
def dyn_rec_callback(config, level):
rospy.loginfo("Received reconf call: " + str(config))
return config
if __name__ == '__main__':
rospy.init_node('test_ddynrec')
# Create a D(ynamic)DynamicReconfigure
ddynrec = DDynamicReconfigure("example_dyn_rec")
# Add variables (name, description, default value, min, max, edit_method)
ddynrec.add_variable("decimal", "float/double variable", 0.0, -1.0, 1.0)
ddynrec.add_variable("integer", "integer variable", 0, -1, 1)
ddynrec.add_variable("bool", "bool variable", True)
ddynrec.add_variable("string", "string variable", "string dynamic variable")
enum_method = ddynrec.enum([ ddynrec.const("Small", "int", 0, "A small constant"),
ddynrec.const("Medium", "int", 1, "A medium constant"),
ddynrec.const("Large", "int", 2, "A large constant"),
ddynrec.const("ExtraLarge", "int", 3, "An extra large constant")],
"An enum example")
ddynrec.add_variable("enumerate", "enumerate variable", 1, 0, 3, edit_method=enum_method)
# Start the server
ddynrec.start(dyn_rec_callback)
rospy.spin()
Try the example with rosrun ddynamic_reconfigure_python example.py. Run rosrun rqt_reconfigure rqt_reconfigure to play with the values.
You also have a couple of examples using it inside of a class in the scripts folder.
Changelog for package ddynamic_reconfigure_python
0.0.1 (2016-09-21)
- Add namespace to reconfigure server
- Added examples, making the api easier to use
- Initial commit
- Contributors: Sam Pfeiffer
Package Dependencies
| Deps | Name |
|---|---|
| dynamic_reconfigure | |
| rospy | |
| catkin |
System Dependencies
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged ddynamic_reconfigure_python at Robotics Stack Exchange
|
ddynamic_reconfigure_python package from ddynamic_reconfigure_python repoddynamic_reconfigure_python |
ROS Distro
|
Package Summary
| Version | 0.0.1 |
| License | BSD |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/pal-robotics/ddynamic_reconfigure_python.git |
| VCS Type | git |
| VCS Version | master |
| Last Updated | 2020-10-30 |
| Dev Status | UNMAINTAINED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Sam Pfeiffer
- Jordi Pages
Authors
Dynamic dynamic reconfigure python
Register variables in a dynamic reconfigure server and run the server on the fly. No more .cfg files and CMakeLists.txt tinkering!
Example:
import rospy
from ddynamic_reconfigure_python.ddynamic_reconfigure import DDynamicReconfigure
def dyn_rec_callback(config, level):
rospy.loginfo("Received reconf call: " + str(config))
return config
if __name__ == '__main__':
rospy.init_node('test_ddynrec')
# Create a D(ynamic)DynamicReconfigure
ddynrec = DDynamicReconfigure("example_dyn_rec")
# Add variables (name, description, default value, min, max, edit_method)
ddynrec.add_variable("decimal", "float/double variable", 0.0, -1.0, 1.0)
ddynrec.add_variable("integer", "integer variable", 0, -1, 1)
ddynrec.add_variable("bool", "bool variable", True)
ddynrec.add_variable("string", "string variable", "string dynamic variable")
enum_method = ddynrec.enum([ ddynrec.const("Small", "int", 0, "A small constant"),
ddynrec.const("Medium", "int", 1, "A medium constant"),
ddynrec.const("Large", "int", 2, "A large constant"),
ddynrec.const("ExtraLarge", "int", 3, "An extra large constant")],
"An enum example")
ddynrec.add_variable("enumerate", "enumerate variable", 1, 0, 3, edit_method=enum_method)
# Start the server
ddynrec.start(dyn_rec_callback)
rospy.spin()
Try the example with rosrun ddynamic_reconfigure_python example.py. Run rosrun rqt_reconfigure rqt_reconfigure to play with the values.
You also have a couple of examples using it inside of a class in the scripts folder.
Changelog for package ddynamic_reconfigure_python
0.0.1 (2016-09-21)
- Add namespace to reconfigure server
- Added examples, making the api easier to use
- Initial commit
- Contributors: Sam Pfeiffer
Package Dependencies
| Deps | Name |
|---|---|
| dynamic_reconfigure | |
| rospy | |
| catkin |
System Dependencies
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged ddynamic_reconfigure_python at Robotics Stack Exchange
|
ddynamic_reconfigure_python package from ddynamic_reconfigure_python repoddynamic_reconfigure_python |
ROS Distro
|
Package Summary
| Version | 0.0.1 |
| License | BSD |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/pal-robotics/ddynamic_reconfigure_python.git |
| VCS Type | git |
| VCS Version | master |
| Last Updated | 2020-10-30 |
| Dev Status | UNMAINTAINED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Sam Pfeiffer
- Jordi Pages
Authors
Dynamic dynamic reconfigure python
Register variables in a dynamic reconfigure server and run the server on the fly. No more .cfg files and CMakeLists.txt tinkering!
Example:
import rospy
from ddynamic_reconfigure_python.ddynamic_reconfigure import DDynamicReconfigure
def dyn_rec_callback(config, level):
rospy.loginfo("Received reconf call: " + str(config))
return config
if __name__ == '__main__':
rospy.init_node('test_ddynrec')
# Create a D(ynamic)DynamicReconfigure
ddynrec = DDynamicReconfigure("example_dyn_rec")
# Add variables (name, description, default value, min, max, edit_method)
ddynrec.add_variable("decimal", "float/double variable", 0.0, -1.0, 1.0)
ddynrec.add_variable("integer", "integer variable", 0, -1, 1)
ddynrec.add_variable("bool", "bool variable", True)
ddynrec.add_variable("string", "string variable", "string dynamic variable")
enum_method = ddynrec.enum([ ddynrec.const("Small", "int", 0, "A small constant"),
ddynrec.const("Medium", "int", 1, "A medium constant"),
ddynrec.const("Large", "int", 2, "A large constant"),
ddynrec.const("ExtraLarge", "int", 3, "An extra large constant")],
"An enum example")
ddynrec.add_variable("enumerate", "enumerate variable", 1, 0, 3, edit_method=enum_method)
# Start the server
ddynrec.start(dyn_rec_callback)
rospy.spin()
Try the example with rosrun ddynamic_reconfigure_python example.py. Run rosrun rqt_reconfigure rqt_reconfigure to play with the values.
You also have a couple of examples using it inside of a class in the scripts folder.
Changelog for package ddynamic_reconfigure_python
0.0.1 (2016-09-21)
- Add namespace to reconfigure server
- Added examples, making the api easier to use
- Initial commit
- Contributors: Sam Pfeiffer
Package Dependencies
| Deps | Name |
|---|---|
| dynamic_reconfigure | |
| rospy | |
| catkin |
System Dependencies
Dependant Packages
| Name | Deps |
|---|---|
| rc_reason_clients |
Launch files
Messages
Services
Plugins
Recent questions tagged ddynamic_reconfigure_python at Robotics Stack Exchange
|
ddynamic_reconfigure_python package from ddynamic_reconfigure_python repoddynamic_reconfigure_python |
ROS Distro
|
Package Summary
| Version | 0.0.1 |
| License | BSD |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/pal-robotics/ddynamic_reconfigure_python.git |
| VCS Type | git |
| VCS Version | master |
| Last Updated | 2020-10-30 |
| Dev Status | UNMAINTAINED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Sam Pfeiffer
- Jordi Pages
Authors
Dynamic dynamic reconfigure python
Register variables in a dynamic reconfigure server and run the server on the fly. No more .cfg files and CMakeLists.txt tinkering!
Example:
import rospy
from ddynamic_reconfigure_python.ddynamic_reconfigure import DDynamicReconfigure
def dyn_rec_callback(config, level):
rospy.loginfo("Received reconf call: " + str(config))
return config
if __name__ == '__main__':
rospy.init_node('test_ddynrec')
# Create a D(ynamic)DynamicReconfigure
ddynrec = DDynamicReconfigure("example_dyn_rec")
# Add variables (name, description, default value, min, max, edit_method)
ddynrec.add_variable("decimal", "float/double variable", 0.0, -1.0, 1.0)
ddynrec.add_variable("integer", "integer variable", 0, -1, 1)
ddynrec.add_variable("bool", "bool variable", True)
ddynrec.add_variable("string", "string variable", "string dynamic variable")
enum_method = ddynrec.enum([ ddynrec.const("Small", "int", 0, "A small constant"),
ddynrec.const("Medium", "int", 1, "A medium constant"),
ddynrec.const("Large", "int", 2, "A large constant"),
ddynrec.const("ExtraLarge", "int", 3, "An extra large constant")],
"An enum example")
ddynrec.add_variable("enumerate", "enumerate variable", 1, 0, 3, edit_method=enum_method)
# Start the server
ddynrec.start(dyn_rec_callback)
rospy.spin()
Try the example with rosrun ddynamic_reconfigure_python example.py. Run rosrun rqt_reconfigure rqt_reconfigure to play with the values.
You also have a couple of examples using it inside of a class in the scripts folder.
Changelog for package ddynamic_reconfigure_python
0.0.1 (2016-09-21)
- Add namespace to reconfigure server
- Added examples, making the api easier to use
- Initial commit
- Contributors: Sam Pfeiffer
Package Dependencies
| Deps | Name |
|---|---|
| dynamic_reconfigure | |
| rospy | |
| catkin |
System Dependencies
Dependant Packages
| Name | Deps |
|---|---|
| rc_reason_clients |