LibMultiSense
LibMultiSense Documentation
crl::multisense Namespace Reference

Namespaces

 compressed_image
 
 ground_surface
 
 image
 
 imu
 
 lidar
 
 lighting
 
 pps
 
 system
 

Classes

class  Channel
 Class which manages all communications with a MultiSense device. More...
 
class  DirectedStream
 Class used to request that MultiSense data be sent to a 3rd-party stream destination (UDP port), currently supported only by CRL's Monocular IP Camera. More...
 
class  HeaderBase
 Base Header class for sensor callbacks. More...
 

Typedefs

typedef uint32_t VersionType
 Sensor version typedef used to store a given version number. More...
 
typedef int32_t Status
 General status typdef used as a return value for get/set crl::multisense::Channel methods. More...
 
typedef uint32_t DataSource
 Data sources typedef representing the various data sources available from sensors in the MultiSense-S line. More...
 
typedef uint32_t CameraProfile
 Camera profile typedef representing the various stereo profiles available from newer S27/S30 MultiSense variants. More...
 
typedef uint32_t ImageCompressionCodec
 Image compression codec typedef indicating the compression scheme which was used on the compressed output streams. More...
 
typedef uint32_t TriggerSource
 

Variables

static CRL_CONSTEXPR Status Status_Ok = 0
 
static CRL_CONSTEXPR Status Status_TimedOut = -1
 
static CRL_CONSTEXPR Status Status_Error = -2
 
static CRL_CONSTEXPR Status Status_Failed = -3
 
static CRL_CONSTEXPR Status Status_Unsupported = -4
 
static CRL_CONSTEXPR Status Status_Unknown = -5
 
static CRL_CONSTEXPR Status Status_Exception = -6
 
static CRL_CONSTEXPR DataSource Source_Unknown = 0
 
static CRL_CONSTEXPR DataSource Source_All = 0xffffffff
 
static CRL_CONSTEXPR DataSource Source_Raw_Left = (1U<<0)
 
static CRL_CONSTEXPR DataSource Source_Raw_Right = (1U<<1)
 
static CRL_CONSTEXPR DataSource Source_Luma_Left = (1U<<2)
 
static CRL_CONSTEXPR DataSource Source_Luma_Right = (1U<<3)
 
static CRL_CONSTEXPR DataSource Source_Luma_Rectified_Left = (1U<<4)
 
static CRL_CONSTEXPR DataSource Source_Luma_Rectified_Right = (1U<<5)
 
static CRL_CONSTEXPR DataSource Source_Chroma_Left = (1U<<6)
 
static CRL_CONSTEXPR DataSource Source_Chroma_Right = (1U<<7)
 
static CRL_CONSTEXPR DataSource Source_Chroma_Rectified_Aux = (1U<<8)
 
static CRL_CONSTEXPR DataSource Source_Disparity = (1U<<10)
 
static CRL_CONSTEXPR DataSource Source_Disparity_Left = (1U<<10)
 
static CRL_CONSTEXPR DataSource Source_Disparity_Right = (1U<<11)
 
static CRL_CONSTEXPR DataSource Source_Disparity_Cost = (1U<<12)
 
static CRL_CONSTEXPR DataSource Source_Jpeg_Left = (1U<<16)
 
static CRL_CONSTEXPR DataSource Source_Rgb_Left = (1U<<17)
 
static CRL_CONSTEXPR DataSource Source_Ground_Surface_Spline_Data = (1U<<20)
 
static CRL_CONSTEXPR DataSource Source_Ground_Surface_Class_Image = (1U<<22)
 
static CRL_CONSTEXPR DataSource Source_Lidar_Scan = (1U<<24)
 
static CRL_CONSTEXPR DataSource Source_Imu = (1U<<25)
 
static CRL_CONSTEXPR DataSource Source_Pps = (1U<<26)
 
static CRL_CONSTEXPR DataSource Source_Raw_Aux = (1U<<27)
 
static CRL_CONSTEXPR DataSource Source_Luma_Aux = (1U<<28)
 
static CRL_CONSTEXPR DataSource Source_Luma_Rectified_Aux = (1U<<29)
 
static CRL_CONSTEXPR DataSource Source_Chroma_Aux = (1U<<30)
 
static CRL_CONSTEXPR DataSource Source_Disparity_Aux = (1U<<31)
 
