Skip to content

Commit

Permalink
Add validation for some parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Abishalini authored and tylerjw committed Oct 31, 2022
1 parent 28a1a8b commit c0ed1dc
Showing 1 changed file with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,18 @@ kdl_kinematics:
type: int,
default_value: 500,
description: "Maximum solver iterations",
# validation:
validation: {
gt_eq<>: [ 0.0 ]
}
}

epsilon: {
type: double,
default_value: 0.00001,
description: "Epsilon. Default is 1e-5",
# validation:
validation: {
gt<>: [ 0.0 ]
}
}

orientation_vs_position: {
Expand All @@ -36,12 +40,13 @@ kdl_kinematics:
* < 1.0: orientation has less importance than position
* > 1.0: orientation has more importance than position
* = 0.0: perform position-only IK",
# validation:
validation: {
gt_eq<>: [ 0.0 ]
}
}

position_only_ik: {
type: bool,
default_value: false,
description: "position_only_ik overrules orientation_vs_position. If true, sets orientation_vs_position weight to 0.0",
# validation:
}

0 comments on commit c0ed1dc

Please # to comment.