diff --git a/SLAM/FastSLAM2/fast_slam2.py b/SLAM/FastSLAM2/fast_slam2.py index 273d2dff..6985343d 100644 --- a/SLAM/FastSLAM2/fast_slam2.py +++ b/SLAM/FastSLAM2/fast_slam2.py @@ -267,7 +267,7 @@ def resampling(particles): pw = np.matrix(pw) Neff = 1.0 / (pw * pw.T)[0, 0] # Effective particle number - print(Neff) + # print(Neff) if Neff < NTH: # resampling wcum = np.cumsum(pw)