Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 5cb1f64

Browse files
committedAug 9, 2023·
style(pre-commit): autofix
1 parent b50c8f9 commit 5cb1f64

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed
 

‎planning/freespace_planning_algorithms/src/astar_search.cpp

+6-3
Original file line numberDiff line numberDiff line change
@@ -259,10 +259,13 @@ bool AstarSearch::search()
259259
}
260260

261261
geometry_msgs::msg::Pose relative_goal_pose;
262-
relative_goal_pose.position.x = goal_pose_.position.x - (next_pose.position.x - start_pose_.position.x);
263-
relative_goal_pose.position.y = goal_pose_.position.y - (next_pose.position.y - start_pose_.position.y);
262+
relative_goal_pose.position.x =
263+
goal_pose_.position.x - (next_pose.position.x - start_pose_.position.x);
264+
relative_goal_pose.position.y =
265+
goal_pose_.position.y - (next_pose.position.y - start_pose_.position.y);
264266
relative_goal_pose.orientation = goal_pose_.orientation;
265-
const auto relative_goal_index = pose2index(costmap_, relative_goal_pose, planner_common_param_.theta_size);
267+
const auto relative_goal_index =
268+
pose2index(costmap_, relative_goal_pose, planner_common_param_.theta_size);
266269

267270
const auto & vertex_indexes_2d = vertex_indexes_table_[relative_goal_index.theta];
268271
bool relative_goal_is_out_of_range = false;

0 commit comments

Comments
 (0)
Please sign in to comment.