chrono::ros::ChROSSensorHandlerUtilities Class Reference
Description
Static helpers shared by the sensor handlers.
#include <ChROSSensorHandlerUtilities.h>
Static Public Member Functions | |
| template<class FilterType , const char * FilterName> | |
| static bool | CheckSensorHasFilter (std::shared_ptr< chrono::sensor::ChSensor > sensor) |
| Returns true if 'sensor' has a filter of the given type in its filter list (the access filter that exposes a host-side buffer). More... | |
| template<typename T = double, unsigned long N = 3> | |
| static std::array< T, N *N > | CalculateCovariance (const std::array< T, N > &data, const std::array< T, N > &mean, unsigned long count) |
| Rolling pseudo-covariance of a sample about its running mean (Chrono sensors do not emit covariance, so handlers approximate it). | |
Member Function Documentation
◆ CheckSensorHasFilter()
template<class FilterType , const char * FilterName>
|
inlinestatic |
Returns true if 'sensor' has a filter of the given type in its filter list (the access filter that exposes a host-side buffer).
Logs and returns false otherwise.
The documentation for this class was generated from the following file:
- /builds/uwsbel/chrono/src/chrono_ros/handlers/sensor/ChROSSensorHandlerUtilities.h