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

Close file once it-s done

parent ef38ba88
No related branches found
No related tags found
2 merge requests!31devel->main,!30Complete UAV identification setup
...@@ -356,15 +356,16 @@ TEST_F(Test_SimulationProblemForceTorqueInertialDynamics_yaml, preintegration_an ...@@ -356,15 +356,16 @@ TEST_F(Test_SimulationProblemForceTorqueInertialDynamics_yaml, preintegration_an
<< "\n"; << "\n";
} }
fout.close();
} }
TEST_F(Test_SimulationProblemForceTorqueInertialDynamics_yaml, simulation) TEST_F(Test_SimulationProblemForceTorqueInertialDynamics_yaml, simulation)
{ {
// Calibration params // Calibration params
Vector6d bias_guess = S->getStateBlock('I')->getState(); Vector6d bias_guess = S->getStateBlock('I')->getState();
Vector3d cdm_guess = S->getStateBlock('C')->getState(); Vector3d cdm_guess = S->getStateBlock('C')->getState();
Vector3d inertia_guess = S->getStateBlock('i')->getState(); Vector3d inertia_guess = S->getStateBlock('i')->getState();
double mass_guess = S->getStateBlock('m')->getState()(0); double mass_guess = S->getStateBlock('m')->getState()(0);
S->getStateBlock('P')->fix(); S->getStateBlock('P')->fix();
S->getStateBlock('O')->fix(); S->getStateBlock('O')->fix();
......
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