Skip to content

Commit

Permalink
rebase commom tools
Browse files Browse the repository at this point in the history
Signed-off-by: jack.song <[email protected]>
  • Loading branch information
shulanbushangshu committed Dec 13, 2024
1 parent cb204b6 commit 667ded2
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
6 changes: 4 additions & 2 deletions common/autoware_component_interface_tools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ if(BUILD_TESTING)
test/test_service_log_checker.cpp
)

target_link_libraries(test_service_log_checker
component_interface_tools
ament_target_dependencies(test_service_log_checker
tier4_system_msgs
yaml_cpp_vendor
diagnostic_updater
)
target_include_directories(test_service_log_checker PRIVATE src)
endif()
Expand Down
6 changes: 5 additions & 1 deletion common/autoware_component_interface_tools/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,13 @@
<depend>rclcpp_components</depend>
<depend>tier4_system_msgs</depend>
<depend>yaml_cpp_vendor</depend>


<test_depend>ament_cmake_ros</test_depend>
<test_depend>ament_lint_auto</test_depend>
<test_depend>autoware_lint_common</test_depend>
<test_depend>tier4_system_msgs</test_depend>
<test_depend>yaml_cpp_vendor</test_depend>
<test_depend>diagnostic_updater</test_depend>

<export>
<build_type>ament_cmake</build_type>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,10 @@ TEST(service, checker)
}
}
};

auto checker = std::make_shared<ServiceLogChecker>();

std::shared_ptr<ServiceLogChecker> checker;
rclcpp::NodeOptions option;
auto checker = std::make_shared<ServiceLogChecker>(option);

auto test_log = std::make_shared<PubManager>();
ServiceLog log;
log.type = 6;
Expand Down

0 comments on commit 667ded2

Please sign in to comment.