Skip to content

Commit

Permalink
fix(tracking_object_merger): enable to association unknown class in t…
Browse files Browse the repository at this point in the history
…racker merger (autowarefoundation#6182)

* fix: enable to association unknown class in tracker merger

Signed-off-by: yoshiri <[email protected]>

* chore: disable warning messages caused by unknown association

Signed-off-by: yoshiri <[email protected]>

---------

Signed-off-by: yoshiri <[email protected]>
  • Loading branch information
YoshiRi authored and 0x126 committed Jan 31, 2024
1 parent 523a9b7 commit e747a9d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
lidar-lidar:
can_assign_matrix:
#UNKNOWN, CAR, TRUCK, BUS, TRAILER, MOTORBIKE, BICYCLE,PEDESTRIAN
[0, 0, 0, 0, 0, 0, 0, 0, #UNKNOWN
[1, 0, 0, 0, 0, 0, 0, 0, #UNKNOWN
0, 1, 1, 1, 1, 0, 0, 0, #CAR
0, 1, 1, 1, 1, 0, 0, 0, #TRUCK
0, 1, 1, 1, 1, 0, 0, 0, #BUS
Expand Down Expand Up @@ -59,7 +59,7 @@
lidar-radar:
can_assign_matrix:
#UNKNOWN, CAR, TRUCK, BUS, TRAILER, MOTORBIKE, BICYCLE,PEDESTRIAN
[0, 0, 0, 0, 0, 0, 0, 0, #UNKNOWN
[1, 0, 0, 0, 0, 0, 0, 0, #UNKNOWN
0, 1, 1, 1, 1, 0, 0, 0, #CAR
0, 1, 1, 1, 1, 0, 0, 0, #TRUCK
0, 1, 1, 1, 1, 0, 0, 0, #BUS
Expand Down Expand Up @@ -115,7 +115,7 @@
radar-radar:
can_assign_matrix:
#UNKNOWN, CAR, TRUCK, BUS, TRAILER, MOTORBIKE, BICYCLE,PEDESTRIAN
[0, 0, 0, 0, 0, 0, 0, 0, #UNKNOWN
[1, 0, 0, 0, 0, 0, 0, 0, #UNKNOWN
0, 1, 1, 1, 1, 0, 0, 0, #CAR
0, 1, 1, 1, 1, 0, 0, 0, #TRUCK
0, 1, 1, 1, 1, 0, 0, 0, #BUS
Expand Down
6 changes: 3 additions & 3 deletions perception/tracking_object_merger/src/utils/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -484,9 +484,9 @@ void updateWholeTrackedObject(TrackedObject & main_obj, const TrackedObject & su
{
if (!objectsHaveSameMotionDirections(main_obj, sub_obj)) {
// warning
std::cerr << "[object_tracking_merger]: motion direction is different in "
"updateWholeTrackedObject function."
<< std::endl;
// std::cerr << "[object_tracking_merger]: motion direction is different in "
// "updateWholeTrackedObject function."
// << std::endl;
}
main_obj = sub_obj;
}
Expand Down

0 comments on commit e747a9d

Please sign in to comment.