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

use shared_from_this

parent 95a774bb
No related branches found
No related tags found
2 merge requests!31devel->main,!30Complete UAV identification setup
...@@ -104,8 +104,7 @@ void ProcessorForceTorqueInertialDynamics::emplaceFeaturesAndFactors(CaptureBase ...@@ -104,8 +104,7 @@ void ProcessorForceTorqueInertialDynamics::emplaceFeaturesAndFactors(CaptureBase
auto ftr_base = FeatureBase::emplace<FeatureBase>(_capture_own, "FeatureBase", measurement_gyro, gyro_cov); auto ftr_base = FeatureBase::emplace<FeatureBase>(_capture_own, "FeatureBase", measurement_gyro, gyro_cov);
FactorBase::emplace<FactorAngularMomentum>( FactorBase::emplace<FactorAngularMomentum>(ftr_base, ftr_base, shared_from_this(), params_->apply_loss_function);
ftr_base, ftr_base, _capture_own->getSensor()->getProcessorList().back(), params_->apply_loss_function);
// 3. Feature and factor bias -- IMU bias drift for acc and gyro // 3. Feature and factor bias -- IMU bias drift for acc and gyro
//--------------------------------------------------------------- //---------------------------------------------------------------
......
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