sot-talos-balance
2.0.5
Collection of dynamic-graph entities aimed at implementing balance control on talos.
|
|
Go to the documentation of this file.
18 #ifndef __invdyn_statistics_H__
19 #define __invdyn_statistics_H__
25 #define STATISTICS_MAX_NAME_LENGTH 60
87 void report(std::string
name,
int precision = 2,
88 std::ostream& output = std::cout);
91 void report_all(
int precision = 2, std::ostream& output = std::cout);
long double get_max(std::string name)
std::map< std::string, QuantityData > * records_of
long double get_last(std::string name)
long double get_min(std::string name)
long double get_average(std::string name)
void store(std::string name, const double &value)
void report(std::string name, int precision=2, std::ostream &output=std::cout)
A class to compute statistics about quantities of interest.
void report_all(int precision=2, std::ostream &output=std::cout)
long double get_total(std::string name)
StatisticsException(std::string error)
bool quantity_exists(std::string name)
Statistics & getStatistics()
void reset(std::string name)