udacity / CarND-Kidnapped-Vehicle-Project

MIT License
121 stars 1.3k forks source link

Incorrect comment for std_landmark in updateWeights of particle_filter #16

Closed sangxia closed 7 years ago

sangxia commented 7 years ago

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.

sangxia commented 7 years ago

Sorry I see this is duplicate https://github.com/udacity/CarND-Kidnapped-Vehicle-Project/issues/8