11 std::string calibration_matrix_key = key +
"/calibration_matrix";
12 std::string local_key;
13 local_key = calibration_matrix_key +
"/1_1";
14 if (nh->hasParam(local_key))
19 local_key = calibration_matrix_key +
"/1_2";
20 if (nh->hasParam(local_key))
25 local_key = calibration_matrix_key +
"/1_3";
26 if (nh->hasParam(local_key))
31 local_key = calibration_matrix_key +
"/1_4";
32 if (nh->hasParam(local_key))
37 local_key = calibration_matrix_key +
"/1_5";
38 if (nh->hasParam(local_key))
43 local_key = calibration_matrix_key +
"/1_6";
44 if (nh->hasParam(local_key))
49 local_key = calibration_matrix_key +
"/2_1";
50 if (nh->hasParam(local_key))
55 local_key = calibration_matrix_key +
"/2_2";
56 if (nh->hasParam(local_key))
61 local_key = calibration_matrix_key +
"/2_3";
62 if (nh->hasParam(local_key))
67 local_key = calibration_matrix_key +
"/2_4";
68 if (nh->hasParam(local_key))
73 local_key = calibration_matrix_key +
"/2_5";
74 if (nh->hasParam(local_key))
79 local_key = calibration_matrix_key +
"/2_6";
80 if (nh->hasParam(local_key))
85 local_key = calibration_matrix_key +
"/3_1";
86 if (nh->hasParam(local_key))
91 local_key = calibration_matrix_key +
"/3_2";
92 if (nh->hasParam(local_key))
97 local_key = calibration_matrix_key +
"/3_3";
98 if (nh->hasParam(local_key))
103 local_key = calibration_matrix_key +
"/3_4";
104 if (nh->hasParam(local_key))
109 local_key = calibration_matrix_key +
"/3_5";
110 if (nh->hasParam(local_key))
115 local_key = calibration_matrix_key +
"/3_6";
116 if (nh->hasParam(local_key))
121 local_key = calibration_matrix_key +
"/4_1";
122 if (nh->hasParam(local_key))
127 local_key = calibration_matrix_key +
"/4_2";
128 if (nh->hasParam(local_key))
133 local_key = calibration_matrix_key +
"/4_3";
134 if (nh->hasParam(local_key))
139 local_key = calibration_matrix_key +
"/4_4";
140 if (nh->hasParam(local_key))
145 local_key = calibration_matrix_key +
"/4_5";
146 if (nh->hasParam(local_key))
151 local_key = calibration_matrix_key +
"/4_6";
152 if (nh->hasParam(local_key))
157 local_key = calibration_matrix_key +
"/5_1";
158 if (nh->hasParam(local_key))
163 local_key = calibration_matrix_key +
"/5_2";
164 if (nh->hasParam(local_key))
169 local_key = calibration_matrix_key +
"/5_3";
170 if (nh->hasParam(local_key))
175 local_key = calibration_matrix_key +
"/5_4";
176 if (nh->hasParam(local_key))
181 local_key = calibration_matrix_key +
"/5_5";
182 if (nh->hasParam(local_key))
187 local_key = calibration_matrix_key +
"/5_6";
188 if (nh->hasParam(local_key))
193 local_key = calibration_matrix_key +
"/6_1";
194 if (nh->hasParam(local_key))
199 local_key = calibration_matrix_key +
"/6_2";
200 if (nh->hasParam(local_key))
205 local_key = calibration_matrix_key +
"/6_3";
206 if (nh->hasParam(local_key))
211 local_key = calibration_matrix_key +
"/6_4";
212 if (nh->hasParam(local_key))
217 local_key = calibration_matrix_key +
"/6_5";
218 if (nh->hasParam(local_key))
223 local_key = calibration_matrix_key +
"/6_6";
224 if (nh->hasParam(local_key))
std::shared_ptr< ros::NodeHandle > NodeHandlePtr
Eigen::Matrix< double, 6, 6 > calibrationMatrix_
The calibration matrix.
bool load(const std::string &key, NodeHandlePtr nh)
Loads the calibrations from the parameter server.