libfranka 0.15.0
FCI C++ API
|
Contains helper types for logging sent commands and received robot states. More...
Go to the source code of this file.
Classes | |
struct | franka::RobotCommand |
Command sent to the robot. More... | |
struct | franka::Record |
One row of the log contains a robot command of timestamp n and a corresponding robot state of timestamp n+1. More... | |
Functions | |
std::string | franka::logToCSV (const std::vector< Record > &log) |
Writes the log to a string in CSV format. | |
Contains helper types for logging sent commands and received robot states.
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.
[in] | log | Log provided by the ControlException. |