Skip to content

Commit

Permalink
Add interface for pfAuxiliaryPFStandard.
Browse files Browse the repository at this point in the history
  • Loading branch information
Logrus committed May 8, 2016
1 parent 8402281 commit 2ab542a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libs/slam/include/mrpt/maps/CMultiMetricMapPDF.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ namespace maps
const mrpt::obs::CActionCollection * action,
const mrpt::obs::CSensoryFrame * observation,
const bayes::CParticleFilter::TParticleFilterOptions &PF_options );
void prediction_and_update_pfAuxiliaryPFStandard(
const mrpt::obs::CActionCollection * action,
const mrpt::obs::CSensoryFrame * observation,
const bayes::CParticleFilter::TParticleFilterOptions &PF_options );


private:
Expand Down
11 changes: 11 additions & 0 deletions libs/slam/src/slam/CMultiMetricMapPDF_RBPF.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,17 @@ void CMultiMetricMapPDF::prediction_and_update_pfAuxiliaryPFOptimal(
MRPT_END
}

void CMultiMetricMapPDF::prediction_and_update_pfAuxiliaryPFStandard(
const mrpt::obs::CActionCollection * actions,
const mrpt::obs::CSensoryFrame * sf,
const bayes::CParticleFilter::TParticleFilterOptions &PF_options )
{
MRPT_START

PF_SLAM_implementation_pfAuxiliaryPFStandard<mrpt::slam::detail::TPoseBin2D>( actions, sf, PF_options,options.KLD_params);

MRPT_END
}


/*----------------------------------------------------------------------------------
Expand Down

0 comments on commit 2ab542a

Please sign in to comment.