Class MechanicalWorkOptimizationObjective
Defined in File MechanicalWorkOptimizationObjective.h
Inheritance Relationships
Base Type
public ompl::base::OptimizationObjective
(Class OptimizationObjective)
Derived Type
public ompl::base::VFMechanicalWorkOptimizationObjective
(Class VFMechanicalWorkOptimizationObjective)
Class Documentation
-
class MechanicalWorkOptimizationObjective : public ompl::base::OptimizationObjective
An optimization objective which defines path cost using the idea of mechanical work. To be used in conjunction with TRRT.
Subclassed by ompl::base::VFMechanicalWorkOptimizationObjective
Public Functions
-
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 to disambiguate optimal paths. This weighing factor should be small. The default value for this weight is 0.00001.
-
virtual double getPathLengthWeight() const
Set the factor to use for weighing path length in the mechanical work objective formulation.
Protected Attributes
-
double pathLengthWeight_
The weighing factor for the path length in the mechanical work objective formulation.
-
MechanicalWorkOptimizationObjective(const SpaceInformationPtr &si, double pathLengthWeight = 0.00001)