udacity / CarND-Extended-Kalman-Filter-Project

Self-Driving Car Nanodegree Program Starter Code for the Extended Kalman Filter Project
MIT License
335 stars 1.56k forks source link

Issue when the phi values are in 3rd quadrant(180 to 270 degree) #84

Closed bheeshmarayabv closed 3 years ago

bheeshmarayabv commented 3 years ago

Hello,

I am using this code for experiments for other synthetic data where data is generated by matlab , I see that estimations are totally wrong when the (x, y) both are negative which means the when phi is 180 to 270. Can you please let me know if you have any idea ?

Regards Bheeshma

theogdz commented 3 years ago

The angle has to be normalized between -pi and pi. Therefore, it will neither work in the 3rd nor 4th quadrant.

UAnjali commented 3 years ago

Hi @bheeshmarayabv, We hope that your issue is resolved. We encourage such issues to be raised on the Knowledge hub so that our experienced mentors can chime in and new students can also learn from the discussion thread. Thank you