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 15, 2022
1 parent bf44a9d commit ef1b2d5
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -446,13 +446,12 @@ void FreespacePlannerNode::onTimer()
initializePlanningAlgorithm();
if (isPlanRequired()) {
// Stop before planning new trajectory
if(partial_trajectory_.points.size()>0){
if (partial_trajectory_.points.size() > 0) {
const auto stop_trajectory = createStopTrajectory(partial_trajectory_);
trajectory_pub_->publish(stop_trajectory);
debug_pose_array_pub_->publish(trajectory2PoseArray(stop_trajectory));
debug_partial_pose_array_pub_->publish(trajectory2PoseArray(stop_trajectory));
}
else{
} else {
const auto stop_trajectory = createStopTrajectory(current_pose_);
trajectory_pub_->publish(stop_trajectory);
debug_pose_array_pub_->publish(trajectory2PoseArray(stop_trajectory));
Expand Down

0 comments on commit ef1b2d5

Please sign in to comment.