Skip to content
Snippets Groups Projects
Commit fc9e34c0 authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

added assertions in getCalibration()

parent ddef0cd1
No related branches found
No related tags found
2 merge requests!39release after RAL,!38After 2nd RAL submission
......@@ -87,6 +87,8 @@ FeatureBasePtr ProcessorImu::emplaceFeature(CaptureMotionPtr _capture_motion)
VectorXd ProcessorImu::getCalibration (const CaptureBasePtr _capture) const
{
assert(_capture && "called with a null capture");
assert(_capture->getSensorIntrinsic() && "null sensor intrinsics state block");
return _capture->getSensorIntrinsic()->getState();
}
......
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