39 std::string description = qpOASES::MessageHandling::getErrorCodeMessage(qpoases_return_value_);
41 std::stringstream description_stream;
42 description_stream <<
"(CODE: " << qpoases_return_value_ <<
") " << description;
44 return (description_stream.str());
57 const std::string &name =
"solution")
const 63 logger.log(
LogEntryName(subname).add(
"number_of_iterations"), number_of_iterations_);
64 logger.log(
LogEntryName(subname).add(
"qpoases_return_value"), qpoases_return_value_);
#define HUMOTO_GLOBAL_LOGGER_IF_DEFINED
Container of the solution.
Represents log entry name.
int number_of_iterations_
Number of iterations made by the solver.
qpOASES::returnValue qpoases_return_value_
The return value of qpOASES.
void log(humoto::Logger &logger, const LogEntryName &parent=LogEntryName(), const std::string &name="solution") const
Log a QP problem.
Threaded logger: any data sent to this logger is wrapped in a message and pushed to a queue...
virtual void log(humoto::Logger &logger, const LogEntryName &parent=LogEntryName(), const std::string &name="solution") const
Log a QP problem.
The root namespace of HuMoTo.
LogEntryName & add(const char *name)
extends entry name with a subname
std::string getStatusDescription() const
Status description.