Skip to content

Commit

Permalink
fix(freespace_planner): fix parking trajectory errors and warnings wh…
Browse files Browse the repository at this point in the history
…en parking completed (#6696)

fix(freespace_planner): publish stop trajectory when completed to mitigate topic timeout

Signed-off-by: AhmedEbrahim <ahmed.a.d.ebrahim@gmail.com>
  • Loading branch information
ahmeddesokyebrahim authored Mar 28, 2024
1 parent 1ed6462 commit 6d7cd0a
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,9 @@ void FreespacePlannerNode::onTimer()
}

if (is_completed_) {
partial_trajectory_.header = odom_->header;
const auto stop_trajectory = createStopTrajectory(partial_trajectory_);
trajectory_pub_->publish(stop_trajectory);
return;
}

Expand Down

0 comments on commit 6d7cd0a

Please sign in to comment.