GazeStabInputOutput.cc
Go to the documentation of this file.
1
2
4
5// input
6
7GazeStabInput::GazeStabInput(int n_LB_joints, int n_UB_joints)
8{
9 tsim = 0.;
10
11 q_LB.reserve(n_LB_joints);
12 q_UB.reserve(n_UB_joints);
13 qd_LB.reserve(n_LB_joints);
14 qd_UB.reserve(n_UB_joints);
15
16 qd_LB_des = Eigen::VectorXd::Zero(n_LB_joints);
17
18 for (int i = 0; i < n_LB_joints; i++)
19 {
20 q_LB[i] = 0.;
21 qd_LB[i] = 0.;
22 }
23
24 pos_target << 1.150, 6.69, 1.1;
25}
26
28 = default;
29
30// output
31
33{
34 qd_UB_des.reserve(n_UB_joints);
35
36}
37
39 = default;
40
41
Eigen::Vector3d pos_target
std::vector< double > q_UB
GazeStabInput(int n_LB_joints, int n_UB_joints)
std::vector< double > qd_UB
std::vector< double > qd_LB
Eigen::VectorXd qd_LB_des
std::vector< double > q_LB
GazeStabOutput(int n_UB_joints)
std::vector< double > qd_UB_des