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
gtsam::Measurement::~Measurement
virtual ~Measurement()
Definition: Measurement.h:22
gtsam::Measurement::Measurement
Measurement(std::string _type)
Definition: Measurement.h:20
gtsam::Measurement::time
size_t time
The type of message (to enable dynamic/static casting).
Definition: Measurement.h:15
type
Definition: pytypes.h:1525
gtsam::Measurement::type
std::string type
Definition: Measurement.h:17
gtsam::Measurement
This is the base class for all measurement types.
Definition: Measurement.h:11
gtsam::Measurement::Measurement
Measurement()
Definition: Measurement.h:19
gtsam::Measurement::dt
EIGEN_MAKE_ALIGNED_OPERATOR_NEW size_t dt
Time since the last message of this type (nanoseconds).
Definition: Measurement.h:14
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
#define EIGEN_MAKE_ALIGNED_OPERATOR_NEW
Definition: Memory.h:841
gtsam
traits
Definition: SFMdata.h:40


gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:12:21