state-observation 1.8.0
General implementation of observers.
Loading...
Searching...
No Matches
Sensor.hpp
1#ifndef SENSORHPP
2#define SENSORHPP
3#include <string>
4namespace stateObservation
5{
6namespace measurements
7{
11
13struct Sensor
14{
15
16protected:
17 inline Sensor() = default;
18 inline Sensor(size_t id, std::string_view name) : id_(id), name_(name) {}
19
20 inline bool operator<(const Sensor & rhs) const noexcept
21 {
22 return (id() < rhs.id_);
23 }
24
25public:
26 inline size_t id() const noexcept
27 {
28 return id_;
29 }
30 inline const std::string & name() const noexcept
31 {
32 return name_;
33 }
34
35protected:
36 size_t id_;
37 std::string name_;
38};
39} // namespace measurements
40} // namespace stateObservation
41#endif // SENSORHPP
Filtering of divergent component of motion (DCM) and estimation of a bias betweeen the DCM and the co...