libfranka 0.15.0
FCI C++ API
|
ControlException is thrown if an error occurs during motion generation or torque control. More...
#include <exception.h>
Public Member Functions | |
ControlException (const std::string &what, std::vector< franka::Record > log={}) noexcept | |
Creates the exception with an explanatory string and a Log object. | |
Public Attributes | |
const std::vector< franka::Record > | log |
Vector of states and commands logged just before the exception occurred. | |
ControlException is thrown if an error occurs during motion generation or torque control.
The exception holds a vector with the last received robot states. The number of recorded states can be configured in the Robot constructor.
|
explicitnoexcept |
Creates the exception with an explanatory string and a Log object.
[in] | what | Explanatory string. |
[in] | log | Vector of last received states and commands. |