Skip to content

Commit 4a8b889

Browse files
committed
fix:shadowVariable
Signed-off-by: kobayu858 <yutaro.kobayashi@tier4.jp>
1 parent b1d7fcd commit 4a8b889

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

perception/multi_object_tracker/src/multi_object_tracker_node.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -350,10 +350,10 @@ void MultiObjectTracker::publish(const rclcpp::Time & time) const
350350
debugger_->endPublishTime(this->now(), time);
351351

352352
if (debugger_->shouldPublishTentativeObjects()) {
353-
TrackedObjects tentative_objects_msg;
354-
tentative_objects_msg.header.frame_id = world_frame_id_;
355-
processor_->getTentativeObjects(time, tentative_objects_msg);
356-
debugger_->publishTentativeObjects(tentative_objects_msg);
353+
TrackedObjects tentative_output_msg;
354+
tentative_output_msg.header.frame_id = world_frame_id_;
355+
processor_->getTentativeObjects(time, tentative_output_msg);
356+
debugger_->publishTentativeObjects(tentative_output_msg);
357357
}
358358
debugger_->publishObjectsMarkers();
359359
}

0 commit comments

Comments
 (0)