Function franka::logToCSV

Function Documentation

std::string franka::logToCSV(const std::vector<Record> &log)

Writes the log to a string in CSV format. If the string is not empty, the first row contains the header with names of columns. The following lines contain rows of values separated by commas.

If the log is empty, the function returns an empty string.

Parameters:

log[in] Log provided by the ControlException.

Returns:

a string in CSV format, or empty string.