Radar class - corresponds to a FMCW radar.
With OptiX enabled this routes through the OptiX backend. With Vulkan RT enabled and OptiX disabled it keeps the same public API and routes through the Vulkan RT backend, including raw radar and radar point-cloud filters.
|
| | ChRadarSensor (std::shared_ptr< ChBody > parent, const float updateRate, ChFrame< double > offsetPose, const unsigned int w, const unsigned int h, const float hfov, const float vfov, const float max_distance, const float clip_near=1e-3f) |
| | Constructor for the base radar class. More...
|
| |
| float | GetHFOV () const |
| | Gives the horizontal field of view of the radar (angle between right-most and left-most ray for a "frame"). More...
|
| |
| float | GetVFOV () const |
| | Returns the vertical field of view the radar. More...
|
| |
| float | GetMaxDistance () const |
| | Returns the maximum range of the radar. More...
|
| |
| float | GetClipNear () const |
| | Returns the near clipping distance. More...
|
| |
| ChVector3d | GetTranslationalVelocity () |
| | Returns the translational velocity of the object the radar is attached to. More...
|
| |
| ChVector3d | GetAngularVelocity () |
| | Returns the angular velocity of the object the radar is attached to. More...
|
| |
| | ChSensor (std::shared_ptr< ChBody > parent, float updateRate, ChFrame< double > offsetPose) |
| | Constructor for the base sensor class. More...
|
| |
| void | SetOffsetPose (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...
|
| |
| unsigned int | GetRngSensorOrdinal () const |
| | This sensor's registration ordinal within its manager, used to give it RNG streams distinct from every other sensor's. More...
|
| |
| unsigned int | GetRngManagerId () const |
| | The id of the manager this sensor is registered with. More...
|
| |
| template<class UserBufferType > |
| UserBufferType | GetMostRecentBuffer () |
| | Get the last filter in the list that matches the template type. More...
|
| |
|
template<> |
| CH_SENSOR_API UserAccelBufferPtr | GetMostRecentBuffer () |
| |