From 5b2b02973329cbb7084cd23424226cc33fe83953 Mon Sep 17 00:00:00 2001 From: Kotochleb Date: Sat, 23 Sep 2023 22:19:25 +0000 Subject: [PATCH 1/2] Fix s2 and s3 launch files --- launch/sllidar_s2_launch.py | 1 + launch/sllidar_s3_launch.py | 1 + 2 files changed, 2 insertions(+) diff --git a/launch/sllidar_s2_launch.py b/launch/sllidar_s2_launch.py index 91d295c..5cc7b85 100644 --- a/launch/sllidar_s2_launch.py +++ b/launch/sllidar_s2_launch.py @@ -11,6 +11,7 @@ def generate_launch_description(): + channel_type = LaunchConfiguration('channel_type', default='serial') serial_port = LaunchConfiguration('serial_port', default='/dev/ttyUSB0') serial_baudrate = LaunchConfiguration('serial_baudrate', default='1000000') #for s2 is 1000000 frame_id = LaunchConfiguration('frame_id', default='laser') diff --git a/launch/sllidar_s3_launch.py b/launch/sllidar_s3_launch.py index 83ef4d9..a2eebcd 100644 --- a/launch/sllidar_s3_launch.py +++ b/launch/sllidar_s3_launch.py @@ -11,6 +11,7 @@ def generate_launch_description(): + channel_type = LaunchConfiguration('channel_type', default='serial') serial_port = LaunchConfiguration('serial_port', default='/dev/ttyUSB0') serial_baudrate = LaunchConfiguration('serial_baudrate', default='1000000') frame_id = LaunchConfiguration('frame_id', default='laser') From 67a75df7222ed482d66ac76c584a578f08fcb654 Mon Sep 17 00:00:00 2001 From: Kotochleb Date: Sat, 23 Sep 2023 22:24:12 +0000 Subject: [PATCH 2/2] Remove S2 fix --- launch/sllidar_s2_launch.py | 1 - 1 file changed, 1 deletion(-) diff --git a/launch/sllidar_s2_launch.py b/launch/sllidar_s2_launch.py index 5cc7b85..91d295c 100644 --- a/launch/sllidar_s2_launch.py +++ b/launch/sllidar_s2_launch.py @@ -11,7 +11,6 @@ def generate_launch_description(): - channel_type = LaunchConfiguration('channel_type', default='serial') serial_port = LaunchConfiguration('serial_port', default='/dev/ttyUSB0') serial_baudrate = LaunchConfiguration('serial_baudrate', default='1000000') #for s2 is 1000000 frame_id = LaunchConfiguration('frame_id', default='laser')