From 677e8202373d7b9a91617fda6466413f94b024b7 Mon Sep 17 00:00:00 2001 From: mhubii Date: Tue, 10 Sep 2024 16:14:32 +0200 Subject: [PATCH] deleted legacy launch --- lbr_bringup/launch/bringup.launch.py | 62 ---------------------------- 1 file changed, 62 deletions(-) delete mode 100644 lbr_bringup/launch/bringup.launch.py diff --git a/lbr_bringup/launch/bringup.launch.py b/lbr_bringup/launch/bringup.launch.py deleted file mode 100644 index 8ae5f8a4..00000000 --- a/lbr_bringup/launch/bringup.launch.py +++ /dev/null @@ -1,62 +0,0 @@ -from launch import LaunchDescription -from launch.actions import IncludeLaunchDescription -from launch.conditions import LaunchConfigurationEquals -from launch.launch_description_sources import PythonLaunchDescriptionSource -from launch.substitutions import LaunchConfiguration, PathJoinSubstitution -from launch_ros.substitutions import FindPackageShare -from lbr_bringup.description import LBRDescriptionMixin - - -def generate_launch_description() -> LaunchDescription: - ld = LaunchDescription() - - ld.add_action(LBRDescriptionMixin.arg_mode()) - - ld.add_action( - IncludeLaunchDescription( - PythonLaunchDescriptionSource( - PathJoinSubstitution( - [ - FindPackageShare("lbr_bringup"), - "launch", - "hardware.launch.py", - ] - ) - ), - condition=LaunchConfigurationEquals( - LaunchConfiguration("mode"), "hardware" - ), - ) - ) - - ld.add_action( - IncludeLaunchDescription( - PythonLaunchDescriptionSource( - PathJoinSubstitution( - [ - FindPackageShare("lbr_bringup"), - "launch", - "mock.launch.py", - ] - ) - ), - condition=LaunchConfigurationEquals(LaunchConfiguration("mode"), "mock"), - ) - ) - - ld.add_action( - IncludeLaunchDescription( - PythonLaunchDescriptionSource( - PathJoinSubstitution( - [ - FindPackageShare("lbr_bringup"), - "launch", - "gazebo.launch.py", - ] - ) - ), - condition=LaunchConfigurationEquals(LaunchConfiguration("mode"), "gazebo"), - ) - ) - - return ld