Skip to content

Commit

Permalink
build: use <buildtool_depend> for autoware_cmake (#103)
Browse files Browse the repository at this point in the history
* build: use <buildtool_depend> for autoware_cmake

Signed-off-by: Vincent Richard <[email protected]>

* style(pre-commit): autofix

* style(pre-commit): autofix

---------

Signed-off-by: Vincent Richard <[email protected]>
Co-authored-by: Kenji Miyake <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored May 4, 2023
1 parent c3a9235 commit 65fba62
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
3 changes: 1 addition & 2 deletions autoware_iv_external_api_adaptor/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
<license>Apache License 2.0</license>

<buildtool_depend>ament_cmake_auto</buildtool_depend>

<build_depend>autoware_cmake</build_depend>
<buildtool_depend>autoware_cmake</buildtool_depend>

<depend>autoware_ad_api_specs</depend>
<depend>autoware_auto_control_msgs</depend>
Expand Down
3 changes: 1 addition & 2 deletions autoware_iv_internal_api_adaptor/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
<license>Apache License 2.0</license>

<buildtool_depend>ament_cmake_auto</buildtool_depend>

<build_depend>autoware_cmake</build_depend>
<buildtool_depend>autoware_cmake</buildtool_depend>

<depend>autoware_adapi_v1_msgs</depend>
<depend>autoware_auto_perception_msgs</depend>
Expand Down
3 changes: 1 addition & 2 deletions awapi_awiv_adapter/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
<license>Apache License 2.0</license>

<buildtool_depend>ament_cmake_auto</buildtool_depend>

<build_depend>autoware_cmake</build_depend>
<buildtool_depend>autoware_cmake</buildtool_depend>

<depend>autoware_adapi_v1_msgs</depend>
<depend>autoware_auto_control_msgs</depend>
Expand Down
10 changes: 8 additions & 2 deletions awapi_awiv_adapter/src/awapi_v2x_aggregator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,15 @@ namespace autoware_api
{
namespace
{
std::string createKey(const Command & command) { return command.type + "-" + command.id; }
std::string createKey(const Command & command)
{
return command.type + "-" + command.id;
}

std::string createKey(const State & state) { return state.type + "-" + state.id; }
std::string createKey(const State & state)
{
return state.type + "-" + state.id;
}
} // namespace

AutowareIvV2XAggregator::AutowareIvV2XAggregator(rclcpp::Node & node)
Expand Down

0 comments on commit 65fba62

Please sign in to comment.