static CRL_CONSTEXPR DataSource Source_Compressed_Left = (1U<<9)
 
static CRL_CONSTEXPR DataSource Source_Compressed_Right = (1U<<13)
 
static CRL_CONSTEXPR DataSource Source_Compressed_Aux = (1U<<14)
 
static CRL_CONSTEXPR DataSource Source_Compressed_Rectified_Left = (1U<<15)
 
static CRL_CONSTEXPR DataSource Source_Compressed_Rectified_Right = (1U<<16)
 
static CRL_CONSTEXPR DataSource Source_Compressed_Rectified_Aux = (1U<<17)
 
static CRL_CONSTEXPR int Roi_Full_Image = 0
 Use Roi_Full_Image as the height and width when setting the autoExposureRoi to set the ROI to the full image regardless of the current resolution. More...
 
static CRL_CONSTEXPR DataSource Exposure_Default_Source = Source_Luma_Left
 
static CRL_CONSTEXPR float Exposure_Default_Target_Intensity = 0.5f
 
static CRL_CONSTEXPR float Exposure_Default_Gain = 1.0f
 
static CRL_CONSTEXPR CameraProfile User_Control = 0
 User has direct control over all settings in the image configuration. More...
 
static CRL_CONSTEXPR CameraProfile Detail_Disparity = (1U<<0)
 User would like more detail in the disparity image. More...
 
static CRL_CONSTEXPR CameraProfile High_Contrast = (1U<<1)
 User would like more contrast in images. More...
 
static CRL_CONSTEXPR CameraProfile Show_ROIs = (1U<<2)
 User would like see the auto exposure Regions of Interest drawn on the image. More...
 
static CRL_CONSTEXPR CameraProfile Ground_Surface = (1U<<3)
 User would like to run spline-based ground surface algorithm on the camera. More...
 
static CRL_CONSTEXPR CameraProfile Full_Res_Aux_Cam = (1U<<4)
 User would like full resolution images from the aux camera regardless of the requested resolution of the stereo pair. More...
 
static CRL_CONSTEXPR CameraProfile Active_Head_0 = (1U<<5)
 User would like to set the active head to remote head 0. More...
 
static CRL_CONSTEXPR CameraProfile Active_Head_1 = (1U<<6)
 User would like to set the active head to remote head 0. More...
 
static CRL_CONSTEXPR CameraProfile Active_Head_2 = (1U<<7)
 User would like to set the active head to remote head 0. More...
 
static CRL_CONSTEXPR CameraProfile Active_Head_3 = (1U<<8)
 User would like to set the active head to remote head 0. More...
 
static CRL_CONSTEXPR ImageCompressionCodec H264 = 0
 Image data is compressed with the H.264 Codec. More...
 
static CRL_CONSTEXPR TriggerSource Trigger_Internal = 0
 Default internal trigger source. More...
 
static CRL_CONSTEXPR TriggerSource Trigger_External = 1
 External OPTO_RX trigger input. More...
 
static CRL_CONSTEXPR TriggerSource Trigger_External_Inverted = 2
 External OPTO_RX trigger input with Inverted Polarity. More...
 
static CRL_CONSTEXPR TriggerSource Trigger_PTP = 3
 Syncronize cameras on integer timestamps when using PTP. More...
 

Typedef Documentation

◆ CameraProfile

Camera profile typedef representing the various stereo profiles available from newer S27/S30 MultiSense variants.

Camera profiles are used to augment and extend the standard set of user accessible camera controls. Multiple camera profiles can be requested at once using the bitwise OR operator.

Definition at line 165 of file MultiSenseTypes.hh.

◆ DataSource

typedef uint32_t crl::multisense::DataSource

Data sources typedef representing the various data sources available from sensors in the MultiSense-S line.

Variables of this type are used to query which data sources are supported by a given sensor, and to control the streaming of those datasources from the sensor. DataSource values can be combined using the bitwise OR operator to represent multiple sources.

Definition at line 114 of file MultiSenseTypes.hh.

◆ ImageCompressionCodec

Image compression codec typedef indicating the compression scheme which was used on the compressed output streams.

Compression is only supported on newer S27/S30 MultiSense variants.

Definition at line 194 of file MultiSenseTypes.hh.

◆ Status

typedef int32_t crl::multisense::Status

General status typdef used as a return value for get/set crl::multisense::Channel methods.

Definition at line 93 of file MultiSenseTypes.hh.

