assert(_capture_origin!=nullptr&&_capture_origin->getType()=="CaptureImu"&&"ProcessorImu::emplaceFactor: capture is null or not of type CaptureImu");
assert(_feature_motion!=nullptr&&_feature_motion->getType()=="FeatureImu"&&"ProcessorImu::emplaceFactor: feature is null or not of type FeatureImu");
assert(_capture_origin->getFrame()&&"ProcessorImu::emplaceFactor: capture not linked to a frame");
assert(_feature_motion->getCapture()and_feature_motion->getCapture()->getFrame()&&"ProcessorImu::emplaceFactor: feature not linked to a capture or a frame");