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

Handle unsupported position constraints in OMPL (backport #2417) #2621

Open
wants to merge 1 commit into
base: humble
Choose a base branch
from

Commits on Dec 19, 2023

  1. Handle unsupported position constraints in OMPL (#2417)

    * Handle unsupported position constraints in OMPL
    
    OMPL constrained planning assumes that all position constraints have three
    dimensions, meaning that they are represented by a BOX bounding volume.
    If another shape is used (like a SPHERE from moveit_core/kinematic_constraints/utils.hpp),
    the constraint adapter implementation will produce a segfault because of
    the lack of dimensions. This fix prevents this by checking for the
    required BOX type.
    
    * Add warning if more than one position primitive is used
    
    ---------
    
    Co-authored-by: Sebastian Jahr <[email protected]>
    (cherry picked from commit b0401e9)
    
    # Conflicts:
    #	moveit_planners/ompl/ompl_interface/src/detail/ompl_constraints.cpp
    henningkayser authored and mergify[bot] committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    f2a0844 View commit details
    Browse the repository at this point in the history