LCOV - code coverage report
Current view: top level - src/localization/ndt_nodes/src - p2d_ndt_localizer.cpp (source / functions) Hit Total Coverage
Test: lcov.total.filtered Lines: 4 4 100.0 %
Date: 2023-03-03 05:44:19 Functions: 1 1 100.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 3 6 50.0 %

           Branch data     Line data    Source code
       1                 :            : // Copyright 2020 the Autoware Foundation
       2                 :            : //
       3                 :            : // Licensed under the Apache License, Version 2.0 (the "License");
       4                 :            : // you may not use this file except in compliance with the License.
       5                 :            : // You may obtain a copy of the License at
       6                 :            : //
       7                 :            : //     http://www.apache.org/licenses/LICENSE-2.0
       8                 :            : //
       9                 :            : // Unless required by applicable law or agreed to in writing, software
      10                 :            : // distributed under the License is distributed on an "AS IS" BASIS,
      11                 :            : // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
      12                 :            : // See the License for the specific language governing permissions and
      13                 :            : // limitations under the License.
      14                 :            : //
      15                 :            : // Co-developed by Tier IV, Inc. and Apex.AI, Inc.
      16                 :            : 
      17                 :            : #include <ndt_nodes/ndt_localizer_nodes.hpp>
      18                 :            : #include <rclcpp_components/register_node_macro.hpp>
      19                 :            : 
      20                 :            : namespace autoware
      21                 :            : {
      22                 :            : namespace localization
      23                 :            : {
      24                 :            : namespace ndt_nodes
      25                 :            : {
      26                 :            : struct P2DNDTLocalizerNodeComponent
      27                 :            :   : public autoware::localization::ndt_nodes::P2DNDTLocalizerNode<>
      28                 :            : {
      29                 :          4 :   explicit P2DNDTLocalizerNodeComponent(const rclcpp::NodeOptions & node_options)
      30                 :          4 :   : autoware::localization::ndt_nodes::P2DNDTLocalizerNode<>(
      31                 :            :       "p2d_ndt_localizer_node", node_options,
      32   [ +  -  +  -  :          8 :       autoware::localization::ndt_nodes::PoseInitializer_{})
                   -  + ]
      33                 :            :   {
      34                 :          4 :   }
      35                 :            : };
      36                 :            : }  // namespace ndt_nodes
      37                 :            : }  // namespace localization
      38                 :            : }  // namespace autoware
      39                 :            : 
      40                 :            : RCLCPP_COMPONENTS_REGISTER_NODE(autoware::localization::ndt_nodes::P2DNDTLocalizerNodeComponent)

Generated by: LCOV version 1.14