1515#
1616# SPDX-License-Identifier: Apache-2.0
1717
18- from isaac_ros_launch_utils .all_types import *
1918import isaac_ros_launch_utils as lu
19+ import launch_utils .all_types as lut
2020
2121
22- def generate_launch_description () -> LaunchDescription :
22+ def generate_launch_description () -> lut . LaunchDescription :
2323 args = lu .ArgumentContainer ()
2424 args .add_arg ('rosbag' )
2525 args .add_arg ('enabled_stereo_cameras' )
@@ -38,7 +38,7 @@ def generate_launch_description() -> LaunchDescription:
3838 'enable_3d_lidar' : False ,
3939 'enabled_stereo_cameras' : args .enabled_stereo_cameras ,
4040 },
41- condition = IfCondition (lu .is_valid (args .rosbag )),
41+ condition = lut . IfCondition (lu .is_valid (args .rosbag )),
4242 ))
4343
4444 # Sensor data from physical sensor drivers.
@@ -51,13 +51,13 @@ def generate_launch_description() -> LaunchDescription:
5151 'enabled_2d_lidars' : '' ,
5252 'enabled_stereo_cameras' : args .enabled_stereo_cameras ,
5353 },
54- condition = UnlessCondition (lu .is_valid (args .rosbag )),
54+ condition = lut . UnlessCondition (lu .is_valid (args .rosbag )),
5555 ))
5656 actions .append (
5757 lu .include (
5858 'nova_developer_kit_description' ,
5959 'launch/nova_developer_kit_description.launch.py' ,
60- condition = UnlessCondition (lu .is_valid (args .rosbag )),
60+ condition = lut . UnlessCondition (lu .is_valid (args .rosbag )),
6161 ))
6262
6363 # Visualization.
@@ -67,4 +67,4 @@ def generate_launch_description() -> LaunchDescription:
6767 'launch/tools/visualization.launch.py' ,
6868 launch_arguments = {'enable_human_segmentation' : args .enable_human_segmentation }))
6969
70- return LaunchDescription (actions )
70+ return lut . LaunchDescription (actions )
0 commit comments