Measurement.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <Eigen/Core>
4 #include <string>
5 
6 namespace gtsam {
7 
11 class Measurement {
12  public:
14  size_t dt;
15  size_t time;
16  std::string type;
18 
19  Measurement() : dt(0), time(0), type("UNDEFINED") {}
20  Measurement(std::string _type) : dt(0), time(0), type(_type) {}
21 
22  virtual ~Measurement() {}
23 };
24 
25 } // namespace gtsam
This is the base class for all measurement types.
Definition: Measurement.h:11
#define EIGEN_MAKE_ALIGNED_OPERATOR_NEW
Definition: Memory.h:690
EIGEN_MAKE_ALIGNED_OPERATOR_NEW size_t dt
Time since the last message of this type (nanoseconds).
Definition: Measurement.h:14
traits
Definition: chartTesting.h:28
virtual ~Measurement()
Definition: Measurement.h:22
size_t time
The type of message (to enable dynamic/static casting).
Definition: Measurement.h:15
Measurement(std::string _type)
Definition: Measurement.h:20
std::string type
Definition: Measurement.h:17


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:42:59