moveit2 icon indicating copy to clipboard operation
moveit2 copied to clipboard

Loading servo parameters defaulting to Panda

Open skaeringur97 opened this issue 2 years ago • 1 comments

When loading servo parameters with moveit_servo::ServoParameters::makeServoParameters(node, "servo") it loads the default configurations for the Panda robot, declared in servo_parameters.h. If I use moveit_servo::ServoParameters::makeServoParameters(node) instead, it loads the configurations from my .yaml file

I would like to have it always load your own .yaml file instead and give an error if something is missing from the .yaml file. Having the default values can have hidden errors.

skaeringur97 avatar Oct 28 '22 07:10 skaeringur97

You're right, the default values are really not ideal here. We're currently working on refactoring all of MoveIt's parameters to use proper declaration and defaults using the generate_parameter_library. See https://github.com/ros-planning/moveit2/pulls?q=is%3Apr+generate_parameter_library for examples. Contributions are always welcome ;)

henningkayser avatar Nov 10 '22 16:11 henningkayser