Go to the documentation of this file.
17 #ifndef GZ_SENSORS_GPULIDARSENSOR_HH_
18 #define GZ_SENSORS_GPULIDARSENSOR_HH_
25 #include <gz/common/SuppressWarning.hh>
31 #pragma warning(disable: 4251)
33 #include <gz/rendering/GpuRays.hh>
38 #include "gz/sensors/gpu_lidar/Export.hh"
47 inline namespace IGNITION_SENSORS_VERSION_NAMESPACE {
50 class GpuLidarSensorPrivate;
72 public:
virtual bool Update(
const common::Time &_now)
override;
76 public:
virtual bool Init()
override;
81 public:
virtual bool Load(
const sdf::Sensor &_sdf)
override;
86 public:
virtual bool Load(sdf::ElementPtr _sdf)
override;
89 public:
virtual bool CreateLidar()
override;
93 public:
bool IsHorizontal()
const;
97 public:
void SetScene(gz::rendering::ScenePtr _scene)
override;
101 public:
void RemoveGpuRays(gz::rendering::ScenePtr _scene);
105 public: gz::rendering::GpuRaysPtr GpuRays()
const;
113 public:
double RayCountRatio()
const;
117 public: gz::math::Angle HFOV()
const;
121 public: gz::math::Angle VFOV()
const;
125 public:
virtual gz::common::ConnectionPtr ConnectNewLidarFrame(
127 unsigned int _heighti,
unsigned int _channels,
130 IGN_COMMON_WARN_IGNORE__DLL_INTERFACE_MISSING
134 IGN_COMMON_WARN_RESUME__DLL_INTERFACE_MISSING
Definition: gz/sensors/AirPressureSensor.hh:32
GpuLidar Sensor Class.
Definition: gz/sensors/GpuLidarSensor.hh:61
Lidar Sensor Class.
Definition: gz/sensors/Lidar.hh:49