VFMechanicalWorkOptimizationObjective.h
52 class VFMechanicalWorkOptimizationObjective : public ompl::base::MechanicalWorkOptimizationObjective
69 ompl::base::Cost motionCost(const ompl::base::State *s1, const ompl::base::State *s2) const override
VFMechanicalWorkOptimizationObjective(const ompl::base::SpaceInformationPtr &si, geometric::VFRRT::VectorField vf)
Definition: VFMechanicalWorkOptimizationObjective.h:152
SpaceInformationPtr si_
The space information for this objective.
Definition: OptimizationObjective.h:256
A shared pointer wrapper for ompl::base::SpaceInformation.
An optimization objective which defines path cost using the idea of mechanical work....
Definition: MechanicalWorkOptimizationObjective.h:112
bool isSatisfied(ompl::base::Cost) const override
Definition: VFMechanicalWorkOptimizationObjective.h:159
MechanicalWorkOptimizationObjective(const SpaceInformationPtr &si, double pathLengthWeight=0.00001)
The mechanical work formulation requires a weighing factor to use for the length of a path in order t...
Definition: MechanicalWorkOptimizationObjective.cpp:39
Definition of a cost value. Can represent the cost of a motion or the cost of a state.
Definition: Cost.h:111
ompl::base::Cost motionCost(const ompl::base::State *s1, const ompl::base::State *s2) const override
Definition: VFMechanicalWorkOptimizationObjective.h:165
bool isSymmetric() const override
Check if this objective has a symmetric cost metric, i.e. motionCost(s1, s2) = motionCost(s2,...
Definition: VFMechanicalWorkOptimizationObjective.h:181
double pathLengthWeight_
The weighing factor for the path length in the mechanical work objective formulation.
Definition: MechanicalWorkOptimizationObjective.h:163
geometric::VFRRT::VectorField vf_
Definition: VFMechanicalWorkOptimizationObjective.h:188