3 #include "fmt/format.h" 14 , _plot_data( plot_data )
18 void parse(
const std::array<double, N * N>& covariance,
double& timestamp)
25 for (
int i = 0;
i < N;
i++)
27 for (
int j =
i; j < N; j++)
30 _data.push_back( &_plot_data.getOrCreateNumeric(
key) );
36 for (
int i = 0;
i < N;
i++)
38 for (
int j =
i; j < N; j++)
40 _data[index++]->pushBack({ timestamp, covariance[
i * N + j] });
46 std::vector<PJ::PlotData*> _data;
50 bool _initialized =
false;
PJ::PlotDataMapRef & _plot_data
const std::string _prefix
FMT_INLINE std::basic_string< Char > format(const S &format_str, Args &&... args)
void parse(const std::array< double, N *N > &covariance, double ×tamp)
CovarianceParser(const std::string &prefix, PJ::PlotDataMapRef &plot_data)