chrono::ros::ChROSSensorHandlerUtilities Class Reference
Description
Utility class with static functions that may be useful for sensor-specific ROS handlers.
#include <ChROSSensorHandlerUtilities.h>
Static Public Member Functions | |
template<class FilterType , const char * FilterName> | |
static bool | CheckSensorHasFilter (std::shared_ptr< chrono::sensor::ChSensor > sensor) |
Check for filter in Sensor filter list. 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) |
Calculates the covariance of the sensor data. More... | |
Member Function Documentation
◆ CalculateCovariance()
template<typename T = double, unsigned long N = 3>
|
inlinestatic |
Calculates the covariance of the sensor data.
- Parameters
-
data the sensor data
- Returns
- the covariance of the sensor data
◆ CheckSensorHasFilter()
template<class FilterType , const char * FilterName>
|
inlinestatic |
Check for filter in Sensor filter list.
Returns true if present, false if not.
- Template Parameters
-
FilterType the filter to search for FilterName name of the filter to search for
The documentation for this class was generated from the following file:
- /builds/uwsbel/chrono/src/chrono_ros/handlers/sensor/ChROSSensorHandlerUtilities.h