◆ TriggerSource

Definition at line 251 of file MultiSenseTypes.hh.

◆ VersionType

typedef uint32_t crl::multisense::VersionType

Sensor version typedef used to store a given version number.

Definition at line 87 of file MultiSenseTypes.hh.

Variable Documentation

◆ Active_Head_0

CRL_CONSTEXPR CameraProfile crl::multisense::Active_Head_0 = (1U<<5)
static

User would like to set the active head to remote head 0.

Definition at line 181 of file MultiSenseTypes.hh.

◆ Active_Head_1

CRL_CONSTEXPR CameraProfile crl::multisense::Active_Head_1 = (1U<<6)
static

User would like to set the active head to remote head 0.

Definition at line 183 of file MultiSenseTypes.hh.

◆ Active_Head_2

CRL_CONSTEXPR CameraProfile crl::multisense::Active_Head_2 = (1U<<7)
static

User would like to set the active head to remote head 0.

Definition at line 185 of file MultiSenseTypes.hh.

◆ Active_Head_3

CRL_CONSTEXPR CameraProfile crl::multisense::Active_Head_3 = (1U<<8)
static

User would like to set the active head to remote head 0.

Definition at line 187 of file MultiSenseTypes.hh.

◆ Detail_Disparity

CRL_CONSTEXPR CameraProfile crl::multisense::Detail_Disparity = (1U<<0)
static

User would like more detail in the disparity image.

Definition at line 170 of file MultiSenseTypes.hh.

◆ Exposure_Default_Gain

CRL_CONSTEXPR float crl::multisense::Exposure_Default_Gain = 1.0f
static

Definition at line 157 of file MultiSenseTypes.hh.

◆ Exposure_Default_Source

CRL_CONSTEXPR DataSource crl::multisense::Exposure_Default_Source = Source_Luma_Left
static

Definition at line 155 of file MultiSenseTypes.hh.

◆ Exposure_Default_Target_Intensity

CRL_CONSTEXPR float crl::multisense::Exposure_Default_Target_Intensity = 0.5f
static

Definition at line 156 of file MultiSenseTypes.hh.

◆ Full_Res_Aux_Cam

CRL_CONSTEXPR CameraProfile crl::multisense::Full_Res_Aux_Cam = (1U<<4)
static

User would like full resolution images from the aux camera regardless of the requested resolution of the stereo pair.

Warning: This profile will be deprecated in future revisions of the software.

Definition at line 179 of file MultiSenseTypes.hh.

◆ Ground_Surface

CRL_CONSTEXPR CameraProfile crl::multisense::Ground_Surface = (1U<<3)
static

User would like to run spline-based ground surface algorithm on the camera.

Definition at line 176 of file MultiSenseTypes.hh.

◆ H264

CRL_CONSTEXPR ImageCompressionCodec crl::multisense::H264 = 0
static

Image data is compressed with the H.264 Codec.

Definition at line 197 of file MultiSenseTypes.hh.

◆ High_Contrast

CRL_CONSTEXPR CameraProfile crl::multisense::High_Contrast = (1U<<1)
static

User would like more contrast in images.

Definition at line 172 of file MultiSenseTypes.hh.

◆ Roi_Full_Image

CRL_CONSTEXPR int crl::multisense::Roi_Full_Image = 0
static

Use Roi_Full_Image as the height and width when setting the autoExposureRoi to set the ROI to the full image regardless of the current resolution.

Definition at line 154 of file MultiSenseTypes.hh.

◆ Show_ROIs

CRL_CONSTEXPR CameraProfile crl::multisense::Show_ROIs = (1U<<2)
static

User would like see the auto exposure Regions of Interest drawn on the image.

Definition at line 174 of file MultiSenseTypes.hh.

◆ Source_All

CRL_CONSTEXPR DataSource crl::multisense::Source_All = 0xffffffff
static

Definition at line 117 of file MultiSenseTypes.hh.

◆ Source_Chroma_Aux

CRL_CONSTEXPR DataSource crl::multisense::Source_Chroma_Aux = (1U<<30)
static

Definition at line 141 of file MultiSenseTypes.hh.

◆ Source_Chroma_Left

CRL_CONSTEXPR DataSource crl::multisense::Source_Chroma_Left = (1U<<6)
static

Definition at line 124 of file MultiSenseTypes.hh.

