Skip to content

Commit

Permalink
fix(radar_fusion_to_detected_object): fix confidence (autowarefoundat…
Browse files Browse the repository at this point in the history
…ion#4992)

Signed-off-by: scepter914 <scepter914@gmail.com>
  • Loading branch information
scepter914 committed Sep 19, 2023
1 parent 2f95b4c commit c14c7fa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ TwistWithCovariance RadarFusionToDetectedObject::estimateTwist(
bool RadarFusionToDetectedObject::isQualified(
const DetectedObject & object, std::shared_ptr<std::vector<RadarInput>> & radars)
{
if (object.classification[0].probability > param_.threshold_probability) {
if (object.existence_probability > param_.threshold_probability) {
return true;
} else {
if (!radars || !(*radars).empty()) {
Expand Down

0 comments on commit c14c7fa

Please sign in to comment.