Skip to content

Commit 7d351ae

Browse files
pre-commit-ci[bot]esteve
authored andcommitted
style(pre-commit): autofix
Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>
1 parent 81c04bf commit 7d351ae

File tree

6 files changed

+18
-17
lines changed

6 files changed

+18
-17
lines changed

Diff for: planning/autoware_behavior_path_avoidance_by_lane_change_module/src/data_structs.hpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14-
#ifndef BEHAVIOR_PATH_AVOIDANCE_BY_LANE_CHANGE_MODULE__DATA_STRUCTS_HPP_
15-
#define BEHAVIOR_PATH_AVOIDANCE_BY_LANE_CHANGE_MODULE__DATA_STRUCTS_HPP_
14+
#ifndef DATA_STRUCTS_HPP_
15+
#define DATA_STRUCTS_HPP_
1616

1717
#include "behavior_path_avoidance_module/data_structs.hpp"
1818

@@ -34,4 +34,4 @@ struct AvoidanceByLCParameters : public AvoidanceParameters
3434
};
3535
} // namespace autoware::behavior_path_planner
3636

37-
#endif // BEHAVIOR_PATH_AVOIDANCE_BY_LANE_CHANGE_MODULE__DATA_STRUCTS_HPP_
37+
#endif // DATA_STRUCTS_HPP_

Diff for: planning/autoware_behavior_path_avoidance_by_lane_change_module/src/interface.hpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#ifndef BEHAVIOR_PATH_AVOIDANCE_BY_LANE_CHANGE_MODULE__INTERFACE_HPP_
16-
#define BEHAVIOR_PATH_AVOIDANCE_BY_LANE_CHANGE_MODULE__INTERFACE_HPP_
15+
#ifndef INTERFACE_HPP_
16+
#define INTERFACE_HPP_
1717

18+
#include "behavior_path_lane_change_module/interface.hpp"
1819
#include "data_structs.hpp"
1920
#include "scene.hpp"
20-
#include "behavior_path_lane_change_module/interface.hpp"
2121

2222
#include <rclcpp/rclcpp.hpp>
2323

@@ -51,4 +51,4 @@ class AvoidanceByLaneChangeInterface : public LaneChangeInterface
5151
};
5252
} // namespace autoware::behavior_path_planner
5353

54-
#endif // BEHAVIOR_PATH_AVOIDANCE_BY_LANE_CHANGE_MODULE__INTERFACE_HPP_
54+
#endif // INTERFACE_HPP_

Diff for: planning/autoware_behavior_path_avoidance_by_lane_change_module/src/manager.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414

1515
#include "manager.hpp"
1616

17-
#include "data_structs.hpp"
1817
#include "behavior_path_avoidance_module/parameter_helper.hpp"
18+
#include "data_structs.hpp"
1919
#include "tier4_autoware_utils/ros/parameter.hpp"
2020
#include "tier4_autoware_utils/ros/update_param.hpp"
2121

Diff for: planning/autoware_behavior_path_avoidance_by_lane_change_module/src/manager.hpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#ifndef BEHAVIOR_PATH_AVOIDANCE_BY_LANE_CHANGE_MODULE__MANAGER_HPP_
16-
#define BEHAVIOR_PATH_AVOIDANCE_BY_LANE_CHANGE_MODULE__MANAGER_HPP_
15+
#ifndef MANAGER_HPP_
16+
#define MANAGER_HPP_
1717

18+
#include "behavior_path_lane_change_module/manager.hpp"
1819
#include "data_structs.hpp"
1920
#include "interface.hpp"
20-
#include "behavior_path_lane_change_module/manager.hpp"
2121

2222
#include <rclcpp/rclcpp.hpp>
2323

@@ -51,4 +51,4 @@ class AvoidanceByLaneChangeModuleManager : public LaneChangeModuleManager
5151
};
5252
} // namespace autoware::behavior_path_planner
5353

54-
#endif // BEHAVIOR_PATH_AVOIDANCE_BY_LANE_CHANGE_MODULE__MANAGER_HPP_
54+
#endif // MANAGER_HPP_

Diff for: planning/autoware_behavior_path_avoidance_by_lane_change_module/src/scene.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,8 @@ void AvoidanceByLaneChange::fillAvoidanceTargetObjects(
153153
::behavior_path_planner::utils::path_safety_checker::separateObjectsByLanelets(
154154
*planner_data_->dynamic_object, data.current_lanelets,
155155
[](const auto & obj, const auto & lane) {
156-
return ::behavior_path_planner::utils::path_safety_checker::isPolygonOverlapLanelet(obj, lane);
156+
return ::behavior_path_planner::utils::path_safety_checker::isPolygonOverlapLanelet(
157+
obj, lane);
157158
});
158159

159160
// Assume that the maximum allocation for data.other object is the sum of

Diff for: planning/autoware_behavior_path_avoidance_by_lane_change_module/src/scene.hpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#ifndef BEHAVIOR_PATH_AVOIDANCE_BY_LANE_CHANGE_MODULE__SCENE_HPP_
16-
#define BEHAVIOR_PATH_AVOIDANCE_BY_LANE_CHANGE_MODULE__SCENE_HPP_
15+
#ifndef SCENE_HPP_
16+
#define SCENE_HPP_
1717

18-
#include "data_structs.hpp"
1918
#include "behavior_path_avoidance_module/helper.hpp"
2019
#include "behavior_path_lane_change_module/scene.hpp"
20+
#include "data_structs.hpp"
2121

2222
#include <memory>
2323

@@ -68,4 +68,4 @@ class AvoidanceByLaneChange : public NormalLaneChange
6868
};
6969
} // namespace autoware::behavior_path_planner
7070

71-
#endif // BEHAVIOR_PATH_AVOIDANCE_BY_LANE_CHANGE_MODULE__SCENE_HPP_
71+
#endif // SCENE_HPP_

0 commit comments

Comments
 (0)