Class Sensor

Inheritance Relationships

Base Type

Derived Types

Class Documentation

class aslam::Sensor : public aslam::YamlFileSerializable

Subclassed by aslam::Camera, aslam::NCamera, vi_map::Absolute6DoF, vi_map::GpsUtm, vi_map::GpsWgs, vi_map::Imu, vi_map::Lidar, vi_map::LoopClosureSensor, vi_map::Odometry6DoF, vi_map::PointCloudMapSensor, vi_map::WheelOdometry

Public Functions

ASLAM_POINTER_TYPEDEFS(Sensor)
Sensor()
explicit Sensor(const SensorId &id)
explicit Sensor(const SensorId &id, const std::string &topic)
explicit Sensor(const SensorId &id, const std::string &topic, const std::string &description)
virtual ~Sensor() = default
inline Sensor(const Sensor &other)
inline void operator=(const Sensor &other)
bool operator==(const Sensor &other) const
bool operator!=(const Sensor &other) const
bool isEqual(const Sensor &other, const bool verbose = false) const
virtual Sensor::Ptr cloneAsSensor() const = 0
inline void setId(const SensorId &id)
inline const SensorId &getId() const
inline void setTopic(const std::string &topic)
inline const std::string &getTopic() const
inline void setDescription(const std::string &description)
inline const std::string &getDescription() const
virtual uint8_t getSensorType() const = 0
virtual std::string getSensorTypeString() const = 0
bool isValid() const
virtual bool deserialize(const YAML::Node &sensor_node) override
virtual void serialize(YAML::Node *sensor_node_ptr) const override
void setRandom()

Protected Attributes

SensorId id_
std::string topic_
std::string description_