-
Notifications
You must be signed in to change notification settings - Fork 696
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(multi_object_tracker): mot multi-step prediction is not work as intended #6611
fix(multi_object_tracker): mot multi-step prediction is not work as intended #6611
Conversation
…e-step prediction. Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
@technolojin |
perception/multi_object_tracker/src/tracker/motion_model/motion_model_base.cpp
Outdated
Show resolved
Hide resolved
Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6611 +/- ##
==========================================
- Coverage 14.79% 14.78% -0.01%
==========================================
Files 1920 1920
Lines 132349 132430 +81
Branches 39339 39339
==========================================
Hits 19578 19578
- Misses 90935 91016 +81
Partials 21836 21836
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@YoshiRi |
The bug solution is found. Please wait for the fix. |
a bug was found on `predictStateStep` methods * intention: predict the future state of the variable kalman filter `ekf` * bug: using the member kalman filter `ekf_` * fix: get the state vector from the variable kalman filter `ekf` Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
the bug is found, the solution is applied, and the explanation is added to the description. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…ntended (autowarefoundation#6611) * bugfix: mot multi-step prediction is not work as intended. back to one-step prediction. Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> * fix: remove comment-out codes Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> * fix: prediction to use variable kalman filter a bug was found on `predictStateStep` methods * intention: predict the future state of the variable kalman filter `ekf` * bug: using the member kalman filter `ekf_` * fix: get the state vector from the variable kalman filter `ekf` Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> --------- Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
…ntended (autowarefoundation#6611) * bugfix: mot multi-step prediction is not work as intended. back to one-step prediction. Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> * fix: remove comment-out codes Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> * fix: prediction to use variable kalman filter a bug was found on `predictStateStep` methods * intention: predict the future state of the variable kalman filter `ekf` * bug: using the member kalman filter `ekf_` * fix: get the state vector from the variable kalman filter `ekf` Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> --------- Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
…ntended (autowarefoundation#6611) * bugfix: mot multi-step prediction is not work as intended. back to one-step prediction. Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> * fix: remove comment-out codes Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> * fix: prediction to use variable kalman filter a bug was found on `predictStateStep` methods * intention: predict the future state of the variable kalman filter `ekf` * bug: using the member kalman filter `ekf_` * fix: get the state vector from the variable kalman filter `ekf` Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> --------- Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
…ntended (autowarefoundation#6611) * bugfix: mot multi-step prediction is not work as intended. back to one-step prediction. Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> * fix: remove comment-out codes Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> * fix: prediction to use variable kalman filter a bug was found on `predictStateStep` methods * intention: predict the future state of the variable kalman filter `ekf` * bug: using the member kalman filter `ekf_` * fix: get the state vector from the variable kalman filter `ekf` Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> --------- Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> Signed-off-by: kaigohirao <kaigo.hirao@proxima-ai-tech.com>
…ntended (autowarefoundation#6611) * bugfix: mot multi-step prediction is not work as intended. back to one-step prediction. Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> * fix: remove comment-out codes Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> * fix: prediction to use variable kalman filter a bug was found on `predictStateStep` methods * intention: predict the future state of the variable kalman filter `ekf` * bug: using the member kalman filter `ekf_` * fix: get the state vector from the variable kalman filter `ekf` Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> --------- Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
Description
The extended kalman filter update process was done in multiple-step when the given time-step is too large.
However, the implementation was not work as intended.
The motion model prediction is linealization of non-linear motion model. The prediction step assumes the time difference is small enough. By keeping the prediction time step small, a maximum time step was set and the prediction is to be conducted in multiple times.
Until the reason is found, bring back to the one-step prediction.
FOUND BUG and FIX
A bug was found on
predictStateStep
methods.ekf
ekf_
ekf
Tests performed
Tested on recorded data replay recomputation.
Effects on system behavior
Not applicable.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.
In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.
Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.
After all checkboxes are checked, anyone who has write access can merge the PR.