Skip to content
Snippets Groups Projects
Commit cad0dc7e authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

Make resize() private

parent 99f8e483
No related branches found
No related tags found
No related merge requests found
......@@ -46,6 +46,7 @@ struct Motion
const MatrixXs& _jac_delta_int,
const MatrixXs& _jacobian_calib);// = MatrixXs::Zero(0,0));
~Motion();
private:
void resize(Size _data_s, Size _delta_s, Size _delta_cov_s, Size _calib_s);
}; ///< One instance of the buffered data, corresponding to a particular time stamp.
......
......@@ -316,10 +316,6 @@ TEST(ProcessorOdom3D, Interpolate1) // delta algebra test
Dq_of = q_o.conjugate() * q_f;
R.resize(6,7,6,0);
F.resize(6,7,6,0);
I.resize(6,7,6,0);
// set ref
R.ts_ = t_r;
R.delta_ = dx_or; // origin to ref
......@@ -419,11 +415,6 @@ TEST(ProcessorOdom3D, Interpolate2) // timestamp out of bounds test
prc.deltaPlusDelta(Dx_or, dx_rf, t_f - t_r, Dx_of);
Dx_os = Dx_of;
R.resize(6,7,6,0);
I.resize(6,7,6,0);
S.resize(6,7,6,0);
F.resize(6,7,6,0);
// set ref
R.ts_ = t_r;
R.delta_ = dx_or; // origin to ref
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment