Expose a set of aikido::constraint::Testable class as a StateValidityChecker to the OMPL framework.
More...
#include <aikido/planner/ompl/StateValidityChecker.hpp>
Expose a set of aikido::constraint::Testable class as a StateValidityChecker to the OMPL framework.
This checker will mark a state valid if all constraints defined within the class are valid for the state.
◆ StateValidityChecker()
aikido::planner::ompl::StateValidityChecker::StateValidityChecker |
( |
const ::ompl::base::SpaceInformationPtr & |
_si, |
|
|
constraint::TestablePtr |
_constraint |
|
) |
| |
Constructor.
- Parameters
-
_si | Information about the planning space where this ValidityChecker will be used |
_constraint | The constraint that must pass for a state to be marked valid |
◆ isValid()
bool aikido::planner::ompl::StateValidityChecker::isValid |
( |
const ::ompl::base::State * |
_state | ) |
const |
|
override |
Return true if all constraints defined on this ValidityChecker are satisfied.
- Parameters
-
◆ mConstraint