Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 0b57570

Browse files
committedFeb 27, 2024·
style(pre-commit): autofix
1 parent be3ff29 commit 0b57570

File tree

9 files changed

+17
-18
lines changed

9 files changed

+17
-18
lines changed
 

‎common/component_interface_specs/package.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
<depend>autoware_auto_perception_msgs</depend>
1616
<depend>autoware_auto_planning_msgs</depend>
1717
<depend>autoware_auto_vehicle_msgs</depend>
18-
<depend>autoware_planning_msgs</depend>
1918
<depend>autoware_map_msgs</depend>
19+
<depend>autoware_planning_msgs</depend>
2020
<depend>nav_msgs</depend>
2121
<depend>rcl</depend>
2222
<depend>rclcpp</depend>

‎map/autoware_dynamic_lanelet_provider/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ rclcpp_components_register_node(dynamic_lanelet_provider_node
1616
ament_auto_package(INSTALL_TO_SHARE
1717
launch
1818
config
19-
)
19+
)

‎map/autoware_dynamic_lanelet_provider/config/dynamic_lanelet_provider.param.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
ros__parameters:
33
dynamic_map_loading_grid_size: 50.0 # [m]
44
dynamic_map_loading_update_distance: 100.0 # [m]
5-
dynamic_map_loading_map_radius: 150.0 # [m]
5+
dynamic_map_loading_map_radius: 150.0 # [m]

‎map/autoware_dynamic_lanelet_provider/include/autoware/dynamic_lanelet_provider/dynamic_lanelet_provider.hpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22

3-
#ifndef AUTOWARE_DYNAMIC_LANELET_PROVIDER_HPP
4-
#define AUTOWARE_DYNAMIC_LANELET_PROVIDER_HPP
3+
#ifndef AUTOWARE__DYNAMIC_LANELET_PROVIDER__DYNAMIC_LANELET_PROVIDER_HPP_
4+
#define AUTOWARE__DYNAMIC_LANELET_PROVIDER__DYNAMIC_LANELET_PROVIDER_HPP_
55

66
#include <component_interface_specs/map.hpp>
77
#include <component_interface_utils/rclcpp.hpp>
@@ -74,4 +74,4 @@ class DynamicLaneletProviderNode : public rclcpp::Node
7474
} // namespace dynamic_lanelet_provider
7575
} // namespace autoware
7676

77-
#endif // AUTOWARE_DYNAMIC_LANELET_PROVIDER_HPP
77+
#endif // AUTOWARE__DYNAMIC_LANELET_PROVIDER__DYNAMIC_LANELET_PROVIDER_HPP_
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
<launch>
2-
<arg name="dynamic_lanelet_provider_param_path" default="$(find-pkg-share autoware_dynamic_lanelet_provider)/config/dynamic_lanelet_provider.param.yaml"/>
2+
<arg name="dynamic_lanelet_provider_param_path" default="$(find-pkg-share autoware_dynamic_lanelet_provider)/config/dynamic_lanelet_provider.param.yaml"/>
33

4-
<node pkg="autoware_dynamic_lanelet_provider" exec="dynamic_lanelet_provider_node" name="dynamic_lanelet_provider_node">
5-
<param from="$(var dynamic_lanelet_provider_param_path)"/>
6-
</node>
7-
8-
</launch>
4+
<node pkg="autoware_dynamic_lanelet_provider" exec="dynamic_lanelet_provider_node" name="dynamic_lanelet_provider_node">
5+
<param from="$(var dynamic_lanelet_provider_param_path)"/>
6+
</node>
7+
</launch>

‎map/autoware_dynamic_lanelet_provider/package.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
<buildtool_depend>ament_cmake_auto</buildtool_depend>
1111
<buildtool_depend>autoware_cmake</buildtool_depend>
1212

13-
<depend>component_interface_specs</depend>
14-
<depend>component_interface_utils</depend>
1513
<depend>autoware_auto_mapping_msgs</depend>
1614
<depend>autoware_map_msgs</depend>
15+
<depend>component_interface_specs</depend>
16+
<depend>component_interface_utils</depend>
1717
<depend>geography_utils</depend>
1818

1919
<export>

‎map/autoware_dynamic_lanelet_provider/src/dynamic_lanelet_provider.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,8 @@ void DynamicLaneletProviderNode::updateMap(const geometry_msgs::msg::Point & pos
144144
}
145145

146146
auto request = std::make_shared<autoware_map_msgs::srv::GetDifferentialLanelet2Map::Request>();
147-
request->vector_map_file_ids.insert(request->vector_map_file_ids.end(), cache_ids.begin(), cache_ids.end());
147+
request->vector_map_file_ids.insert(
148+
request->vector_map_file_ids.end(), cache_ids.begin(), cache_ids.end());
148149

149150
while (!map_loader_client_->wait_for_service(std::chrono::seconds(1)) && rclcpp::ok()) {
150151
RCLCPP_INFO(get_logger(), "Waiting for lanelet loader service");
@@ -196,4 +197,4 @@ bool DynamicLaneletProviderNode::should_update_map() const
196197
} // namespace autoware
197198

198199
#include <rclcpp_components/rclcpp_components/register_node_macro.hpp>
199-
RCLCPP_COMPONENTS_REGISTER_NODE(autoware::dynamic_lanelet_provider::DynamicLaneletProviderNode)
200+
RCLCPP_COMPONENTS_REGISTER_NODE(autoware::dynamic_lanelet_provider::DynamicLaneletProviderNode)

‎map/map_loader/src/lanelet2_map_loader/lanelet2_differential_loader_module.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ Lanelet2DifferentialLoaderModule::getLaneletMapMetaDataMsg() const
136136
tile_msg.origin_lat = file.second.origin_lat;
137137
tile_msg.origin_lon = file.second.origin_lon;
138138

139-
140139
metadata.metadata_list.push_back(tile_msg);
141140
}
142141
metadata.header.frame_id = "map";

‎map/map_loader/src/lanelet2_map_loader/lanelet2_map_loader_node.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Lanelet2MapLoaderNode::Lanelet2MapLoaderNode(const rclcpp::NodeOptions & options
8282

8383
declare_parameter<std::string>("lanelet2_map_path");
8484
declare_parameter<double>("center_line_resolution");
85-
85+
8686
if (declare_parameter<bool>("enabled_dynamic_lanelet_loading")) {
8787
std::vector<std::string> lanelet2_paths_or_directory =
8888
declare_parameter<std::vector<std::string>>("lanelet2_map_folder_path");

0 commit comments

Comments
 (0)
Please sign in to comment.