Skip to content

Commit

Permalink
cosmetic change
Browse files Browse the repository at this point in the history
Signed-off-by: Yukihito Saito <[email protected]>
  • Loading branch information
yukkysaito authored and xmfcx committed Jun 4, 2024
1 parent eda552e commit c3c1e93
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -911,12 +911,7 @@ PredictedObject MapBasedPredictionNode::convertToPredictedObject(
{
PredictedObject predicted_object;
predicted_object.kinematics = convertToPredictedKinematics(tracked_object.kinematics);
autoware_perception_msgs::msg::ObjectClassification classification;
for (size_t i = 0; i < tracked_object.classification.size(); i++) {
classification.label = tracked_object.classification[i].label;
classification.probability = tracked_object.classification[i].probability;
predicted_object.classification.push_back(classification);
}
predicted_object.classification = tracked_object.classification;
predicted_object.object_id = tracked_object.object_id;
predicted_object.shape.type = tracked_object.shape.type;
predicted_object.shape.footprint = tracked_object.shape.footprint;
Expand Down

0 comments on commit c3c1e93

Please sign in to comment.