- 3.0.2 models module.
inertia_properties.impl.h
Go to the documentation of this file.
1 template <typename TRAIT>
3 {
4  com_Shoulder_AA = iit::rbd::Vector3d(-1.96E-4,-0.003091,0.17763901).cast<SCALAR>();
5  tensor_Shoulder_AA.fill(
6  SCALAR(2.688),
7  com_Shoulder_AA,
8  rbd::Utils::buildInertiaTensor(
9  SCALAR(0.08980614),
10  SCALAR(0.08953714),
11  SCALAR(0.007629),
12  SCALAR(6.13E-4),
13  SCALAR(4.91221E-4),
14  SCALAR(-5.849322E-4)) );
15 
16  com_Shoulder_FE = iit::rbd::Vector3d(0.113166206,-0.023382,0.003832).cast<SCALAR>();
17  tensor_Shoulder_FE.fill(
18  SCALAR(2.5924191),
19  com_Shoulder_FE,
20  rbd::Utils::buildInertiaTensor(
21  SCALAR(0.039002996),
22  SCALAR(0.08585553),
23  SCALAR(0.051393528),
24  SCALAR(-0.0055279857),
25  SCALAR(0.022851627),
26  SCALAR(0.002752)) );
27 
28  com_Humerus_R = iit::rbd::Vector3d(-0.0023899989,0.00618,0.278456).cast<SCALAR>();
29  tensor_Humerus_R.fill(
30  SCALAR(2.327),
31  com_Humerus_R,
32  rbd::Utils::buildInertiaTensor(
33  SCALAR(0.20236395),
34  SCALAR(0.20986895),
35  SCALAR(0.010329999),
36  SCALAR(-5.399998E-5),
37  SCALAR(0.011715295),
38  SCALAR(0.0037997814)) );
39 
40  com_Elbow_FE = iit::rbd::Vector3d(0.09200001,-0.005,8.7422736E-10).cast<SCALAR>();
41  tensor_Elbow_FE.fill(
42  SCALAR(1.7423722),
43  com_Elbow_FE,
44  rbd::Utils::buildInertiaTensor(
45  SCALAR(0.081661),
46  SCALAR(0.01828449),
47  SCALAR(0.09570849),
48  SCALAR(-0.0036857284),
49  SCALAR(2.1200017E-4),
50  SCALAR(0.0022920002)) );
51 
52  com_Wrist_R = iit::rbd::Vector3d(0.0,0.0,0.0275).cast<SCALAR>();
53  tensor_Wrist_R.fill(
54  SCALAR(2.1032),
55  com_Wrist_R,
56  rbd::Utils::buildInertiaTensor(
57  SCALAR(0.019432),
58  SCALAR(0.029115),
59  SCALAR(0.011046),
60  SCALAR(0.001387),
61  SCALAR(0.012652),
62  SCALAR(0.001243)) );
63 
64  com_Wrist_FE = iit::rbd::Vector3d(0.025,0.0,0.0).cast<SCALAR>();
65  tensor_Wrist_FE.fill(
66  SCALAR(1.547475),
67  com_Wrist_FE,
68  rbd::Utils::buildInertiaTensor(
69  SCALAR(0.010737),
70  SCALAR(0.003227),
71  SCALAR(0.009277),
72  SCALAR(-1.98E-4),
73  SCALAR(-1.5E-5),
74  SCALAR(8.29E-4)) );
75 
76 }
77 
Cored::Vector3 Vector3d
InertiaProperties()
Definition: inertia_properties.impl.h:2
CppAD::AD< CppAD::cg::CG< double > > SCALAR
Definition: HyQLinearizationCodegen.cpp:14