Skip to content

Commit

Permalink
feat: add noise to extend detection area in low-score area
Browse files Browse the repository at this point in the history
Signed-off-by: Taekjin LEE <[email protected]>
  • Loading branch information
technolojin committed Dec 6, 2024
1 parent 7e8a3f8 commit bdd6e5c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions perception/lidar_centerpoint/lib/centerpoint_trt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ void CenterPointTRT::initPriorityMap()
const float score_b = sqrt((pos_x - 150) * (pos_x - 150) + pos_y * pos_y) +
sqrt((pos_x - 10) * (pos_x - 10) + pos_y * pos_y) - 140;
// total score with weight
// add noise to extend detection area in low-score area
const float score =
sqrt(score_a * 0.1 + score_b * 2.5) + normal_distribution(generator) * score_b * 0.01;

Expand Down

0 comments on commit bdd6e5c

Please sign in to comment.