Project Chrono: chrono::sensor::SensorBufferT< B > Struct Template Reference

Public Attributes | List of all members
chrono::sensor::SensorBufferT< B > Struct Template Reference
SENSOR module » Sensor Data Buffers

## Description

template<class B>
struct chrono::sensor::SensorBufferT< B >

Base class of 2D buffers.

This holds the raw sensor data. (Do not use this class directly, instead use the typedefs below)

`#include <ChSensorBuffer.h>`

Inheritance diagram for chrono::sensor::SensorBufferT< B >:
[legend]
Collaboration diagram for chrono::sensor::SensorBufferT< B >:
[legend]

## Public Attributes
B | Buffer
Public Attributes inherited from chrono::sensor::SensorBuffer
float | TimeStamp
| The time stamp on the buffer (simulation time when data collection stopped).
unsigned int | Width
| The width of the data (image width when data is an image).
unsigned int | Height
| The height of the data (image height when data is an image).
unsigned int | LaunchedCount
| number of times updates have been launched (may not reflect how many completed) /unsigned int Beam_return_count; ///< number of beam returns for lidar model /bool Dual_return; ///< true if dual return mode, false otherwise

## Additional Inherited Members
Public Member Functions inherited from chrono::sensor::SensorBuffer
| SensorBuffer ()
| Default constructor that intializes all zero values.
| SensorBuffer (unsigned int w, unsigned int h, float t)
| Constructor based on height, width, and time.

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

- D:/W/B/src/chrono-9.0.1/src/chrono_sensor/sensors/ChSensorBuffer.h