5#include <franka/robot_state.h>
22struct Errors :
public franka::Errors {
27 franka::Errors::operator=(
other);
42 const franka::RobotState &
robot_state, std::optional<Vector7d>
q_est = std::nullopt,
43 std::optional<Vector7d>
dq_est = std::nullopt, std::optional<Vector7d>
ddq_est = std::nullopt,
385 franka::RobotMode
robot_mode = franka::RobotMode::kUserStopped;
Elbow state of the robot.
Definition elbow_state.hpp:24
TwistAcceleration acceleration of a frame (2nd derivative of a pose).
Definition twist_acceleration.hpp:14
Twist of a frame.
Definition twist.hpp:13
Definition dynamics_limit.cpp:8
std::array< double, dims > toStdD(const Eigen::Matrix< double, dims, 1 > &vector)
Definition util.hpp:18
Eigen::Matrix< double, 3, 3 > IntertiaMatrix
Definition types.hpp:13
Eigen::Vector< double, 7 > Vector7d
Definition types.hpp:11
Eigen::Vector< double, 6 > Vector6d
Definition types.hpp:10
Eigen::Matrix< double, 6, 7 > Jacobian
Definition types.hpp:12
Eigen::Affine3d Affine
Definition types.hpp:16
franka::Errors with noexcept copy and assignment.
Definition robot_state.hpp:22
Errors() noexcept
Definition robot_state.hpp:23
Errors(const Errors &other) noexcept
Definition robot_state.hpp:25
Errors & operator=(const Errors &other) noexcept
Definition robot_state.hpp:26
Errors(const franka::Errors &other) noexcept
Definition robot_state.hpp:24
Full state of the robot.
Definition robot_state.hpp:40
Affine O_T_EE
Definition robot_state.hpp:55
Vector6d K_F_ext_hat_K
Definition robot_state.hpp:306
Vector7d tau_ext_hat_filtered
Definition robot_state.hpp:284
static RobotState from_franka(const franka::RobotState &robot_state, std::optional< Vector7d > q_est=std::nullopt, std::optional< Vector7d > dq_est=std::nullopt, std::optional< Vector7d > ddq_est=std::nullopt, std::optional< Twist > O_dP_EE_est=std::nullopt, std::optional< TwistAcceleration > O_ddP_EE_est=std::nullopt, std::optional< double > delbow_est=std::nullopt, std::optional< double > ddelbow_est=std::nullopt)
Definition robot_state.cpp:7
Vector7d joint_contact
Definition robot_state.hpp:246
Eigen::Vector3d F_x_Cee
Definition robot_state.hpp:123
std::optional< Vector7d > q_est
Definition robot_state.hpp:399
Eigen::Vector3d F_x_Ctotal
Definition robot_state.hpp:163
Vector7d dq_d
Definition robot_state.hpp:232
TwistAcceleration O_ddP_EE_c
Definition robot_state.hpp:347
std::optional< TwistAcceleration > O_ddP_EE_est
Definition robot_state.hpp:428
double delbow_c
Definition robot_state.hpp:183
Vector6d cartesian_contact
Definition robot_state.hpp:254
Affine EE_T_K
Definition robot_state.hpp:103
IntertiaMatrix I_total
Definition robot_state.hpp:156
Vector7d tau_J_d
Definition robot_state.hpp:201
ElbowState elbow_c
Definition robot_state.hpp:178
Vector7d joint_collision
Definition robot_state.hpp:264
Vector7d dtau_J
Definition robot_state.hpp:208
Vector6d cartesian_collision
Definition robot_state.hpp:275
Errors last_motion_errors
Definition robot_state.hpp:369
Vector7d dtheta
Definition robot_state.hpp:359
Vector7d theta
Definition robot_state.hpp:353
double m_total
Definition robot_state.hpp:149
IntertiaMatrix I_ee
Definition robot_state.hpp:116
Affine O_T_EE_d
Definition robot_state.hpp:62
franka::Duration time
Definition robot_state.hpp:393
double control_command_success_rate
Definition robot_state.hpp:380
std::optional< Twist > O_dP_EE_est
Definition robot_state.hpp:419
Vector7d tau_J
Definition robot_state.hpp:194
Affine F_T_EE
Definition robot_state.hpp:72
std::optional< Vector7d > ddq_est
Definition robot_state.hpp:411
Twist O_dP_EE_d
Definition robot_state.hpp:314
double m_ee
Definition robot_state.hpp:109
Twist O_dP_EE_c
Definition robot_state.hpp:339
ElbowState elbow_d
Definition robot_state.hpp:173
ElbowState elbow
Definition robot_state.hpp:168
Vector7d ddq_d
Definition robot_state.hpp:238
Vector7d q_d
Definition robot_state.hpp:220
std::optional< Vector7d > dq_est
Definition robot_state.hpp:405
franka::RobotMode robot_mode
Definition robot_state.hpp:385
double ddelbow_c
Definition robot_state.hpp:188
Eigen::Vector3d F_x_Cload
Definition robot_state.hpp:143
double m_load
Definition robot_state.hpp:129
Vector6d O_F_ext_hat_K
Definition robot_state.hpp:295
std::optional< double > delbow_est
Definition robot_state.hpp:435
Errors current_errors
Definition robot_state.hpp:364
IntertiaMatrix I_load
Definition robot_state.hpp:136
Vector7d q
Definition robot_state.hpp:214
std::optional< double > ddelbow_est
Definition robot_state.hpp:441
Vector7d dq
Definition robot_state.hpp:226
Affine O_T_EE_c
Definition robot_state.hpp:333