RobWorkProject  23.9.11-
Classes | Namespaces
SimulatorLogEntry.hpp File Reference

A leaf log item with no children. More...

#include "SimulatorLog.hpp"
#include <rw/core/ExtensionPoint.hpp>

Classes

class  SimulatorLogEntry
 A leaf log item with no children. More...
 
class  SimulatorLogEntry::Factory
 A factory for a SimulatorLogEntry. This factory also defines an extension point for SimulatorLogEntry. More...
 

Namespaces

 rwsim
 RobWorkSim is the dynamic simulation framework of RobWork.
 
 rwsim::log
 Logging system for dynamic simulation.
 

Detailed Description

A leaf log item with no children.

Leaf items can use a linking feature, to avoid too much redundant information. Linking should always be done using the autoLink function, which will search backwards in the current scope for a correct entry type to link with. If none is found, parent scopes are searched in the same way until the base scope is reached.

If for instance a velocity is to be logged, there should be a relevant position log entry previous to this velocity entry. This is important for visualization purposes, to know where vectors act.