2 class myStateValidityCheckerClass :
public base::StateValidityChecker
5 myStateValidityCheckerClass(
const base::SpaceInformationPtr &si) :
6 base::StateValidityChecker(si)
10 virtual bool isValid(
const base::State *state)
const
16 bool myStateValidityCheckerFunction(
const base::State *state)
21 base::SpaceInformationPtr si(space);
23 si->setStateValidityChecker(std::make_shared<myStateValidityCheckerClass>(si));
25 si->setStateValidityChecker(myStateValidityCheckerFunction);
26 si->setStateValidityCheckingResolution(0.03);