diff --git a/edge_auto_launch/launch/component/lidar_camera_tf_publisher.launch.py b/edge_auto_launch/launch/component/lidar_camera_tf_publisher.launch.py index e5e3abf..9d2c798 100644 --- a/edge_auto_launch/launch/component/lidar_camera_tf_publisher.launch.py +++ b/edge_auto_launch/launch/component/lidar_camera_tf_publisher.launch.py @@ -1,3 +1,18 @@ +# Copyright 2023 TIER IV, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + from launch import LaunchDescription from launch.actions import DeclareLaunchArgument from launch.actions import OpaqueFunction @@ -5,6 +20,7 @@ from launch_ros.actions import Node import json + def launch_setup(context, *args, **kwargs): tf_file = LaunchConfiguration('tf_file_path').perform(context) with open(tf_file, 'r') as f: @@ -44,6 +60,7 @@ def launch_setup(context, *args, **kwargs): ]) ] + def generate_launch_description(): return LaunchDescription( [ @@ -51,4 +68,3 @@ def generate_launch_description(): OpaqueFunction(function=launch_setup), ] ) -