Skip to content

Commit

Permalink
ci(pre-commit): autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Sep 24, 2022
1 parent 5a62ad4 commit 12a151c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -439,9 +439,9 @@ void FreespacePlannerNode::onTimer()
initializePlanningAlgorithm();
if (isPlanRequired()) {
// Stop before planning new trajectory
const auto stop_trajectory = partial_trajectory_.points.size() > 0 ?
createStopTrajectory(partial_trajectory_):
createStopTrajectory(current_pose_);
const auto stop_trajectory = partial_trajectory_.points.size() > 0
? createStopTrajectory(partial_trajectory_)
: createStopTrajectory(current_pose_);
trajectory_pub_->publish(stop_trajectory);
debug_pose_array_pub_->publish(trajectory2PoseArray(stop_trajectory));
debug_partial_pose_array_pub_->publish(trajectory2PoseArray(stop_trajectory));
Expand Down

0 comments on commit 12a151c

Please sign in to comment.