Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
Signed-off-by: Yukihiro Saito <yukky.saito@gmail.com>
  • Loading branch information
yukkysaito committed Mar 8, 2022
1 parent cb1b3cf commit 5c70757
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ Eigen::MatrixXd DataAssociation::calcScoreMatrix(
const double iou = utils::get2dIoU(
{measurement_object.kinematics.pose_with_covariance.pose, measurement_object.shape},
{tracked_object.kinematics.pose_with_covariance.pose, tracked_object.shape});
// if (iou < min_iou) passed_gate = false;
if (iou < min_iou) passed_gate = false;
}

// all gate is passed
Expand All @@ -226,7 +226,6 @@ Eigen::MatrixXd DataAssociation::calcScoreMatrix(
if (score < score_threshold_) score = 0.0;
}
}
std::cerr << __LINE__ << ":" << score << std::endl;
score_matrix(tracker_idx, measurement_idx) = score;
}
}
Expand Down

0 comments on commit 5c70757

Please sign in to comment.