1#ifndef STATEOBSERVATIONLOGGER_H
2#define STATEOBSERVATIONLOGGER_H
9#include <state-observation/api.h>
16class STATE_OBSERVATION_DLLAPI Logger
26 void record(
const T * address,
const std::string & filename = std::string(
""));
28 void record(
const T & reference,
const std::string & filename = std::string(
""));
39 void push(
const T & reference);
42 void push(
const T * address);
47 const IndexedMatrixArray & getRecord(
const void * address)
const;
49 IndexedMatrixArray & getRecord(
const void * address);
52 void save(
bool clear =
false,
bool append =
false);
64 IndexedMatrixArray array;
66 const std::type_info * type;
68 log_s(
const std::string & newfilename) : type(0x0)
70 filename = newfilename;
80 typedef std::map<const void *, log_s> Tmap;
81 typedef std::pair<const void *, log_s> Tpair;
83 void update_(
const Tmap::iterator & i);
86 std::map<const void *, log_s> logs_;
94#include <state-observation/tools/logger.hxx>
Definitions of types and some structures.
Filtering of divergent component of motion (DCM) and estimation of a bias betweeen the DCM and the co...
Eigen::MatrixXd Matrix
Dynamic sized Matrix.