Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Cost function example #679

Draft
wants to merge 16 commits into
base: main
Choose a base branch
from
Draft
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ add_subdirectory(doc/how_to_guides/parallel_planning)
add_subdirectory(doc/how_to_guides/chomp_planner)
add_subdirectory(doc/how_to_guides/persistent_scenes_and_states)
add_subdirectory(doc/how_to_guides/pilz_industrial_motion_planner)
add_subdirectory(doc/how_to_guides/planner_cost_functions)
add_subdirectory(doc/how_to_guides/using_ompl_constrained_planning)
add_subdirectory(doc/tutorials/pick_and_place_with_moveit_task_constructor)
add_subdirectory(doc/tutorials/quickstart_in_rviz)
Expand Down
1 change: 1 addition & 0 deletions doc/examples/moveit_cpp/config/moveit_cpp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ planning_pipelines:
plan_request_params:
planning_attempts: 1
planning_pipeline: ompl
planner_id: "RRTConnectkConfigDefault"
max_velocity_scaling_factor: 1.0
max_acceleration_scaling_factor: 1.0
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ def generate_launch_description():
MoveItConfigsBuilder("moveit_resources_panda")
.robot_description(file_path="config/panda.urdf.xacro")
.trajectory_execution(file_path="config/gripper_moveit_controllers.yaml")
.planning_pipelines("ompl", ["ompl"])
.moveit_cpp(
file_path=get_package_share_directory("moveit2_tutorials")
+ "/config/moveit_cpp.yaml"
Expand Down
13 changes: 13 additions & 0 deletions doc/how_to_guides/planner_cost_functions/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
add_executable(planner_cost_functions_example src/planner_cost_functions_main.cpp)
target_include_directories(planner_cost_functions_example PRIVATE include)
ament_target_dependencies(planner_cost_functions_example ${THIS_PACKAGE_INCLUDE_DEPENDS} Boost)

install(TARGETS planner_cost_functions_example
DESTINATION lib/${PROJECT_NAME}
)
install(DIRECTORY launch
DESTINATION share/${PROJECT_NAME}
)
install(DIRECTORY config
DESTINATION share/${PROJECT_NAME}
)
Loading
Loading