Skip to content

Commit

Permalink
fix(behavior_path_planner): candidate path header (#2536)
Browse files Browse the repository at this point in the history
Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>

Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
  • Loading branch information
kosuke55 authored Dec 20, 2022
1 parent 067a4ba commit fb4164f
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -788,6 +788,9 @@ Path BehaviorPathPlannerNode::convertToPath(
}

output = util::toPath(*path_candidate_ptr);
// header is replaced by the input one, so it is substituted again
output.header = planner_data_->route_handler->getRouteHeader();
output.header.stamp = this->now();

if (!is_ready) {
for (auto & point : output.points) {
Expand Down

0 comments on commit fb4164f

Please sign in to comment.