MoveIt Servo includes a default joint_limit_margins
that only works with a 7dof arm
#2843
Labels
bug
Something isn't working
persistent
Allows issues to remain open without automatic stalling and closing.
Description
The default value for
joint_limit_margins
in Servo is[0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1]
, which leads to it crashing confusingly for any arm with greater or fewer dofs than 7.moveit2/moveit_ros/moveit_servo/config/servo_parameters.yaml
Lines 327 to 334 in c72ac1b
Your environment
Steps to reproduce
joint_limit_margins
.Expected behaviour
Either:
The default value should be auto-populated as a vector of the same length as the active move group that contains
0.1
in each index,or
No default value should be set, and the user should be informed that they must set
joint_limit_margins
.Actual behaviour
Servo crashes with an error message telling you that you must have the same number of elements in
joint_limit_margins
and your active move group. Since you didn't setjoint_limit_margins
, it isn't present in the "parameters YAML file" mentioned in the error message, so this is a bit confusing.Backtrace or Console output
(sorry, would include as text, but was sent as a screenshot to me)
The text was updated successfully, but these errors were encountered: