Loading...
Searching...
No Matches
ExperienceSetup.h
164 virtual void getAllPlannerDatas(std::vector<ompl::base::PlannerDataPtr> &plannerDatas) const = 0;
Create the set of classes typically needed to solve a geometric problem.
Definition SimpleSetup.h:63
Create the set of classes typically needed to solve a geometric problem.
Definition ExperienceSetup.h:57
void enablePlanningFromScratch(bool enable)
Optionally disable the ability to plan from scratch Note: Lightning can still save modified experienc...
Definition ExperienceSetup.cpp:108
virtual bool setFilePath(const std::string &filePath)
Set the database file to load. Actual loading occurs when setup() is called.
Definition ExperienceSetup.cpp:93
void enablePlanningFromRecall(bool enable)
Optionally disable the ability to use previous plans in solutions (but will still save them)
Definition ExperienceSetup.cpp:99
virtual bool saveIfChanged()=0
Save the experience database to file if there has been a change.
void convertLogToString(const ExperienceLog &log)
Move data to string format and put in buffer.
Definition ExperienceSetup.cpp:73
virtual void saveDataLog(std::ostream &out=std::cout)
Save debug data about overall results since being loaded.
Definition ExperienceSetup.cpp:81
virtual std::size_t getExperiencesCount() const =0
Get the total number of paths stored in the database.
virtual bool doPostProcessing()
Allow accumlated experiences to be processed.
Definition ExperienceSetup.h:189
virtual void setRepairPlanner(const base::PlannerPtr &planner)=0
Set the planner to use for repairing experience paths inside the RetrieveRepair planner....
virtual void printResultsInfo(std::ostream &out=std::cout) const =0
Display debug data about potential available solutions.
virtual const std::string & getFilePath() const
After setFile() is called, access the generated file path for loading and saving the experience datab...
Definition ExperienceSetup.cpp:88
virtual void getAllPlannerDatas(std::vector< ompl::base::PlannerDataPtr > &plannerDatas) const =0
Get a vector of all the planning data in the database.
virtual void printLogs(std::ostream &out=std::cout) const =0
Display debug data about overall results since being loaded.
bool recallEnabled_
Flag indicating whether recalled plans should be used to find solutions. Enabled by default.
Definition ExperienceSetup.h:196
bool scratchEnabled_
Flag indicating whether planning from scratch should be used to find solutions. Enabled by default.
Definition ExperienceSetup.h:199
Main namespace. Contains everything in this library.
Definition MultiLevelPlanarManipulatorDemo.cpp:66
Single entry for the csv data logging file.
Definition ExperienceSetup.h:102
Simple logging functionality encapsled in a struct.
Definition ExperienceSetup.h:63