From e1d9fa851d99769e0b152dc17706da47055f2638 Mon Sep 17 00:00:00 2001 From: Luis Camero Date: Wed, 10 Apr 2024 10:55:49 -0400 Subject: [PATCH] Check the correct launch file --- .../clearpath_generator_robot/launch/generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clearpath_generator_robot/clearpath_generator_robot/launch/generator.py b/clearpath_generator_robot/clearpath_generator_robot/launch/generator.py index f75934b..1a0d76e 100644 --- a/clearpath_generator_robot/clearpath_generator_robot/launch/generator.py +++ b/clearpath_generator_robot/clearpath_generator_robot/launch/generator.py @@ -267,7 +267,7 @@ def generate_sensors(self) -> None: # Include sensor launch in top level sensors launch file sensors_service_launch_writer.add(sensor_launch.launch_file) - if self.clearpath_config.platform.launch: + if self.clearpath_config.platform.extras.launch: extra_launch = LaunchFile( name=(os.path.basename( self.clearpath_config.platform.extras.launch['path']