Skip to content

Commit

Permalink
fix(multi_object_tracker): fix shadowVariable (#7939)
Browse files Browse the repository at this point in the history
fix:shadowVariable

Signed-off-by: kobayu858 <yutaro.kobayashi@tier4.jp>
  • Loading branch information
kobayu858 authored Jul 10, 2024
1 parent aaf465f commit 74e70b4
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -350,10 +350,10 @@ void MultiObjectTracker::publish(const rclcpp::Time & time) const
debugger_->endPublishTime(this->now(), time);

if (debugger_->shouldPublishTentativeObjects()) {
TrackedObjects tentative_objects_msg;
tentative_objects_msg.header.frame_id = world_frame_id_;
processor_->getTentativeObjects(time, tentative_objects_msg);
debugger_->publishTentativeObjects(tentative_objects_msg);
TrackedObjects tentative_output_msg;
tentative_output_msg.header.frame_id = world_frame_id_;
processor_->getTentativeObjects(time, tentative_output_msg);
debugger_->publishTentativeObjects(tentative_output_msg);
}
debugger_->publishObjectsMarkers();
}
Expand Down

0 comments on commit 74e70b4

Please sign in to comment.