moveit2
The MoveIt Motion Planning Framework for ROS 2.
Public Member Functions | List of all members
ompl_interface::ValidConstrainedSampler Class Reference

#include <constrained_valid_state_sampler.h>

Inheritance diagram for ompl_interface::ValidConstrainedSampler:
Inheritance graph
[legend]
Collaboration diagram for ompl_interface::ValidConstrainedSampler:
Collaboration graph
[legend]

Public Member Functions

 ValidConstrainedSampler (const ModelBasedPlanningContext *pc, kinematic_constraints::KinematicConstraintSetPtr ks, constraint_samplers::ConstraintSamplerPtr cs=constraint_samplers::ConstraintSamplerPtr())
 
bool sample (ompl::base::State *state) override
 
virtual bool project (ompl::base::State *state)
 
bool sampleNear (ompl::base::State *state, const ompl::base::State *near, const double distance) override
 

Detailed Description

This class defines a sampler that tries to find a valid sample that satisfies the specified constraints

Definition at line 52 of file constrained_valid_state_sampler.h.

Constructor & Destructor Documentation

◆ ValidConstrainedSampler()

ompl_interface::ValidConstrainedSampler::ValidConstrainedSampler ( const ModelBasedPlanningContext pc,
kinematic_constraints::KinematicConstraintSetPtr  ks,
constraint_samplers::ConstraintSamplerPtr  cs = constraint_samplers::ConstraintSamplerPtr() 
)

Definition at line 47 of file constrained_valid_state_sampler.cpp.

Member Function Documentation

◆ project()

bool ompl_interface::ValidConstrainedSampler::project ( ompl::base::State *  state)
virtual

Definition at line 62 of file constrained_valid_state_sampler.cpp.

◆ sample()

bool ompl_interface::ValidConstrainedSampler::sample ( ompl::base::State *  state)
override

Definition at line 79 of file constrained_valid_state_sampler.cpp.

◆ sampleNear()

bool ompl_interface::ValidConstrainedSampler::sampleNear ( ompl::base::State *  state,
const ompl::base::State *  near,
const double  distance 
)
override

Definition at line 104 of file constrained_valid_state_sampler.cpp.

Here is the call graph for this function:

The documentation for this class was generated from the following files: