-
Notifications
You must be signed in to change notification settings - Fork 527
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleanup planning request adapter interface (#2266)
* Use default arguments instead of additional functions * Use generate param lib for default plan request adapters * Small cleanup of ResolveConstraintFrames * Remove dublicate yaml file entry * Move list_planning_adapter_plugins into own directory * Apply suggestions from code review Co-authored-by: Sebastian Castro <[email protected]> * Fix copy& paste error * Update parameter descriptions Co-authored-by: Sebastian Castro <[email protected]> * Apply suggestions from code review Co-authored-by: Kyle Cesare <[email protected]> * EMPTY_PATH_INDEX_VECTOR -> empty_path_index_vector * Update parameter yaml * Make param listener unique * Fix build error * Use gt_eq instead of deprecated lower_bounds --------- Co-authored-by: Sebastian Castro <[email protected]> Co-authored-by: Kyle Cesare <[email protected]>
- Loading branch information
1 parent
cdf7a98
commit 830ceda
Showing
14 changed files
with
138 additions
and
181 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
add_executable(moveit_list_planning_adapter_plugins src/list_planning_adapter_plugins.cpp) | ||
ament_target_dependencies(moveit_list_planning_adapter_plugins | ||
moveit_core | ||
rclcpp | ||
pluginlib | ||
) | ||
|
||
install(TARGETS moveit_list_planning_adapter_plugins | ||
DESTINATION lib/${PROJECT_NAME} | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
...os/planning/planning_request_adapter_plugins/res/default_plan_request_adapter_params.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# This files contains the parameters for all of MoveIt's default PlanRequestAdapters | ||
default_plan_request_adapter_parameters: | ||
path_tolerance: { | ||
type: double, | ||
description: "AddTimeOptimalParameterization: Tolerance per joint in which the time parameterization is allowed to deviate from the original path.", | ||
default_value: 0.1, | ||
} | ||
resample_dt: { | ||
type: double, | ||
description: "AddTimeOptimalParameterization: Time steps between two adjacent waypoints of the parameterized trajectory. The trajectory is re-sampled from the original path.", | ||
default_value: 0.1, | ||
} | ||
min_angle_change: { | ||
type: double, | ||
description: "AddTimeOptimalParameterization: Minimum joint value change to consider two waypoints unique.", | ||
default_value: 0.001, | ||
} | ||
start_state_max_dt: { | ||
type: double, | ||
description: "FixStartStateCollision/FixStartStateBounds: Maximum temporal distance of the fixed start state from the original state.", | ||
default_value: 0.5, | ||
} | ||
jiggle_fraction: { | ||
type: double, | ||
description: "FixStartStateCollision: Joint value perturbation as a percentage of the total range of motion for the joint.", | ||
default_value: 0.02, | ||
} | ||
max_sampling_attempts: { | ||
type: int, | ||
description: "FixStartStateCollision: Maximum number of attempts to re-sample a valid start state.", | ||
default_value: 100, | ||
validation: { | ||
gt_eq<>: [ 0 ], | ||
} | ||
} | ||
start_state_max_bounds_error: { | ||
type: double, | ||
description: "FixStartStateBounds: Maximum allowable error outside joint bounds for the starting configuration.", | ||
default_value: 0.05, | ||
} | ||
default_workspace_bounds: { | ||
type: double, | ||
description: "FixWorkspaceBounds: Default workspace bounds representing a cube around the robot's origin whose edge length this parameter defines.", | ||
default_value: 10.0, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.