Go to the documentation of this file.
17 #ifndef GZ_SENSORS_THERMALCAMERASENSOR_HH_
18 #define GZ_SENSORS_THERMALCAMERASENSOR_HH_
26 #include <gz/common/Event.hh>
27 #include <gz/common/PluginMacros.hh>
28 #include <gz/common/SuppressWarning.hh>
29 #include <gz/common/Time.hh>
33 #pragma warning(disable: 4005)
34 #pragma warning(disable: 4251)
36 #include <ignition/msgs.hh>
45 #pragma warning(disable: 4251)
47 #include <gz/rendering/ThermalCamera.hh>
52 #include "gz/sensors/thermal_camera/Export.hh"
54 #include "gz/sensors/Export.hh"
62 inline namespace IGNITION_SENSORS_VERSION_NAMESPACE {
64 class ThermalCameraSensorPrivate;
85 public:
virtual bool Load(
const sdf::Sensor &_sdf)
override;
90 public:
virtual bool Load(sdf::ElementPtr _sdf)
override;
94 public:
virtual bool Init()
override;
99 public:
virtual bool Update(
const common::Time &_now)
override;
104 public:
virtual rendering::ThermalCameraPtr ThermalCamera();
112 public:
void OnNewThermalFrame(
const uint16_t *_scan,
113 unsigned int _width,
unsigned int _height,
114 unsigned int _channels,
125 public: common::ConnectionPtr ConnectImageCallback(
130 public:
virtual void SetScene(
131 gz::rendering::ScenePtr _scene)
override;
135 public:
virtual unsigned int ImageWidth()
const override;
139 public:
virtual unsigned int ImageHeight()
const override;
143 public:
virtual void SetAmbientTemperature(
float _ambient);
148 public:
virtual void SetAmbientTemperatureRange(
float _range);
152 public:
virtual void SetMinTemperature(
float _min);
156 public:
virtual void SetMaxTemperature(
float _max);
163 public:
virtual void SetLinearResolution(
float _resolution);
167 private:
bool CreateCamera();
172 private:
void OnSceneChange(gz::rendering::ScenePtr )
175 IGN_COMMON_WARN_IGNORE__DLL_INTERFACE_MISSING
179 IGN_COMMON_WARN_RESUME__DLL_INTERFACE_MISSING
Thermal camera sensor class.
Definition: gz/sensors/ThermalCameraSensor.hh:73
Definition: gz/sensors/AirPressureSensor.hh:32
Camera Sensor Class.
Definition: gz/sensors/CameraSensor.hh:73