Class robot_interfaces::SensorData¶
- 
template<typename Observation, typename Info = None>
 class SensorData¶
- Contains the data coming from the sensors. - Template Parameters:
- Observation – Type of the sensor observation. 
 - Public Types - 
typedef std::shared_ptr<SensorData<Observation, Info>> Ptr¶
 - 
typedef std::shared_ptr<const SensorData<Observation, Info>> ConstPtr¶
 - 
typedef std::shared_ptr<SensorData<Observation, Info>> Ptr
 - 
typedef std::shared_ptr<const SensorData<Observation, Info>> ConstPtr
 - Public Members - 
std::shared_ptr<time_series::TimeSeriesInterface<Info>> sensor_info¶
- Static information about the sensor. - Note: A time series is used here for convenience to handle the shared memory aspect. However, this is intended to only hold one element that doesn’t change over time. 
 - 
std::shared_ptr<time_series::TimeSeriesInterface<Observation>> observation¶
- Time series of the sensor observations.