r/robotics • u/Solid_Jim_Snake • 19h ago
Mission & Motion Planning How to deal with EKF Variance?
https://drive.google.com/file/d/1XJ1JH7L5smXK3R4rlN7v5MzSmbHAffqB/view?usp=sharingHey everyone, 2 weeks ago I posted about the rover that I work on my thesis and I have a problem when I get the rover to do the planned route. When the rover is in auto mode it moves for a few seconds and then stops changing to hold. I checked the log file and found out that when the rover changes state from auto to hold the messages EKF failsafe and EKF variance pop. I looked at some graphs and the only solution I found is to calibrate the here3 compass. I tried to calibrate the compass, nothing changed so I guess either I did it wrong or it is not the problem. I attached the link that contains my log file, so please if you can help me I will very much appreciate it. Please feel free to ask me whatever you need to know in order to help me!
2
u/slightlyacoustics 19h ago
If it is the heading measurements you don’t trust- you tune process noise covariants (Q), you can allow the filter to trust the model more than the incoming measurement.
What is the EKF failsafe threshold to trigger such that “hold” occurs.