Logger for MPC.
More...
#include <logger.hpp>
◆ Logger()
cgmres::Logger::Logger |
( |
const std::string & |
log_name | ) |
|
|
inlineexplicit |
Constructor.
- Parameters
-
[in] | log_name | Name of the log. |
◆ ~Logger()
cgmres::Logger::~Logger |
( |
| ) |
|
|
inline |
◆ save() [1/2]
template<typename StateVectorType , typename ControlInputVectorType >
void cgmres::Logger::save |
( |
const Scalar |
t, |
|
|
const MatrixBase< StateVectorType > & |
x, |
|
|
const MatrixBase< ControlInputVectorType > & |
u, |
|
|
const double |
opterr |
|
) |
| |
|
inline |
Save datas.
- Parameters
-
[in] | t | Time. |
[in] | x | State. |
[in] | u | Control input. |
[in] | opterr | Optimality error. |
◆ save() [2/2]
void cgmres::Logger::save |
( |
const TimingProfile & |
timing_profile | ) |
const |
|
inline |
Save the timing profile.
- Parameters
-
[in] | timing_profile | Timing profile. |
The documentation for this class was generated from the following file: