Open 3D Engine ROS2 Gem API Reference  23.05.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
ROS2::LidarTemplate Struct Reference

#include <LidarTemplate.h>

Classes

struct  NoiseParameters
 

Public Types

enum  LidarModel {
  Custom3DLidar, Ouster_OS0_64, Ouster_OS1_64, Ouster_OS2_64,
  Velodyne_Puck, Velodyne_HDL_32E
}
 

Public Member Functions

 AZ_TYPE_INFO (LidarTemplate,"{9E9EF583-733D-4450-BBA0-ADD4D1BEFBF2}")
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

Public Attributes

LidarModel m_model
 
AZStd::string m_name
 Name of lidar template.
 
float m_minHAngle = 0.0f
 Minimum horizontal angle (altitude of the ray), in degrees.
 
float m_maxHAngle = 0.0f
 Maximum horizontal angle (altitude of the ray), in degrees.
 
float m_minVAngle = 0.0f
 Minimum vertical angle (azimuth of the ray), in degrees.
 
float m_maxVAngle = 0.0f
 Maximum vertical angle (azimuth of the ray), in degrees.
 
unsigned int m_layers = 0
 Number of lasers layers (resolution in horizontal direction)
 
unsigned int m_numberOfIncrements = 0
 Resolution in vertical direction.
 
float m_maxRange = 0.0f
 Maximum range of simulated LiDAR.
 
NoiseParameters m_noiseParameters
 
bool m_showNoiseConfig = false
 

Detailed Description

Configuration reflecting a specific Lidar model. This is meant to capture differences between different Lidars available on the market.

Note
Current implementation is simplified. Rays in real lidars are often not uniformly distributed among angular range, there is noise etc.

The documentation for this struct was generated from the following file: