Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/survive_kalman_tracker.c
Original file line number Diff line number Diff line change
Expand Up @@ -944,6 +944,9 @@ void survive_kalman_tracker_process_noise(const struct SurviveKalmanTracker_Para
* positional model with a second order rotational model with tuning parameters
*/

/* dt is capped to prevent NaN/inf values */
if (t > 0.05) t = 0.05;

FLT t2 = t * t;
FLT t3 = t2 * t;
FLT t4 = t3 * t;
Expand Down
Loading