Skip to content

Commit bf4edc5

Browse files
authored
refactor(tracking_object_merger): remove unread variables (#7059)
remove unread variables Signed-off-by: Ryuta Kambe <ryuta.kambe@tier4.jp>
1 parent 33bb24c commit bf4edc5

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

Diff for: perception/tracking_object_merger/src/data_association/data_association.cpp

-7
Original file line numberDiff line numberDiff line change
@@ -180,13 +180,6 @@ double DataAssociation::calcScoreBetweenObjects(
180180
const std::uint8_t object0_label =
181181
object_recognition_utils::getHighestProbLabel(object0.classification);
182182

183-
std::vector<double> tracker_pose = {
184-
object1.kinematics.pose_with_covariance.pose.position.x,
185-
object1.kinematics.pose_with_covariance.pose.position.y};
186-
std::vector<double> measurement_pose = {
187-
object0.kinematics.pose_with_covariance.pose.position.x,
188-
object0.kinematics.pose_with_covariance.pose.position.y};
189-
190183
double score = 0.0;
191184
if (can_assign_matrix_(object1_label, object0_label)) {
192185
const double max_dist = max_dist_matrix_(object1_label, object0_label);

0 commit comments

Comments
 (0)