◆ Source_Chroma_Rectified_Aux

CRL_CONSTEXPR DataSource crl::multisense::Source_Chroma_Rectified_Aux = (1U<<8)
static

Definition at line 126 of file MultiSenseTypes.hh.

◆ Source_Chroma_Right

CRL_CONSTEXPR DataSource crl::multisense::Source_Chroma_Right = (1U<<7)
static

Definition at line 125 of file MultiSenseTypes.hh.

◆ Source_Compressed_Aux

CRL_CONSTEXPR DataSource crl::multisense::Source_Compressed_Aux = (1U<<14)
static

Definition at line 145 of file MultiSenseTypes.hh.

◆ Source_Compressed_Left

CRL_CONSTEXPR DataSource crl::multisense::Source_Compressed_Left = (1U<<9)
static

Definition at line 143 of file MultiSenseTypes.hh.

◆ Source_Compressed_Rectified_Aux

CRL_CONSTEXPR DataSource crl::multisense::Source_Compressed_Rectified_Aux = (1U<<17)
static

Definition at line 148 of file MultiSenseTypes.hh.

◆ Source_Compressed_Rectified_Left

CRL_CONSTEXPR DataSource crl::multisense::Source_Compressed_Rectified_Left = (1U<<15)
static

Definition at line 146 of file MultiSenseTypes.hh.

◆ Source_Compressed_Rectified_Right

CRL_CONSTEXPR DataSource crl::multisense::Source_Compressed_Rectified_Right = (1U<<16)
static

Definition at line 147 of file MultiSenseTypes.hh.

◆ Source_Compressed_Right

CRL_CONSTEXPR DataSource crl::multisense::Source_Compressed_Right = (1U<<13)
static

Definition at line 144 of file MultiSenseTypes.hh.

◆ Source_Disparity

CRL_CONSTEXPR DataSource crl::multisense::Source_Disparity = (1U<<10)
static

Definition at line 127 of file MultiSenseTypes.hh.

◆ Source_Disparity_Aux

CRL_CONSTEXPR DataSource crl::multisense::Source_Disparity_Aux = (1U<<31)
static

Definition at line 142 of file MultiSenseTypes.hh.

◆ Source_Disparity_Cost

CRL_CONSTEXPR DataSource crl::multisense::Source_Disparity_Cost = (1U<<12)
static

Definition at line 130 of file MultiSenseTypes.hh.

◆ Source_Disparity_Left

CRL_CONSTEXPR DataSource crl::multisense::Source_Disparity_Left = (1U<<10)
static

Definition at line 128 of file MultiSenseTypes.hh.

◆ Source_Disparity_Right

CRL_CONSTEXPR DataSource crl::multisense::Source_Disparity_Right = (1U<<11)
static

Definition at line 129 of file MultiSenseTypes.hh.

◆ Source_Ground_Surface_Class_Image

CRL_CONSTEXPR DataSource crl::multisense::Source_Ground_Surface_Class_Image = (1U<<22)
static

Definition at line 134 of file MultiSenseTypes.hh.

◆ Source_Ground_Surface_Spline_Data

CRL_CONSTEXPR DataSource crl::multisense::Source_Ground_Surface_Spline_Data = (1U<<20)
static

Definition at line 133 of file MultiSenseTypes.hh.

◆ Source_Imu

CRL_CONSTEXPR DataSource crl::multisense::Source_Imu = (1U<<25)
static

Definition at line 136 of file MultiSenseTypes.hh.

◆ Source_Jpeg_Left

CRL_CONSTEXPR DataSource crl::multisense::Source_Jpeg_Left = (1U<<16)
static

Definition at line 131 of file MultiSenseTypes.hh.

◆ Source_Lidar_Scan

CRL_CONSTEXPR DataSource crl::multisense::Source_Lidar_Scan = (1U<<24)
static

Definition at line 135 of file MultiSenseTypes.hh.

◆ Source_Luma_Aux

CRL_CONSTEXPR DataSource crl::multisense::Source_Luma_Aux = (1U<<28)
static

Definition at line 139 of file MultiSenseTypes.hh.

◆ Source_Luma_Left

CRL_CONSTEXPR DataSource crl::multisense::Source_Luma_Left = (1U<<2)
static

Definition at line 120 of file MultiSenseTypes.hh.

◆ Source_Luma_Rectified_Aux

