Skip to content

Commit 73c12f7

Browse files
pre-commit-ci[bot]Takumi Ito
authored and
Takumi Ito
committedApr 4, 2024
style(pre-commit): autofix
1 parent 036b8f4 commit 73c12f7

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
@@ -260,10 +260,13 @@ bool AstarSearch::search()
260260
}
261261

262262
geometry_msgs::msg::Pose relative_goal_pose;
263-
relative_goal_pose.position.x = goal_pose_.position.x - (next_pose.position.x - start_pose_.position.x);
264-
relative_goal_pose.position.y = goal_pose_.position.y - (next_pose.position.y - start_pose_.position.y);
263+
relative_goal_pose.position.x =
264+
goal_pose_.position.x - (next_pose.position.x - start_pose_.position.x);
265+
relative_goal_pose.position.y =
266+
goal_pose_.position.y - (next_pose.position.y - start_pose_.position.y);
265267
relative_goal_pose.orientation = goal_pose_.orientation;
266-
const auto relative_goal_index = pose2index(costmap_, relative_goal_pose, planner_common_param_.theta_size);
268+
const auto relative_goal_index =
269+
pose2index(costmap_, relative_goal_pose, planner_common_param_.theta_size);
267270

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

0 commit comments

Comments
 (0)