Frankx  0.2.0
A High-Level Motion API for Franka
robot_state.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 
4 namespace movex {
5 
7 template<size_t DoFs, bool has_elbow = true, bool has_force_sensor = true>
8 struct RobotState {
9  std::array<double, DoFs> q;
10  std::array<double, DoFs> q_d;
11  std::array<double, DoFs> dq;
12 
13  std::array<double, 16> O_T_EE;
14  std::array<double, 16> O_T_EE_c;
15  std::array<double, 6> O_dP_EE_c;
16 
17  std::array<double, 2> elbow;
18  std::array<double, 2> elbow_c;
19  std::array<double, 2> elbow_d;
20 
21  std::array<double, 6> O_F_ext_hat_K;
22 };
23 
24 } // namespace movex
movex::RobotState::elbow_c
std::array< double, 2 > elbow_c
Definition: robot_state.hpp:18
movex::RobotState::dq
std::array< double, DoFs > dq
Definition: robot_state.hpp:11
movex::RobotState::O_T_EE_c
std::array< double, 16 > O_T_EE_c
Definition: robot_state.hpp:14
movex::RobotState::O_dP_EE_c
std::array< double, 6 > O_dP_EE_c
Definition: robot_state.hpp:15
movex::RobotState::q_d
std::array< double, DoFs > q_d
Definition: robot_state.hpp:10
movex::RobotState::O_T_EE
std::array< double, 16 > O_T_EE
Definition: robot_state.hpp:13
movex::RobotState
The overall state of the robot.
Definition: robot_state.hpp:8
movex::RobotState::O_F_ext_hat_K
std::array< double, 6 > O_F_ext_hat_K
Definition: robot_state.hpp:21
movex::RobotState::elbow
std::array< double, 2 > elbow
Definition: robot_state.hpp:17
movex::RobotState::elbow_d
std::array< double, 2 > elbow_d
Definition: robot_state.hpp:19
movex
Definition: motion_impedance.hpp:13
movex::RobotState::q
std::array< double, DoFs > q
Definition: robot_state.hpp:9