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/SuppressWarning.hh>
31 #pragma warning(disable: 4005)
32 #pragma warning(disable: 4251)
34 #include <ignition/msgs.hh>
43 #pragma warning(disable: 4251)
45 #include <gz/rendering/ThermalCamera.hh>
50 #include "gz/sensors/thermal_camera/Export.hh"
52 #include "gz/sensors/Export.hh"
60 inline namespace IGNITION_SENSORS_VERSION_NAMESPACE {
62 class ThermalCameraSensorPrivate;
83 public:
virtual bool Load(
const sdf::Sensor &_sdf)
override;
88 public:
virtual bool Load(sdf::ElementPtr _sdf)
override;
92 public:
virtual bool Init()
override;
97 public:
virtual bool Update(
98 const std::chrono::steady_clock::duration &_now)
override;
103 public:
virtual rendering::ThermalCameraPtr ThermalCamera();
111 public:
void OnNewThermalFrame(
const uint16_t *_scan,
112 unsigned int _width,
unsigned int _height,
113 unsigned int _channels,
124 public: common::ConnectionPtr ConnectImageCallback(
129 public:
virtual void SetScene(
130 gz::rendering::ScenePtr _scene)
override;
134 public:
virtual unsigned int ImageWidth()
const override;
138 public:
virtual unsigned int ImageHeight()
const override;
142 public:
virtual void SetAmbientTemperature(
float _ambient);
147 public:
virtual void SetAmbientTemperatureRange(
float _range);
151 public:
virtual void SetMinTemperature(
float _min);
155 public:
virtual void SetMaxTemperature(
float _max);
162 public:
virtual void SetLinearResolution(
float _resolution);
167 public:
bool HasConnections()
const;
171 private:
bool CreateCamera();
176 private:
void OnSceneChange(gz::rendering::ScenePtr )
179 IGN_COMMON_WARN_IGNORE__DLL_INTERFACE_MISSING
183 IGN_COMMON_WARN_RESUME__DLL_INTERFACE_MISSING
Thermal camera sensor class.
Definition: gz/sensors/ThermalCameraSensor.hh:71
Definition: gz/sensors/AirPressureSensor.hh:31
Camera Sensor Class.
Definition: gz/sensors/CameraSensor.hh:71