24 std::array<double, 16>
pose(
26 const std::array<double, 7>& q,
27 const std::array<double, 16>& F_T_EE,
28 const std::array<double, 16>& EE_T_K)
35 const std::array<double, 7>& q,
36 const std::array<double, 16>& F_T_EE,
37 const std::array<double, 16>& EE_T_K)
44 const std::array<double, 7>& q,
45 const std::array<double, 16>& F_T_EE,
46 const std::array<double, 16>& EE_T_K)
51 std::array<double, 49>
mass(
52 const std::array<double, 7>& q,
53 const std::array<double, 9>& I_total,
55 const std::array<double, 3>& F_x_Ctotal)
56 const noexcept
override {
57 return model_.
mass(q, I_total, m_total, F_x_Ctotal);
61 const std::array<double, 7>& q,
62 const std::array<double, 7>& dq,
63 const std::array<double, 9>& I_total,
65 const std::array<double, 3>& F_x_Ctotal)
66 const noexcept
override {
71 const std::array<double, 7>& q,
73 const std::array<double, 3>& F_x_Ctotal,
74 const std::array<double, 3>& gravity_earth)
const noexcept
override {
std::array< double, 42 > bodyJacobian(Frame frame, const franka::RobotState &robot_state) const
std::array< double, 16 > pose(franka::Frame frame, const std::array< double, 7 > &q, const std::array< double, 16 > &F_T_EE, const std::array< double, 16 > &EE_T_K) const override
Gets the 4x4 pose matrix for the given frame in base frame.
std::array< double, 49 > mass(const std::array< double, 7 > &q, const std::array< double, 9 > &I_total, double m_total, const std::array< double, 3 > &F_x_Ctotal) const noexcept override
Calculates the 7x7 mass matrix.
std::array< double, 7 > gravity(const std::array< double, 7 > &q, double m_total, const std::array< double, 3 > &F_x_Ctotal, const std::array< double, 3 > &gravity_earth) const noexcept override
Calculates the gravity vector.
Calculates poses of joints and dynamic properties of the robot.
std::array< double, 49 > mass(const franka::RobotState &robot_state) const noexcept
std::array< double, 42 > zeroJacobian(franka::Frame frame, const std::array< double, 7 > &q, const std::array< double, 16 > &F_T_EE, const std::array< double, 16 > &EE_T_K) const override
Gets the 6x7 Jacobian for the given joint relative to the base frame.
std::array< double, 16 > pose(Frame frame, const franka::RobotState &robot_state) const
std::array< double, 7 > gravity(const std::array< double, 7 > &q, double m_total, const std::array< double, 3 > &F_x_Ctotal, const std::array< double, 3 > &gravity_earth={{0., 0., -9.81}}) const noexcept
Model(franka::Model &&model)
Create a new Model instance wrapped around a franka::Model.
std::array< double, 42 > zeroJacobian(Frame frame, const franka::RobotState &robot_state) const
std::array< double, 7 > coriolis(const franka::RobotState &robot_state) const noexcept
An implementation of the abstract ModelBase specialized for obtaining the model from the real robot...
std::array< double, 7 > coriolis(const std::array< double, 7 > &q, const std::array< double, 7 > &dq, const std::array< double, 9 > &I_total, double m_total, const std::array< double, 3 > &F_x_Ctotal) const noexcept override
Calculates the Coriolis force vector (state-space equation): , in .
std::array< double, 42 > bodyJacobian(franka::Frame frame, const std::array< double, 7 > &q, const std::array< double, 16 > &F_T_EE, const std::array< double, 16 > &EE_T_K) const override
Gets the 6x7 Jacobian for the given frame, relative to that frame.