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 Jul 4, 2024
1 parent 6a37de9 commit 13d2d9e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,7 @@ class BehaviorPathPlannerNode : public rclcpp::Node
/**
* @brief extract path from behavior tree output
*/
PathWithLaneId::SharedPtr getPath(
const BehaviorModuleOutput & bt_out);
PathWithLaneId::SharedPtr getPath(const BehaviorModuleOutput & bt_out);

/**
* @brief extract path candidate from behavior tree output
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,8 @@ void BehaviorPathPlannerNode::run()

const auto path = original_path;
auto clipped_path = modifyPathForSmoothGoalConnection(*path);
clipped_path = util::resamplePathWithSpline(clipped_path, planner_data_->parameters.path_interval);
clipped_path =
util::resamplePathWithSpline(clipped_path, planner_data_->parameters.path_interval);
clipPathLength(clipped_path);

if (!clipped_path.points.empty()) {
Expand Down Expand Up @@ -531,8 +532,7 @@ void BehaviorPathPlannerNode::run()
}

// output: spline interpolated path, original path
PathWithLaneId::SharedPtr BehaviorPathPlannerNode::getPath(
const BehaviorModuleOutput & bt_output)
PathWithLaneId::SharedPtr BehaviorPathPlannerNode::getPath(const BehaviorModuleOutput & bt_output)
{
// TODO(Horibe) do some error handling when path is not available.

Expand Down

0 comments on commit 13d2d9e

Please sign in to comment.