37 #ifndef JSK_PCL_ROS_ONE_DATA_STAT_H_ 38 #define JSK_PCL_ROS_ONE_DATA_STAT_H_ 40 #include <boost/accumulators/accumulators.hpp> 41 #include <boost/accumulators/statistics/stats.hpp> 42 #include <boost/accumulators/statistics/min.hpp> 43 #include <boost/accumulators/statistics/max.hpp> 44 #include <boost/accumulators/statistics/variance.hpp> 45 #include <boost/accumulators/statistics/count.hpp> 57 typedef boost::accumulators::accumulator_set<
virtual double mean() const
virtual double max() const
double min(const OneDataStat &d)
wrapper function for min method for boost::function
std::vector< OneDataStat::Ptr > stats
global variable to store stats.
double max(const OneDataStat &d)
wrapper function for max method for boost::function
double mean(const OneDataStat &d)
wrapper function for mean method for boost::function
class to store sensor value and compute mean, error and stddev and so on.
virtual double min() const
virtual double stddev() const
double variance(const OneDataStat &d)
wrapper function for variance method for boost::function
virtual double variance() const
virtual void addData(float r)
virtual double count() const
boost::accumulators::accumulator_set< double, boost::accumulators::stats< boost::accumulators::tag::count, boost::accumulators::tag::mean, boost::accumulators::tag::min, boost::accumulators::tag::max, boost::accumulators::tag::variance > > Accumulator
double count(const OneDataStat &d)
wrapper function for count method for boost::function
boost::shared_ptr< OneDataStat > Ptr