Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
24414da
Update format.yml
mosfet80 Aug 9, 2024
785ad30
Update jupyter_notebook_prototyping.launch.py
mosfet80 Aug 9, 2024
decf541
Update motion_planning_python_api_tutorial.launch.py
mosfet80 Aug 9, 2024
33edf67
Merge branch 'moveit:main' into main
mosfet80 Aug 10, 2024
f5b5761
Merge branch 'moveit:main' into main
mosfet80 Aug 14, 2024
abc02a3
Merge branch 'moveit:main' into main
mosfet80 Aug 20, 2024
adcf107
Merge branch 'moveit:main' into main
mosfet80 Aug 26, 2024
dbfbbf9
Merge branch 'moveit:main' into main
mosfet80 Aug 27, 2024
7a1fd04
Merge branch 'moveit:main' into main
mosfet80 Aug 29, 2024
e5926d0
Merge branch 'moveit:main' into main
mosfet80 Sep 7, 2024
861cbc8
Merge branch 'moveit:main' into main
mosfet80 Sep 9, 2024
6814672
Merge branch 'moveit:main' into main
mosfet80 Sep 9, 2024
c60a7db
Merge branch 'moveit:main' into main
mosfet80 Sep 9, 2024
7aeb236
Merge branch 'moveit:main' into main
mosfet80 Sep 14, 2024
2f839fc
Merge branch 'moveit:main' into main
mosfet80 Sep 17, 2024
1917b12
Merge branch 'moveit:main' into main
mosfet80 Sep 17, 2024
8c77551
Merge branch 'moveit:main' into main
mosfet80 Sep 18, 2024
106a56d
Merge branch 'moveit:main' into main
mosfet80 Sep 30, 2024
9a2378e
Merge branch 'moveit:main' into main
mosfet80 Oct 12, 2024
31d8499
Merge branch 'moveit:main' into main
mosfet80 Oct 25, 2024
28e09f8
Merge branch 'moveit:main' into main
mosfet80 Nov 6, 2024
fc61ad8
Merge branch 'moveit:main' into main
mosfet80 Nov 18, 2024
f0213bc
Merge branch 'moveit:main' into main
mosfet80 Nov 24, 2024
5dce41c
Merge branch 'moveit:main' into main
mosfet80 Nov 28, 2024
0c91aab
Merge branch 'moveit:main' into main
mosfet80 Dec 31, 2024
274eb49
Merge branch 'moveit:main' into main
mosfet80 Jan 4, 2025
6eae7bf
Merge branch 'moveit:main' into main
mosfet80 Jan 7, 2025
29f41f0
Merge branch 'moveit:main' into main
mosfet80 Jan 14, 2025
41f19f0
Merge branch 'moveit:main' into main
mosfet80 Jan 19, 2025
424b5ab
Merge branch 'moveit:main' into main
mosfet80 Jan 22, 2025
9664b21
Merge branch 'moveit:main' into main
mosfet80 Jan 26, 2025
8e0ff1d
Merge branch 'moveit:main' into main
mosfet80 Jan 28, 2025
2e4944d
Merge branch 'moveit:main' into main
mosfet80 Feb 9, 2025
2357f79
Merge branch 'moveit:main' into main
mosfet80 Feb 23, 2025
3aca3b0
Merge branch 'moveit:main' into main
mosfet80 Mar 27, 2025
468edc9
Merge branch 'moveit:main' into main
mosfet80 Apr 2, 2025
8769244
Merge branch 'moveit:main' into main
mosfet80 Apr 9, 2025
ef32527
Merge branch 'moveit:main' into main
mosfet80 Apr 13, 2025
967d7ae
Merge branch 'moveit:main' into main
mosfet80 Apr 15, 2025
2bcf9b2
Merge branch 'moveit:main' into main
mosfet80 Apr 23, 2025
57b47e4
Merge branch 'moveit:main' into main
mosfet80 Apr 28, 2025
8d9fb54
Merge branch 'moveit:main' into main
mosfet80 Jul 1, 2025
7c29354
Merge branch 'moveit:main' into main
mosfet80 Nov 11, 2025
860c052
fix ament_target_deprecation
mosfet80 Oct 14, 2025
512dc47
Upgrade GitHub Actions to version 6
mosfet80 May 20, 2026
8e25cdf
Downgrade actions/cache from v6 to v5
mosfet80 May 20, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ jobs:
name: ${{ matrix.env.IMAGE }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: cache upstream_ws
uses: actions/cache@v4
uses: actions/cache@v5
with:
save-always: true
path: ${{ env.BASEDIR }}/upstream_ws
Expand All @@ -49,15 +49,15 @@ jobs:
# The target directory cache doesn't include the source directory because
# that comes from the checkout. See "prepare target_ws for cache" task below
- name: cache target_ws
uses: actions/cache@v4
uses: actions/cache@v5
with:
save-always: true
path: ${{ env.BASEDIR }}/target_ws
key: target_ws-${{ env.CACHE_PREFIX }}-${{ hashFiles('**/CMakeLists.txt', '**/package.xml') }}-${{ github.run_id }}
restore-keys: |
target_ws-${{ env.CACHE_PREFIX }}-${{ hashFiles('**/CMakeLists.txt', '**/package.xml') }}
- name: cache ccache
uses: actions/cache@v4
uses: actions/cache@v5
with:
save-always: true
path: ${{ env.CCACHE_DIR }}
Expand Down
15 changes: 9 additions & 6 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@
# This is a format job. Pre-commit has a first-party GitHub action, so we use
# that: https://github.com/pre-commit/action

name: Format
name: Formatting (pre-commit)

on:
workflow_dispatch:
pull_request:
merge_group:
push:
branches:
- main
- humble

permissions:
contents: read # to fetch code (actions/checkout)

jobs:
pre-commit:
name: Format
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand All @@ -26,3 +23,9 @@ jobs:
- name: Install clang-format-14
run: sudo apt-get install clang-format-14
- uses: pre-commit/action@v3.0.1
id: precommit
- name: Upload pre-commit changes
if: failure() && steps.precommit.outcome == 'failure'
uses: rhaschke/upload-git-patch-action@main
with:
name: pre-commit
15 changes: 7 additions & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ project(moveit2_tutorials)

# Common cmake code applied to all moveit packages
find_package(moveit_common REQUIRED)
find_package(OpenSSL REQUIRED)

moveit_package()

set(THIS_PACKAGE_INCLUDE_DIRS
Expand All @@ -20,14 +22,14 @@ set(THIS_PACKAGE_INCLUDE_DEPENDS
moveit_ros_planning
moveit_ros_planning_interface
moveit_ros_trajectory_cache
moveit_servo
moveit_task_constructor_core
moveit_visual_tools
# moveit_servo
# moveit_task_constructor_core
# moveit_visual_tools
pluginlib
rclcpp
rclcpp_action
rviz_visual_tools
tf2_geometry_msgs
# rviz_visual_tools
# tf2_geometry_msgs
tf2_geometry_msgs
tf2_ros
warehouse_ros_sqlite
Expand Down Expand Up @@ -77,9 +79,6 @@ add_subdirectory(doc/tutorials/pick_and_place_with_moveit_task_constructor)
add_subdirectory(doc/tutorials/quickstart_in_rviz)
add_subdirectory(doc/how_to_guides/pick_ik)

ament_export_dependencies(
${THIS_PACKAGE_INCLUDE_DEPENDS}
)

ament_export_include_directories(include)

Expand Down
6 changes: 0 additions & 6 deletions doc/examples/bullet_collision_checker/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,4 @@ add_executable(bullet_collision_checker_tutorial
target_link_libraries(bullet_collision_checker_tutorial
${interactive_markers_LIBRARIES}
interactivity_utils
${catkin_LIBRARIES}
${Boost_LIBRARIES})

install(TARGETS bullet_collision_checker_tutorial
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})

install(DIRECTORY launch DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})
4 changes: 2 additions & 2 deletions doc/examples/collision_environments/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@

add_executable(collision_scene_example
src/collision_scene_example.cpp)
target_include_directories(collision_scene_example
PUBLIC include)
ament_target_dependencies(collision_scene_example
${THIS_PACKAGE_INCLUDE_DEPENDS} Boost)
target_link_libraries(collision_scene_example PUBLIC rclcpp::rclcpp moveit_ros_planning_interface::moveit_move_group_interface)

install(TARGETS collision_scene_example
ARCHIVE DESTINATION lib
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
include_directories(include)
include_directories(
SYSTEM
${catkin_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
)

add_executable(lerp_example src/lerp_example.cpp)
target_link_libraries(lerp_example
${catkin_LIBRARIES}
${Boost_LIBRARIES}
)

Expand All @@ -17,39 +15,8 @@ add_library(moveit_lerp_planner_plugin
src/lerp_interface.cpp
src/lerp_planning_context.cpp)
set_target_properties(moveit_lerp_planner_plugin PROPERTIES VERSION "${${PROJECT_NAME}_VERSION}")
target_link_libraries(moveit_lerp_planner_plugin ${catkin_LIBRARIES} ${Boost_LIBRARIES})
target_link_libraries(moveit_lerp_planner_plugin ${Boost_LIBRARIES})

#############
## Install ##
#############

# Mark executables and/or libraries for installation
install(
TARGETS
moveit_lerp_planner_plugin
ARCHIVE DESTINATION
${CATKIN_PACKAGE_LIB_DESTINATION}
LIBRARY DESTINATION
${CATKIN_PACKAGE_LIB_DESTINATION}
RUNTIME DESTINATION
${CATKIN_PACKAGE_BIN_DESTINATION}
)

# Mark cpp header files for installation
install(
DIRECTORY
include
DESTINATION
${CATKIN_PACKAGE_INCLUDE_DESTINATION}
)

# Mark roslaunch files for installation
install(
DIRECTORY
launch
DESTINATION
${CATKIN_PACKAGE_SHARE_DESTINATION}
)
#catkin_lint ignore uninstalled_plugin
install(FILES lerp_interface_plugin_description.xml
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/doc/creating_moveit_plugins/lerp_motion_planner/)
19 changes: 0 additions & 19 deletions doc/examples/interactivity/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,6 @@ add_library(${INTERACTIVITY_LIB_NAME}
src/pose_string.cpp
)

# add_executable(interactivity_tutorial
# src/interactivity_tutorial.cpp
# src/interactive_robot.cpp
# src/imarker.cpp
# src/pose_string.cpp
# )
# target_link_libraries(interactivity_tutorial
# ${catkin_LIBRARIES}
# ${Boost_LIBRARIES}
# ${interactive_markers_LIBRARIES}
# )
#
# add_executable(attached_body_tutorial
# src/attached_body_tutorial.cpp
# src/interactive_robot.cpp
# src/imarker.cpp
# src/pose_string.cpp
# )

target_link_libraries(
${INTERACTIVITY_LIB_NAME}
${catkin_LIBRARIES}
Expand Down
12 changes: 10 additions & 2 deletions doc/examples/motion_planning_api/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
find_package(graph_msgs REQUIRED)
find_package(moveit_msgs REQUIRED)
find_package(moveit_ros_planning REQUIRED)
find_package(moveit_visual_tools REQUIRED)
find_package(rviz_visual_tools REQUIRED)
add_executable(motion_planning_api_tutorial
src/motion_planning_api_tutorial.cpp)
target_include_directories(motion_planning_api_tutorial
PUBLIC include)
ament_target_dependencies(motion_planning_api_tutorial
${THIS_PACKAGE_INCLUDE_DEPENDS} Boost)
target_link_libraries(motion_planning_api_tutorial PUBLIC
${graph_msgs_TARGETS}
pluginlib::pluginlib moveit_ros_planning::moveit_robot_model_loader moveit_visual_tools::moveit_visual_tools
moveit_ros_planning_interface::moveit_move_group_interface
)

install(TARGETS motion_planning_api_tutorial
DESTINATION lib/${PROJECT_NAME}
Expand Down
10 changes: 8 additions & 2 deletions doc/examples/motion_planning_pipeline/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
find_package(graph_msgs REQUIRED)
find_package(moveit_visual_tools REQUIRED)
find_package(rviz_visual_tools REQUIRED)

add_executable(motion_planning_pipeline_tutorial
src/motion_planning_pipeline_tutorial.cpp)
target_include_directories(motion_planning_pipeline_tutorial
PUBLIC include)
ament_target_dependencies(motion_planning_pipeline_tutorial
${THIS_PACKAGE_INCLUDE_DEPENDS})
target_link_libraries(motion_planning_pipeline_tutorial PUBLIC
${graph_msgs_TARGETS}
pluginlib::pluginlib moveit_ros_planning::moveit_robot_model_loader
moveit_visual_tools::moveit_visual_tools rviz_visual_tools::rviz_visual_tools)

install(TARGETS motion_planning_pipeline_tutorial
DESTINATION lib/${PROJECT_NAME}
Expand Down
4 changes: 4 additions & 0 deletions doc/examples/motion_planning_python_api/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
find_package(graph_msgs REQUIRED)
find_package(moveit_visual_tools REQUIRED)
find_package(rviz_visual_tools REQUIRED)

install(PROGRAMS
scripts/motion_planning_python_api_tutorial.py
scripts/motion_planning_python_api_planning_scene.py
Expand Down
8 changes: 6 additions & 2 deletions doc/examples/move_group_interface/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
find_package(graph_msgs REQUIRED)
find_package(moveit_visual_tools REQUIRED)
find_package(rviz_visual_tools REQUIRED)

add_executable(move_group_interface_tutorial
src/move_group_interface_tutorial.cpp)
target_include_directories(move_group_interface_tutorial
PUBLIC include)
ament_target_dependencies(move_group_interface_tutorial
${THIS_PACKAGE_INCLUDE_DEPENDS} Boost)
target_link_libraries(move_group_interface_tutorial PUBLIC moveit_ros_move_group::moveit_move_group_capabilities_base
moveit_ros_planning_interface::moveit_move_group_interface moveit_visual_tools::moveit_visual_tools)

install(TARGETS move_group_interface_tutorial
DESTINATION lib/${PROJECT_NAME}
Expand Down
6 changes: 5 additions & 1 deletion doc/examples/moveit_cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
find_package(graph_msgs REQUIRED)
find_package(moveit_visual_tools REQUIRED)
find_package(rviz_visual_tools REQUIRED)

add_executable(moveit_cpp_tutorial src/moveit_cpp_tutorial.cpp)
target_include_directories(moveit_cpp_tutorial PUBLIC include)
ament_target_dependencies(moveit_cpp_tutorial ${THIS_PACKAGE_INCLUDE_DEPENDS} Boost)
target_link_libraries(moveit_cpp_tutorial PUBLIC rclcpp::rclcpp moveit_ros_planning::moveit_cpp moveit_visual_tools::moveit_visual_tools)

install(TARGETS moveit_cpp_tutorial
DESTINATION lib/${PROJECT_NAME}
Expand Down
3 changes: 1 addition & 2 deletions doc/examples/planning_scene/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ add_executable(planning_scene_tutorial
src/planning_scene_tutorial.cpp)
target_include_directories(planning_scene_tutorial
PUBLIC include)
ament_target_dependencies(planning_scene_tutorial
${THIS_PACKAGE_INCLUDE_DEPENDS} Boost)
target_link_libraries(planning_scene_tutorial PUBLIC rclcpp::rclcpp moveit_ros_planning::moveit_robot_model_loader)

install(TARGETS planning_scene_tutorial
DESTINATION lib/${PROJECT_NAME}
Expand Down
9 changes: 7 additions & 2 deletions doc/examples/planning_scene_ros_api/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
find_package(graph_msgs REQUIRED)
find_package(moveit_visual_tools REQUIRED)
find_package(rviz_visual_tools REQUIRED)

add_executable(planning_scene_ros_api_tutorial
src/planning_scene_ros_api_tutorial.cpp)
target_include_directories(planning_scene_ros_api_tutorial
PUBLIC include)
ament_target_dependencies(planning_scene_ros_api_tutorial
${THIS_PACKAGE_INCLUDE_DEPENDS} Boost)

target_link_libraries(planning_scene_ros_api_tutorial PRIVATE rclcpp::rclcpp moveit_msgs::moveit_msgs__rosidl_typesupport_cpp rviz_visual_tools::rviz_visual_tools
moveit_core::moveit_planning_scene moveit_ros_planning::moveit_robot_model_loader ${geometry_msgs_TARGETS} moveit_visual_tools::moveit_visual_tools)

install(TARGETS planning_scene_ros_api_tutorial
DESTINATION lib/${PROJECT_NAME}
Expand Down
13 changes: 12 additions & 1 deletion doc/examples/realtime_servo/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
find_package(graph_msgs REQUIRED)
find_package(moveit_ros_planning REQUIRED)
find_package(moveit_visual_tools REQUIRED)
find_package(moveit_ros_planning REQUIRED)
find_package(moveit_servo REQUIRED)
find_package(rviz_visual_tools REQUIRED)

add_executable(pose_tracking_tutorial src/pose_tracking_tutorial.cpp)
target_include_directories(pose_tracking_tutorial PUBLIC include)
ament_target_dependencies(pose_tracking_tutorial ${THIS_PACKAGE_INCLUDE_DEPENDS})
target_link_libraries(pose_tracking_tutorial PUBLIC
${graph_msgs_TARGETS} ${moveit_servo_TARGETS} tf2_eigen::tf2_eigen
moveit_ros_planning::moveit_planning_scene_monitor
rviz_visual_tools::rviz_visual_tools
)

install(
TARGETS
Expand Down
2 changes: 1 addition & 1 deletion doc/examples/realtime_servo/src/pose_tracking_tutorial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ class Door

rclcpp::Node::SharedPtr node_;
Eigen::Vector3d hinge_, center_, dims_;
double angle_, step_, rotation_radius_;
double angle_, rotation_radius_;
rclcpp::Publisher<moveit_msgs::msg::PlanningScene>::SharedPtr collision_object_publisher_;
moveit_msgs::msg::CollisionObject collision_object_;
shape_msgs::msg::SolidPrimitive door_primitive_;
Expand Down
3 changes: 1 addition & 2 deletions doc/examples/robot_model_and_robot_state/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ add_executable(robot_model_and_robot_state_tutorial
src/robot_model_and_robot_state_tutorial.cpp)
target_include_directories(robot_model_and_robot_state_tutorial
PUBLIC include)
ament_target_dependencies(robot_model_and_robot_state_tutorial
${THIS_PACKAGE_INCLUDE_DEPENDS} Boost)
target_link_libraries(robot_model_and_robot_state_tutorial PUBLIC moveit_ros_planning::moveit_robot_model_loader)

install(TARGETS robot_model_and_robot_state_tutorial
DESTINATION lib/${PROJECT_NAME}
Expand Down
2 changes: 1 addition & 1 deletion doc/examples/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
if(CATKIN_ENABLE_TESTING)
catkin_add_gtest(tests_tutorial test/tests.cpp)
target_link_libraries(tests_tutorial
${catkin_LIBRARIES} ${Boost_LIBRARIES})
${Boost_LIBRARIES})
endif()
8 changes: 0 additions & 8 deletions doc/examples/visualizing_collisions/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,5 @@ add_executable(visualizing_collisions_tutorial
target_link_libraries(visualizing_collisions_tutorial
${interactive_markers_LIBRARIES}
interactivity_utils
${catkin_LIBRARIES}
${Boost_LIBRARIES}
)

install(
TARGETS
visualizing_collisions_tutorial
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})

install(DIRECTORY launch DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})
9 changes: 7 additions & 2 deletions doc/how_to_guides/kinematics_cost_function/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
find_package(graph_msgs REQUIRED)
find_package(moveit_visual_tools REQUIRED)
find_package(rviz_visual_tools REQUIRED)

add_executable(kinematics_cost_function_tutorial
src/kinematics_cost_function_tutorial.cpp)
target_include_directories(kinematics_cost_function_tutorial
PUBLIC include)
ament_target_dependencies(kinematics_cost_function_tutorial
${THIS_PACKAGE_INCLUDE_DEPENDS})

target_link_libraries(kinematics_cost_function_tutorial PUBLIC moveit_ros_move_group::moveit_move_group_capabilities_base
moveit_ros_planning_interface::moveit_move_group_interface moveit_visual_tools::moveit_visual_tools)

install(TARGETS kinematics_cost_function_tutorial
DESTINATION lib/${PROJECT_NAME}
Expand Down
Loading
Loading