41#include <ompl/base/MotionValidator.h>
42#include <ompl/base/spaces/SE2StateSpace.h>
43#include <boost/math/constants/constants.hpp>
70 bool &firstTime, vector<UnicycleState> &states,
74 const vector<UnicycleState> &states,
double t,
79 std::cout <<
"sanity check!!!!" << std::endl;
80 double zero = std::numeric_limits<double>::epsilon();
82 ompl::base::StateSpace::sanityChecks(zero, eps, ~STATESPACE_INTERPOLATION);
95 : ompl::
base::MotionValidator(si) {
104 std::pair<ompl::base::State *, double> &lastValid)
const override;
108 void defaultSettings();
ob::SE2StateSpace::StateType State
Definition: Primitives.h:12
Definition: POSQStateSpace.h:92
~POSQMotionValidator() override=default
bool checkMotion(const ompl::base::State *s1, const ompl::base::State *s2) const override
Definition: POSQStateSpace.cpp:116
POSQMotionValidator(const ompl::base::SpaceInformationPtr &si)
Definition: POSQStateSpace.h:94
POSQ is a class to have the POSQ function as OMPL state space.
Definition: POSQStateSpace.h:50
double distance(const ompl::base::State *state1, const ompl::base::State *state2) const override
Compute the distance between the two states.
Definition: POSQStateSpace.cpp:9
POSQ * state_space_
Object from the steering function workspace.
Definition: POSQStateSpace.h:89
POSQStateSpace()
Definition: POSQStateSpace.h:52
void interpolate(const ompl::base::State *from, const ompl::base::State *to, double t, ompl::base::State *state) const override
Interpolate between two states from and to.
Definition: POSQStateSpace.cpp:16
void sanityChecks() const override
Checks if the state was properly initialized.
Definition: POSQStateSpace.h:78
~POSQStateSpace() override
Definition: POSQStateSpace.h:54
void initialize()
Initialize the requested steering function.
Definition: POSQStateSpace.cpp:7
POSQ class that implements the POSQ steering function.
Definition: POSQ.hpp:109
Definition: Primitives.h:14