CRL_CONSTEXPR DataSource crl::multisense::Source_Luma_Rectified_Aux = (1U<<29)
static

Definition at line 140 of file MultiSenseTypes.hh.

◆ Source_Luma_Rectified_Left

CRL_CONSTEXPR DataSource crl::multisense::Source_Luma_Rectified_Left = (1U<<4)
static

Definition at line 122 of file MultiSenseTypes.hh.

◆ Source_Luma_Rectified_Right

CRL_CONSTEXPR DataSource crl::multisense::Source_Luma_Rectified_Right = (1U<<5)
static

Definition at line 123 of file MultiSenseTypes.hh.

◆ Source_Luma_Right

CRL_CONSTEXPR DataSource crl::multisense::Source_Luma_Right = (1U<<3)
static

Definition at line 121 of file MultiSenseTypes.hh.

◆ Source_Pps

CRL_CONSTEXPR DataSource crl::multisense::Source_Pps = (1U<<26)
static

Definition at line 137 of file MultiSenseTypes.hh.

◆ Source_Raw_Aux

CRL_CONSTEXPR DataSource crl::multisense::Source_Raw_Aux = (1U<<27)
static

Definition at line 138 of file MultiSenseTypes.hh.

◆ Source_Raw_Left

CRL_CONSTEXPR DataSource crl::multisense::Source_Raw_Left = (1U<<0)
static

Definition at line 118 of file MultiSenseTypes.hh.

◆ Source_Raw_Right

CRL_CONSTEXPR DataSource crl::multisense::Source_Raw_Right = (1U<<1)
static

Definition at line 119 of file MultiSenseTypes.hh.

◆ Source_Rgb_Left

CRL_CONSTEXPR DataSource crl::multisense::Source_Rgb_Left = (1U<<17)
static

Definition at line 132 of file MultiSenseTypes.hh.

◆ Source_Unknown

CRL_CONSTEXPR DataSource crl::multisense::Source_Unknown = 0
static

Definition at line 116 of file MultiSenseTypes.hh.

◆ Status_Error

CRL_CONSTEXPR Status crl::multisense::Status_Error = -2
static

Definition at line 100 of file MultiSenseTypes.hh.

◆ Status_Exception

CRL_CONSTEXPR Status crl::multisense::Status_Exception = -6
static

Definition at line 104 of file MultiSenseTypes.hh.

◆ Status_Failed

CRL_CONSTEXPR Status crl::multisense::Status_Failed = -3
static

Definition at line 101 of file MultiSenseTypes.hh.

◆ Status_Ok

CRL_CONSTEXPR Status crl::multisense::Status_Ok = 0
static

Definition at line 98 of file MultiSenseTypes.hh.

◆ Status_TimedOut

CRL_CONSTEXPR Status crl::multisense::Status_TimedOut = -1
static

Definition at line 99 of file MultiSenseTypes.hh.

◆ Status_Unknown

CRL_CONSTEXPR Status crl::multisense::Status_Unknown = -5
static

Definition at line 103 of file MultiSenseTypes.hh.

◆ Status_Unsupported

CRL_CONSTEXPR Status crl::multisense::Status_Unsupported = -4
static

Definition at line 102 of file MultiSenseTypes.hh.

◆ Trigger_External

CRL_CONSTEXPR TriggerSource crl::multisense::Trigger_External = 1
static

External OPTO_RX trigger input.

Definition at line 256 of file MultiSenseTypes.hh.

◆ Trigger_External_Inverted

CRL_CONSTEXPR TriggerSource crl::multisense::Trigger_External_Inverted = 2
static

External OPTO_RX trigger input with Inverted Polarity.

Definition at line 258 of file MultiSenseTypes.hh.

◆ Trigger_Internal

CRL_CONSTEXPR TriggerSource crl::multisense::Trigger_Internal = 0
static

Default internal trigger source.

Corresponds to image::config.setFps()

Definition at line 254 of file MultiSenseTypes.hh.

◆ Trigger_PTP

CRL_CONSTEXPR TriggerSource crl::multisense::Trigger_PTP = 3
static

Syncronize cameras on integer timestamps when using PTP.

Definition at line 260 of file MultiSenseTypes.hh.

◆ User_Control

CRL_CONSTEXPR CameraProfile crl::multisense::User_Control = 0
static

User has direct control over all settings in the image configuration.

Definition at line 168 of file MultiSenseTypes.hh.