|
| | ChCameraSensor (std::shared_ptr< chrono::ChBody > parent, float updateRate, chrono::ChFrame< double > offsetPose, unsigned int w, unsigned int h, float hFOV, unsigned int supersample_factor=1, CameraLensModelType lens_model=CameraLensModelType::PINHOLE, bool use_gi=false, float gamma=2.2, bool use_fog=true) |
| | Constructor for the base camera class that defaults to a pinhole lens model.
|
| |
|
| ~ChCameraSensor () |
| | camera class destructor
|
| |
| float | GetHFOV () const |
| | returns the camera's horizontal field of view.
|
| |
| CameraLensModelType | GetLensModelType () const |
| | returns the lens model type used for rendering
|
| |
| LensParams | GetLensParameters () const |
| | returns the lens model parameters
|
| |
| void | SetRadialLensParameters (ChVector3f params) |
| | @briefSets the parameters for a radial lens distortion model.
|
| |
| bool | GetUseGI () |
| | returns if the cemera requesting global illumination
|
| |
| float | GetGamma () |
| | returns the gamma correction value of this camera.
|
| |
| unsigned int | GetSampleFactor () |
| | Gets the number of samples per pixels in each direction used for super sampling.
|
| |
| bool | GetUseFog () |
| | returns if the cemera should use fog as dictated by the scene
|
| |
| ChMatrix33< float > | GetCameraIntrinsicMatrix () |
| | returns the 3x3 Intrinsic Matrix(K) of the camera
|
| |
| ChVector3f | GetCameraDistortionCoefficients () |
| | returns the camera distortion coefficients k1, k2, k3
|
| |
| | 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.
|
| |
|
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.
|
| |
|
virtual | ~ChSensor () |
| | Class destructor.
|
| |
| void | SetOffsetPose (chrono::ChFrame< double > pose) |
| | Set the sensor's relative position and orientation.
|
| |
| ChFrame< double > | GetOffsetPose () |
| | Get the sensor's relative position and orientation.
|
| |
| std::shared_ptr< ChBody > | GetParent () const |
| | Get the object to which the sensor is attached.
|
| |
| void | SetName (std::string name) |
| | Set the sensor's name.
|
| |
| std::string | GetName () const |
| | Get the name of the sensor.
|
| |
| float | GetUpdateRate () const |
| | Get the sensor update rate (Hz)
|
| |
| void | SetLag (float t) |
| | Set the lag parameter.
|
| |
| float | GetLag () const |
| | Get the sensor lag (seconds)
|
| |
| void | SetCollectionWindow (float t) |
| | Set the collection window.
|
| |
| float | GetCollectionWindow () const |
| | Get the sensor data collection window (seconds)
|
| |
| void | SetUpdateRate (float updateRate) |
| | Set the sensor update rate (Hz)
|
| |
| unsigned int | GetNumLaunches () |
| | Get the number of times the sensor has been updated.
|
| |
|
void | IncrementNumLaunches () |
| | Increments the count of number of updates.
|
| |
| std::list< std::shared_ptr< ChFilter > > | GetFilterList () const |
| | Get the sensor's list of filters.
|
| |
| void | PushFilter (std::shared_ptr< ChFilter > filter) |
| | Add a filter to the sensor.
|
| |
| void | PushFilterFront (std::shared_ptr< ChFilter > filter) |
| | Add a filter to the front of the list on a sensor.
|
| |
| void | LockFilterList () |
| | Gives ability to lock the filter list to prevent race conditions.
|
| |
| template<class UserBufferType > |
| UserBufferType | GetMostRecentBuffer () |
| | Get the last filter in the list that matches the template type.
|
| |
|
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 () |
| |
|
|
PipelineType | m_pipeline_type |
| | the type of pipeline for rendering
|
| |
|
float | m_updateRate |
| | sensor update rate
|
| |
|
float | m_lag |
| | sensor lag from the time all scene information is available (sensor processing time)
|
| |
| float | m_collection_window |
| | time over which data is collected.
|
| |
|
float | m_timeLastUpdated |
| | time since previous update
|
| |
|
std::shared_ptr< chrono::ChBody > | m_parent |
| | object to which the sensor is attached
|
| |
|
chrono::ChFrame< double > | m_offsetPose |
| | position and orientation of the sensor relative to its parent
|
| |
|
std::string | m_name |
| | name of the sensor
|
| |
|
unsigned int | m_num_launches |
| | number of times the sensor has been updated
|
| |
|
std::list< std::shared_ptr< ChFilter > > | m_filters |
| | filter list for post-processing sensor data
|
| |
|
bool | m_filter_list_locked = false |
| | gives ability to lock the filter list to prevent race conditions
|
| |