Skip to content

Make the destructors of the base classes of planning adapters virtual and close move_group gracefully - #3435

Merged
sea-bass merged 6 commits into
moveit:mainfrom
CihatAltiparmak:fix/close_move_group_gracefully_and_make_destructor_virtual
Apr 15, 2025
Merged

sea-bass merged 6 commits into
moveit:mainfrom
CihatAltiparmak:fix/close_move_group_gracefully_and_make_destructor_virtual

Conversation

@CihatAltiparmak

@CihatAltiparmak CihatAltiparmak commented Apr 13, 2025 •

Copy link
Copy Markdown
Member

Description

Fixes #3268

Checklist

  • Required by CI: Code is auto formatted using clang-format
  • Extend the tutorials / documentation reference
  • Document API changes relevant to the user in the MIGRATION.md notes
  • Create tests, which fail without this PR reference
  • Include a screenshot if changing a GUI
  • While waiting for someone to review your request, please help review another open pull request to support the maintainers

… and close move_group gracefully

Signed-off-by: CihatAltiparmak <[email protected]>
@codecov

codecov Bot commented Apr 13, 2025 •

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 72.72727% with 3 lines in your changes missing coverage. Please review.

Project coverage is 45.89%. Comparing base (c340713) to head (8f10d74).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...t/planning_interface/planning_response_adapter.hpp 0.00% 1 Missing ⚠️
...pter_plugins/src/check_for_stacked_constraints.cpp 0.00% 1 Missing ⚠️
..._adapter_plugins/src/add_ruckig_traj_smoothing.cpp 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3435      +/-   ##
==========================================
- Coverage   46.24%   45.89%   -0.34%     
==========================================
  Files         717      717              
  Lines       62657    62642      -15     
  Branches     7582     7582              
==========================================
- Hits        28970    28744     -226     
- Misses      33520    33731     +211     
  Partials      167      167              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@CihatAltiparmak
CihatAltiparmak marked this pull request as ready for review April 14, 2025 07:17

@sjahr sjahr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @CihatAltiparmak! These changes look good. @JorgePH do you mind testing these changes and approve the PR if it resolves your issue?

@sea-bass sea-bass added backport-humble Mergify label that triggers a PR backport to Humble backport-jazzy Mergify label that triggers a PR backport to Jazzy labels Apr 14, 2025

@sea-bass sea-bass left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice!

Marked for backport to Jazzy and Humble too.

@sea-bass
sea-bass merged commit 59211df into moveit:main Apr 15, 2025
@github-project-automation github-project-automation Bot moved this to ✅ Done in MoveIt Apr 15, 2025
mergify Bot pushed a commit that referenced this pull request Apr 15, 2025
… and close move_group gracefully (#3435)

---------

Signed-off-by: CihatAltiparmak <[email protected]>
(cherry picked from commit 59211df)

# Conflicts:
#	moveit_core/planning_interface/include/moveit/planning_interface/planning_request_adapter.hpp
#	moveit_planners/trajopt/include/trajopt_interface/trajopt_interface.h
#	moveit_ros/planning/planning_request_adapter_plugins/src/check_for_stacked_constraints.cpp
#	moveit_ros/planning/planning_request_adapter_plugins/src/check_start_state_bounds.cpp
#	moveit_ros/planning/planning_request_adapter_plugins/src/check_start_state_collision.cpp
#	moveit_ros/planning/planning_request_adapter_plugins/src/resolve_constraint_frames.cpp
#	moveit_ros/planning/planning_request_adapter_plugins/src/validate_workspace_bounds.cpp
#	moveit_ros/planning/planning_response_adapter_plugins/src/add_ruckig_traj_smoothing.cpp
#	moveit_ros/planning/planning_response_adapter_plugins/src/display_motion_path.cpp
#	moveit_ros/planning/planning_response_adapter_plugins/src/validate_path.cpp
#	moveit_ros/planning_interface/py_bindings_tools/include/moveit/py_bindings_tools/py_conversions.h
mergify Bot pushed a commit that referenced this pull request Apr 15, 2025
… and close move_group gracefully (#3435)

---------

Signed-off-by: CihatAltiparmak <[email protected]>
(cherry picked from commit 59211df)
sea-bass pushed a commit that referenced this pull request Apr 15, 2025
… and close move_group gracefully (#3435) (#3443)

---------

Signed-off-by: CihatAltiparmak <[email protected]>
(cherry picked from commit 59211df)

Co-authored-by: Cihat Kurtuluş Altıparmak <[email protected]>
@CihatAltiparmak
CihatAltiparmak deleted the fix/close_move_group_gracefully_and_make_destructor_virtual branch April 15, 2025 16:09
sussybot5258 pushed a commit to GreyCatAI/moveit2 that referenced this pull request Apr 19, 2025
… and close move_group gracefully (moveit#3435)

---------

Signed-off-by: CihatAltiparmak <[email protected]>
leander-dsouza pushed a commit to leander-dsouza/moveit2 that referenced this pull request May 3, 2025
# Conflicts:
#	moveit_core/planning_scene/src/planning_scene.cpp
Markus-Simonsen pushed a commit to Markus-Simonsen/moveit2 that referenced this pull request Aug 12, 2025
… and close move_group gracefully (moveit#3435)

---------

Signed-off-by: CihatAltiparmak <[email protected]>
helen9975 pushed a commit to personalrobotics/moveit2 that referenced this pull request Feb 17, 2026
… and close move_group gracefully (moveit#3435)

---------

Signed-off-by: CihatAltiparmak <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-humble Mergify label that triggers a PR backport to Humble backport-jazzy Mergify label that triggers a PR backport to Jazzy

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move_group exits with segmentation fault when receiving a SIGINT

3 participants