|
| ChDepthCamera (std::shared_ptr< chrono::ChBody > parent, float updateRate, chrono::ChFrame< double > offsetPose, unsigned int w, unsigned int h, float hFOV, float maxDepth=1000.f, CameraLensModelType lens_model=CameraLensModelType::PINHOLE) |
| Constructor for a depth camera that defaults to a pinhole lens model. More...
|
|
| ~ChDepthCamera () |
| camera class destructor
|
|
float | GetHFOV () const |
| returns the camera's horizontal field of view. More...
|
|
CameraLensModelType | GetLensModelType () const |
| returns the lens model type used for rendering More...
|
|
LensParams | GetLensParameters () const |
| returns the lens model parameters More...
|
|
void | SetRadialLensParameters (ChVector3f params) |
| Sets the parameters for a radial lens distortion model Parameters should be given for the forward model The backward distortion model will the used and calculated from the forward parameters given. More...
|
|
void | SetMaxDepth (float maxDepth) |
| set the maximum depth value for the depth camera More...
|
|
float | GetMaxDepth () const |
| returns the maximum depth value for the depth camera More...
|
|
| ChOptixSensor (std::shared_ptr< chrono::ChBody > parent, float updateRate, chrono::ChFrame< double > offsetPose, unsigned int w, unsigned int h) |
| Constructor for the base camera class that defaults to a pinhole lens model. More...
|
|
virtual | ~ChOptixSensor () |
| camera class destructor
|
|
PipelineType | GetPipelineType () |
|
unsigned int | GetWidth () |
|
unsigned int | GetHeight () |
|
CUstream | GetCudaStream () |
|
| ChSensor (std::shared_ptr< chrono::ChBody > parent, float updateRate, chrono::ChFrame< double > offsetPose) |
| Constructor for the base sensor class. More...
|
|
virtual | ~ChSensor () |
| Class destructor.
|
|
void | SetOffsetPose (chrono::ChFrame< double > pose) |
| Set the sensor's relative position and orientation. More...
|
|
ChFrame< double > | GetOffsetPose () |
| Get the sensor's relative position and orientation. More...
|
|
std::shared_ptr< ChBody > | GetParent () const |
| Get the object to which the sensor is attached. More...
|
|
void | SetName (std::string name) |
| Set the sensor's name. More...
|
|
std::string | GetName () const |
| Get the name of the sensor. More...
|
|
float | GetUpdateRate () const |
| Get the sensor update rate (Hz) More...
|
|
void | SetLag (float t) |
| Set the lag parameter. More...
|
|
float | GetLag () const |
| Get the sensor lag (seconds) More...
|
|
void | SetCollectionWindow (float t) |
| Set the collection window. More...
|
|
float | GetCollectionWindow () const |
| Get the sensor data collection window (seconds) More...
|
|
void | SetUpdateRate (float updateRate) |
| Set the sensor update rate (Hz) More...
|
|
unsigned int | GetNumLaunches () |
| Get the number of times the sensor has been updated. More...
|
|
void | IncrementNumLaunches () |
| Increments the count of number of updates.
|
|
std::list< std::shared_ptr< ChFilter > > | GetFilterList () const |
| Get the sensor's list of filters. More...
|
|
void | PushFilter (std::shared_ptr< ChFilter > filter) |
| Add a filter to the sensor. More...
|
|
void | PushFilterFront (std::shared_ptr< ChFilter > filter) |
| Add a filter to the front of the list on a sensor. More...
|
|
void | LockFilterList () |
| Gives ability to lock the filter list to prevent race conditions. More...
|
|
template<class UserBufferType > |
UserBufferType | GetMostRecentBuffer () |
| Get the last filter in the list that matches the template type. More...
|
|
template<> |
CH_SENSOR_API UserR8BufferPtr | GetMostRecentBuffer () |
|
template<> |
CH_SENSOR_API UserRGBA8BufferPtr | GetMostRecentBuffer () |
|
template<> |
CH_SENSOR_API UserDepthBufferPtr | GetMostRecentBuffer () |
|
template<> |
CH_SENSOR_API UserDIBufferPtr | GetMostRecentBuffer () |
|
template<> |
CH_SENSOR_API UserXYZIBufferPtr | GetMostRecentBuffer () |
|
template<> |
CH_SENSOR_API UserRadarBufferPtr | GetMostRecentBuffer () |
|
template<> |
CH_SENSOR_API UserRadarXYZBufferPtr | GetMostRecentBuffer () |
|
template<> |
CH_SENSOR_API UserAccelBufferPtr | GetMostRecentBuffer () |
|
template<> |
CH_SENSOR_API UserGyroBufferPtr | GetMostRecentBuffer () |
|
template<> |
CH_SENSOR_API UserMagnetBufferPtr | GetMostRecentBuffer () |
|
template<> |
CH_SENSOR_API UserGPSBufferPtr | GetMostRecentBuffer () |
|
template<> |
CH_SENSOR_API UserTachometerBufferPtr | GetMostRecentBuffer () |
|