File: mv.cpp

package info (click to toggle)
ompl 1.6.0%2Bds1-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 53,496 kB
  • sloc: cpp: 85,252; python: 4,916; sh: 215; xml: 26; javascript: 15; makefile: 11
file content (10 lines) | stat: -rw-r--r-- 237 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
// define this class:
class myMotionValidator : public base::MotionValidator
{
public:
    // implement checkMotion()
};

base::SpaceInformationPtr si(space);
si->setMotionValidator(std::make_shared<myMotionValidator>(si));
si->setup();