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 May 13, 2024
1 parent bde2856 commit da1973c
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#ifndef BEHAVIOR_PATH_AVOIDANCE_BY_LANE_CHANGE_MODULE__DATA_STRUCTS_HPP_
#define BEHAVIOR_PATH_AVOIDANCE_BY_LANE_CHANGE_MODULE__DATA_STRUCTS_HPP_
#ifndef DATA_STRUCTS_HPP_
#define DATA_STRUCTS_HPP_

#include "behavior_path_avoidance_module/data_structs.hpp"

Expand All @@ -34,4 +34,4 @@ struct AvoidanceByLCParameters : public AvoidanceParameters
};
} // namespace autoware::behavior_path_planner

#endif // BEHAVIOR_PATH_AVOIDANCE_BY_LANE_CHANGE_MODULE__DATA_STRUCTS_HPP_
#endif // DATA_STRUCTS_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef BEHAVIOR_PATH_AVOIDANCE_BY_LANE_CHANGE_MODULE__INTERFACE_HPP_
#define BEHAVIOR_PATH_AVOIDANCE_BY_LANE_CHANGE_MODULE__INTERFACE_HPP_
#ifndef INTERFACE_HPP_
#define INTERFACE_HPP_

#include "behavior_path_lane_change_module/interface.hpp"
#include "data_structs.hpp"
#include "scene.hpp"
#include "behavior_path_lane_change_module/interface.hpp"

#include <rclcpp/rclcpp.hpp>

Expand Down Expand Up @@ -51,4 +51,4 @@ class AvoidanceByLaneChangeInterface : public LaneChangeInterface
};
} // namespace autoware::behavior_path_planner

#endif // BEHAVIOR_PATH_AVOIDANCE_BY_LANE_CHANGE_MODULE__INTERFACE_HPP_
#endif // INTERFACE_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@

#include "manager.hpp"

#include "data_structs.hpp"
#include "behavior_path_avoidance_module/parameter_helper.hpp"
#include "data_structs.hpp"
#include "tier4_autoware_utils/ros/parameter.hpp"
#include "tier4_autoware_utils/ros/update_param.hpp"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef BEHAVIOR_PATH_AVOIDANCE_BY_LANE_CHANGE_MODULE__MANAGER_HPP_
#define BEHAVIOR_PATH_AVOIDANCE_BY_LANE_CHANGE_MODULE__MANAGER_HPP_
#ifndef MANAGER_HPP_
#define MANAGER_HPP_

#include "behavior_path_lane_change_module/manager.hpp"
#include "data_structs.hpp"
#include "interface.hpp"
#include "behavior_path_lane_change_module/manager.hpp"

#include <rclcpp/rclcpp.hpp>

Expand Down Expand Up @@ -51,4 +51,4 @@ class AvoidanceByLaneChangeModuleManager : public LaneChangeModuleManager
};
} // namespace autoware::behavior_path_planner

#endif // BEHAVIOR_PATH_AVOIDANCE_BY_LANE_CHANGE_MODULE__MANAGER_HPP_
#endif // MANAGER_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,8 @@ void AvoidanceByLaneChange::fillAvoidanceTargetObjects(
::behavior_path_planner::utils::path_safety_checker::separateObjectsByLanelets(
*planner_data_->dynamic_object, data.current_lanelets,
[](const auto & obj, const auto & lane) {
return ::behavior_path_planner::utils::path_safety_checker::isPolygonOverlapLanelet(obj, lane);
return ::behavior_path_planner::utils::path_safety_checker::isPolygonOverlapLanelet(
obj, lane);
});

// Assume that the maximum allocation for data.other object is the sum of
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef BEHAVIOR_PATH_AVOIDANCE_BY_LANE_CHANGE_MODULE__SCENE_HPP_
#define BEHAVIOR_PATH_AVOIDANCE_BY_LANE_CHANGE_MODULE__SCENE_HPP_
#ifndef SCENE_HPP_
#define SCENE_HPP_

#include "data_structs.hpp"
#include "behavior_path_avoidance_module/helper.hpp"
#include "behavior_path_lane_change_module/scene.hpp"
#include "data_structs.hpp"

#include <memory>

Expand Down Expand Up @@ -68,4 +68,4 @@ class AvoidanceByLaneChange : public NormalLaneChange
};
} // namespace autoware::behavior_path_planner

#endif // BEHAVIOR_PATH_AVOIDANCE_BY_LANE_CHANGE_MODULE__SCENE_HPP_
#endif // SCENE_HPP_

0 comments on commit da1973c

Please sign in to comment.