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

Structure containing all information required to create the camera sensor. More...

#include <CameraSensorDescription.h>

Public Types

enum class  CameraChannelType { RGB = 0 , DEPTH = 1 }
 Type of camera channel.
 

Public Member Functions

 CameraSensorDescription (const AZStd::string &cameraName, const AZStd::string &effectiveNamespace, const CameraSensorConfiguration &configuration, const SensorConfiguration &sensorConfiguration)
 

Public Attributes

const CameraSensorConfiguration m_cameraConfiguration
 Configuration of the camera.
 
const SensorConfiguration m_sensorConfiguration
 Generic sensor configuration.
 
const AZStd::string m_cameraName
 Camera name to differentiate cameras in a multi-camera setup.
 
const AZStd::string m_cameraNamespace
 Effective camera namespace for frames and topics.
 
const AZ::Matrix4x4 m_viewToClipMatrix
 Camera view to clip space transform matrix; derived from other parameters.
 
const AZ::Matrix3x3 m_cameraIntrinsics
 Camera intrinsics; derived from other parameters.
 

Detailed Description

Structure containing all information required to create the camera sensor.

Constructor & Destructor Documentation

◆ CameraSensorDescription()

ROS2::CameraSensorDescription::CameraSensorDescription ( const AZStd::string &  cameraName,
const AZStd::string &  effectiveNamespace,
const CameraSensorConfiguration configuration,
const SensorConfiguration sensorConfiguration 
)

Constructor to create the description

Parameters
cameraName- name of the camera; used to differentiate cameras in a multi-camera setup.
effectiveNamespace- namespace for camera frames and topics.
configuration- configuration structure for the camera, defining its characteristics.
sensorConfiguration- generic configuration for this sensor.

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