Skip to content

Commit

Permalink
style(pre-commit): autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Apr 12, 2024
1 parent 27264d2 commit fcf0ff7
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ struct AvoidanceByLCParameters : public AvoidanceParameters
{
}
};
} // namespace autoware::behavior_path_planner
} // namespace autoware::behavior_path_planner

#endif // BEHAVIOR_PATH_AVOIDANCE_BY_LANE_CHANGE_MODULE__DATA_STRUCTS_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ class AvoidanceByLaneChangeInterface : public LaneChangeInterface
protected:
void updateRTCStatus(const double start_distance, const double finish_distance) override;
};
} // namespace autoware::behavior_path_planner
} // namespace autoware::behavior_path_planner

#endif // BEHAVIOR_PATH_AVOIDANCE_BY_LANE_CHANGE_MODULE__INTERFACE_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ class AvoidanceByLaneChangeModuleManager : public LaneChangeModuleManager
private:
std::shared_ptr<AvoidanceByLCParameters> avoidance_parameters_;
};
} // namespace autoware::behavior_path_planner
} // namespace autoware::behavior_path_planner

#endif // BEHAVIOR_PATH_AVOIDANCE_BY_LANE_CHANGE_MODULE__MANAGER_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ using ::behavior_path_planner::DebugData;
using AvoidanceDebugData = DebugData;
using ::behavior_path_planner::AvoidancePlanningData;
using ::behavior_path_planner::LaneChangeParameters;
using ::behavior_path_planner::NormalLaneChange;
using ::behavior_path_planner::ObjectData;
using ::behavior_path_planner::ObjectDataArray;
using ::behavior_path_planner::PredictedObject;
using ::behavior_path_planner::helper::avoidance::AvoidanceHelper;
using ::behavior_path_planner::NormalLaneChange;

class AvoidanceByLaneChange : public NormalLaneChange
{
Expand Down Expand Up @@ -60,12 +60,13 @@ class AvoidanceByLaneChange : public NormalLaneChange
std::optional<ObjectData> create_object_data(
const AvoidancePlanningData & data, const PredictedObject & object) const;

void fill_avoidance_target_objects(AvoidancePlanningData & data, AvoidanceDebugData & debug) const;
void fill_avoidance_target_objects(
AvoidancePlanningData & data, AvoidanceDebugData & debug) const;

double calc_min_avoidance_length(const ObjectData & nearest_object) const;
double calc_minimum_lane_change_length() const;
double calc_lateral_offset() const;
};
} // namespace autoware::behavior_path_planner
} // namespace autoware::behavior_path_planner

#endif // BEHAVIOR_PATH_AVOIDANCE_BY_LANE_CHANGE_MODULE__SCENE_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@

namespace autoware::behavior_path_planner
{
using ::behavior_path_planner::utils::lane_change::debug::createExecutionArea;
using ::route_handler::Direction;
using ::behavior_path_planner::LaneChangeModuleType;
using ::behavior_path_planner::Point2d;
using ::behavior_path_planner::utils::lane_change::debug::createExecutionArea;
using ::route_handler::Direction;

AvoidanceByLaneChange::AvoidanceByLaneChange(
const std::shared_ptr<LaneChangeParameters> & parameters,
Expand Down

0 comments on commit fcf0ff7

Please sign in to comment.