- 3.0.2 rigid body dynamics module.
inertia_properties.impl.h
Go to the documentation of this file.
1 template <typename TRAIT>
3 {
4  com_link1 = iit::rbd::Vector3d(0.09,0.0,0.25).cast<SCALAR>();
5  tensor_link1.fill(
6  SCALAR(120.0),
7  com_link1,
8  rbd::Utils::buildInertiaTensor(
9  SCALAR(10.02),
10  SCALAR(10.992001),
11  SCALAR(2.7719998),
12  SCALAR(0.0),
13  SCALAR(2.7),
14  SCALAR(0.0)) );
15 
16  com_link2 = iit::rbd::Vector3d(0.47,0.04,-0.17).cast<SCALAR>();
17  tensor_link2.fill(
18  SCALAR(120.0),
19  com_link2,
20  rbd::Utils::buildInertiaTensor(
21  SCALAR(4.36),
22  SCALAR(41.225998),
23  SCALAR(38.449997),
24  SCALAR(2.256),
25  SCALAR(-9.588),
26  SCALAR(-0.816)) );
27 
28  com_link3 = iit::rbd::Vector3d(0.035,-0.133,0.044).cast<SCALAR>();
29  tensor_link3.fill(
30  SCALAR(120.0),
31  com_link3,
32  rbd::Utils::buildInertiaTensor(
33  SCALAR(6.0550003),
34  SCALAR(5.4093204),
35  SCALAR(7.29968),
36  SCALAR(-0.5586),
37  SCALAR(0.1848),
38  SCALAR(-0.70224)) );
39 
40  com_link4 = iit::rbd::Vector3d(0.0,0.0,0.5).cast<SCALAR>();
41  tensor_link4.fill(
42  SCALAR(40.0),
43  com_link4,
44  rbd::Utils::buildInertiaTensor(
45  SCALAR(12.0),
46  SCALAR(12.0),
47  SCALAR(0.482),
48  SCALAR(0.0),
49  SCALAR(0.0),
50  SCALAR(0.0)) );
51 
52  com_link5 = iit::rbd::Vector3d(0.07,0.0,0.0).cast<SCALAR>();
53  tensor_link5.fill(
54  SCALAR(10.0),
55  com_link5,
56  rbd::Utils::buildInertiaTensor(
57  SCALAR(0.04),
58  SCALAR(0.089),
59  SCALAR(0.094000004),
60  SCALAR(0.0),
61  SCALAR(0.0),
62  SCALAR(0.0)) );
63 
64  com_link6 = iit::rbd::Vector3d(0.081,-0.091,0.232).cast<SCALAR>();
65  tensor_link6.fill(
66  SCALAR(5.0),
67  com_link6,
68  rbd::Utils::buildInertiaTensor(
69  SCALAR(0.014),
70  SCALAR(0.014),
71  SCALAR(0.028),
72  SCALAR(0.0),
73  SCALAR(0.0),
74  SCALAR(0.0)) );
75 
76 }
77 
Cored::Vector3 Vector3d
Definition: rbd.h:137
CppAD::AD< CppAD::cg::CG< double > > SCALAR
InertiaProperties()
Definition: inertia_properties.impl.h:2