In particle_filter.h, the parameter std_landmark of ParticleFilter::updateWeights is described as the std dev of range and bearing. However, in main.cpp, we pass the array sigma_landmark, which is used in main.cpp to add noise to x and y, rather than range and bearing.
In
particle_filter.h
, the parameterstd_landmark
ofParticleFilter::updateWeights
is described as the std dev of range and bearing. However, inmain.cpp
, we pass the arraysigma_landmark
, which is used inmain.cpp
to add noise to x and y, rather than range and bearing.