Modify the py file in the launch to fix the abnormal behavior of multiple device hot-swapping in Foxy ROS2 version.

This commit is contained in:
lixiaobin
2023-11-07 09:31:51 +08:00
parent ca3ad3fbbb
commit bf633463db
23 changed files with 1009 additions and 633 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ def generate_launch_description():
DeclareLaunchArgument('enable_frame_sync', default_value='true'),
]
# Node configuration
# Node configuration
parameters = [{arg.name: LaunchConfiguration(arg.name)} for arg in args]
# get ROS_DISTRO
ros_distro = os.environ["ROS_DISTRO"]