-
Notifications
You must be signed in to change notification settings - Fork 24
Section 3 Object Association
In this task, we will continue with the Object Association step. Since we have already prepared everything necessary in the last task, we can start directly with the implementation.
Your task is to fill gaps in the C++ code of the object association module: workshops/section_3/object_fusion/src/modules/matcher/distance_measures/
There you will find the two distance measures
-
Intersection over Union
workshops/section_3/object_fusion/src/modules/matcher/distance_measures/IntersectionOverUnion.cpp
-
Mahalanobis distance
workshops/section_3/object_fusion/src/modules/matcher/distance_measures/Mahalanobis.cpp
We already implemented large parts of the association code, however the calculations of both distance measures are still missing. Your turn!
-
Implement the IoU as described in the slides. By now you should be familiar enough with the code to manage this task without detailed instructions. To choose, which distance measure is used for the association, you have to edit the fusion config. Here you can also find all other parameters used for the association.
-
Implement the Mahalanobis distance
$d_{G,S}$ in the x-y-plane as described in the slides. Here you should also have no need for detailed instructions.
After completing each task, rebuild the workspace with catkin build
. Both distance measures should now correcly assign the objects. However, without a subsequent fusion, the objects are still drifting. So let's continue with the next task to complete the object fusion!