This commit is contained in:
Björn Ellensohn 2023-06-01 09:36:09 +02:00
parent e48d815beb
commit aa94378045

View File

@ -86,16 +86,16 @@ def generate_launch_description():
executable="cam_node" executable="cam_node"
) )
lidar_dir = os.path.join(get_package_share_directory('lslidar_driver'), 'params', 'lsx10.yaml') lidar_dir = os.path.join(get_package_share_directory('lslidar_driver'), 'params', 'lsx10.yaml')
lidar_node = LifecycleNode(
lidar_node = LifecycleNode(package='lslidar_driver', package='lslidar_driver',
executable='lslidar_driver_node', executable='lslidar_driver_node',
name='lslidar_driver_node', name='lslidar_driver_node',
output='screen', output='screen',
emulate_tty=True, emulate_tty=True,
namespace='', namespace='',
parameters=[lidar_dir], parameters=[lidar_dir],
) )
return LaunchDescription([ return LaunchDescription([
control_node, control_node,