8#include <franka/logging/robot_state_log.hpp> 
   21  using std::runtime_error::runtime_error;
 
 
   28  using Exception::Exception;
 
 
   36  using Exception::Exception;
 
 
   43  using Exception::Exception;
 
 
   85  const std::vector<franka::Record> 
log;
 
 
   92  using Exception::Exception;
 
 
   99  using Exception::Exception;
 
 
  106  using Exception::Exception;
 
 
CommandException is thrown if an error occurs during command execution.
Definition exception.h:91
 
ControlException is thrown if an error occurs during motion generation or torque control.
Definition exception.h:73
 
ControlException(const std::string &what, std::vector< franka::Record > log={}) noexcept
Creates the exception with an explanatory string and a Log object.
 
const std::vector< franka::Record > log
Vector of states and commands logged just before the exception occurred.
Definition exception.h:85
 
Base class for all exceptions used by libfranka.
Definition exception.h:20
 
IncompatibleVersionException is thrown if the robot does not support this version of libfranka.
Definition exception.h:49
 
const uint16_t server_version
Control's protocol version.
Definition exception.h:60
 
IncompatibleVersionException(uint16_t server_version, uint16_t library_version) noexcept
Creates the exception using the two different protocol versions.
 
const uint16_t library_version
libfranka protocol version.
Definition exception.h:64
 
InvalidOperationException is thrown if an operation cannot be performed.
Definition exception.h:105
 
ModelException is thrown if an error occurs when loading the model library.
Definition exception.h:27
 
NetworkException is thrown if a connection to the robot cannot be established, or when a timeout occu...
Definition exception.h:35
 
ProtocolException is thrown if the robot returns an incorrect message.
Definition exception.h:42
 
RealtimeException is thrown if realtime priority cannot be set.
Definition exception.h:98