Monitor the properties a planner exposes, as the planner is running. Dump the planner properties to a stream, periodically. More...
#include <ompl/tools/debug/PlannerMonitor.h>
Public Member Functions | |
PlannerMonitor (const PlannerMonitor &)=delete | |
PlannerMonitor & | operator= (const PlannerMonitor &)=delete |
PlannerMonitor (base::PlannerPtr planner, std::ostream &out, double period=0.5, bool autoStart=true) | |
Monitor a planner instance, and dump its properties to a specified stream, periodically. More... | |
~PlannerMonitor () | |
Destructor. More... | |
void | startMonitor () |
Start the monitoring thread. More... | |
void | stopMonitor () |
Stop the monitoring thread (automatically stopped by the destructor). More... | |
Detailed Description
Monitor the properties a planner exposes, as the planner is running. Dump the planner properties to a stream, periodically.
Definition at line 53 of file PlannerMonitor.h.
Constructor & Destructor Documentation
◆ PlannerMonitor()
|
inline |
Monitor a planner instance, and dump its properties to a specified stream, periodically.
Every time the properties are dumped, the stream offset is set to 0. It is often useful to have the stream be a file, and then issue commands such as 'watch cat filename'.
Definition at line 64 of file PlannerMonitor.h.
◆ ~PlannerMonitor()
|
inline |
Destructor.
Definition at line 72 of file PlannerMonitor.h.
Member Function Documentation
◆ startMonitor()
void ompl::tools::PlannerMonitor::startMonitor | ( | ) |
Start the monitoring thread.
Definition at line 42 of file PlannerMonitor.cpp.
◆ stopMonitor()
void ompl::tools::PlannerMonitor::stopMonitor | ( | ) |
Stop the monitoring thread (automatically stopped by the destructor).
Definition at line 53 of file PlannerMonitor.cpp.
The documentation for this class was generated from the following files:
- ompl/tools/debug/PlannerMonitor.h
- ompl/tools/debug/src/PlannerMonitor.cpp