www.gusucode.com > robotalgs 工具箱 matlab源码程序 > robotalgs/+robotics/ParticleFilter.m
classdef ParticleFilter < matlabshared.tracking.internal.ParticleFilter % % The help text for this class is intentionally blank. It will be % loaded from the en/ParticleFilter.m file. % Copyright 2015 The MathWorks, Inc. %#codegen methods (Access = {?matlabshared.tracking.internal.ParticleFilter, ?matlab.unittest.TestCase}) function resamplePolicy = defaultResamplingPolicy(~) %defaultResamplingPolicy The object determining when resampling should occur resamplePolicy = robotics.ResamplingPolicy; end function stateTransFcn = defaultStateTransitionFcn(~) %defaultStateTransitionFcn The default value for the StateTransitionFcn property stateTransFcn = @robotics.algs.gaussianMotion; end function measLhoodFcn = defaultMeasurementLikelihoodFcn(~) %defaultMeasurementLikelihoodFcn The default value for the MeasurementLikelihoodFcn property measLhoodFcn = @robotics.algs.fullStateMeasurement; end end end