#include <animated_hand.h>
Definition at line 9 of file animated_hand.h.
◆ AnimatedHand()
AnimatedHand::AnimatedHand |
( |
| ) |
|
|
inline |
◆ get_hand_angles()
std::vector< AnimatedHand::EulerID > AnimatedHand::get_hand_angles |
( |
const std::vector< double > & |
joint_angles | ) |
|
Definition at line 4 of file animated_hand.cpp.
6{
7
9
10 for (size_t i = 0; i < joint_angles.size(); i++)
11 {
12
14
15
16 eul_id.at(config_i.frame_idx).frame_id = config_i.frame_id;
17
18
19 eul_id.at(config_i.frame_idx).euler_angles.at(config_i.rot_type) =
20 config_i.rot_dir * joint_angles.at(i);
21 }
22
23 return eul_id;
24}
std::vector< HandMap > m_hand_map
◆ get_hand_idx_iterator()
std::vector< int > AnimatedHand::get_hand_idx_iterator |
( |
void |
| ) |
|
|
inline |
◆ m_hand_frames_num
int AnimatedHand::m_hand_frames_num = 9 |
|
private |
◆ m_hand_idx_iter
std::vector<int> AnimatedHand::m_hand_idx_iter = {0, 19, 11, 7, 16, 18, 5, 17, 8} |
|
private |
◆ m_hand_map
std::vector<HandMap> AnimatedHand::m_hand_map |
|
private |
Initial value:{
HandMap{0, 0, 2, -1},
HandMap{0, 0, 0, 1},
HandMap{1, 19, 0, 1},
HandMap{2, 11, 0, 1},
HandMap{3, 7, 2, -1},
HandMap{3, 7, 0, 1},
HandMap{4, 16, 0, 1},
HandMap{5, 18, 0, 1},
HandMap{6, 5, 1, 1},
HandMap{6, 5, 0, 1},
HandMap{6, 5, 2, -1},
HandMap{7, 17, 2, -1},
HandMap{8, 8, 2, -1}}
Definition at line 50 of file animated_hand.h.
The documentation for this class was generated from the following files: