All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
OptimalPlanning.cpp
91 bool argParse(int argc, char** argv, double *runTime, optimalPlanner *plannerPtr, planningObjective *objectivePtr, std::string *outputFilePtr);
189 ob::OptimizationObjectivePtr allocateObjective(ob::SpaceInformationPtr si, planningObjective objectiveType)
212 void plan(double runTime, optimalPlanner plannerType, planningObjective objectiveType, std::string outputFile)
413 bool argParse(int argc, char** argv, double* runTimePtr, optimalPlanner *plannerPtr, planningObjective *objectivePtr, std::string *outputFilePtr)
421 ("runtime,t", bpo::value<double>()->default_value(1.0), "(Optional) Specify the runtime in seconds. Defaults to 1 and must be greater than 0.")
422 ("planner,p", bpo::value<std::string>()->default_value("RRTstar"), "(Optional) Specify the optimal planner to use, defaults to RRTstar if not given. Valid options are BITstar, CForest, FMTstar, BFMTstar, InformedRRTstar, PRMstar, and RRTstar.") //Alphabetical order
423 ("objective,o", bpo::value<std::string>()->default_value("PathLength"), "(Optional) Specify the optimization objective, defaults to PathLength if not given. Valid options are PathClearance, PathLength, ThresholdPathLength, and WeightedLengthAndClearanceCombo.") //Alphabetical order
424 ("file,f", bpo::value<std::string>()->default_value(""), "(Optional) Specify an output path for the found solution path.")
425 ("info,i", bpo::value<unsigned int>()->default_value(0u), "(Optional) Set the OMPL log level. 0 for WARN, 1 for INFO, 2 for DEBUG. Defaults to WARN.");
virtual Cost stateCost(const State *s) const
Returns a cost with a value of 1.
Definition: StateCostIntegralObjective.cpp:48
A shared pointer wrapper for ompl::base::ProblemDefinition.
This class allows for the definition of multiobjective optimal planning problems. Objectives are adde...
Definition: OptimizationObjective.h:179
A shared pointer wrapper for ompl::base::StateSpace.
void addObjective(const OptimizationObjectivePtr &objective, double weight)
Adds a new objective for this multiobjective. A weight must also be specified for specifying importan...
Definition: OptimizationObjective.cpp:201
virtual double clearance(const State *) const
Report the distance to the nearest invalid state when starting from state. If the distance is negativ...
Definition: StateValidityChecker.h:135
A shared pointer wrapper for ompl::base::StateValidityChecker.
A shared pointer wrapper for ompl::base::Planner.
Defines optimization objectives where path cost can be represented as a path integral over a cost fun...
Definition: StateCostIntegralObjective.h:51
void setLogLevel(LogLevel level)
Set the minimum level of logging data to output. Messages with lower logging levels will not be recor...
Definition: Console.cpp:136
Abstract definition for a class checking the validity of states. The implementation of this class mus...
Definition: StateValidityChecker.h:93
A class to store the exit status of Planner::solve()
Definition: PlannerStatus.h:48
A shared pointer wrapper for ompl::base::SpaceInformation.
A state space representing Rn. The distance function is the L2 norm.
Definition: RealVectorStateSpace.h:75
The base class for space information. This contains all the information about the space planning is d...
Definition: SpaceInformation.h:83
An optimization objective which corresponds to optimizing path length.
Definition: PathLengthOptimizationObjective.h:47
virtual bool isValid(const State *state) const =0
Return true if the state state is valid. Usually, this means at least collision checking. If it is possible that ompl::base::StateSpace::interpolate() or ompl::control::ControlSpace::propagate() return states that are outside of bounds, this function should also make a call to ompl::base::SpaceInformation::satisfiesBounds().
Definition of a problem to be solved. This includes the start state(s) for the system and a goal spec...
Definition: ProblemDefinition.h:149
A shared pointer wrapper for ompl::base::OptimizationObjective.
Definition of a cost value. Can represent the cost of a motion or the cost of a state.
Definition: Cost.h:47