@@ -29,8 +29,9 @@ def generate_launch_description():
2929 move_group_dir = get_package_share_directory ('tiago_moveit_config' )
3030 manipulation_dir = get_package_share_directory ('manipulation_action_server' )
3131 package_dir = get_package_share_directory ('robocup_bringup' )
32- yolo3d_dir = get_package_share_directory ('yolo_bringup ' )
32+ yolo3d_dir = get_package_share_directory ('yolov8_bringup ' )
3333 navigation_dir = get_package_share_directory ('navigation_system' )
34+ knowledge_core_dir = get_package_share_directory ('knowledge_core' )
3435
3536 # manipulation launchers
3637 move_group = IncludeLaunchDescription (
@@ -41,7 +42,7 @@ def generate_launch_description():
4142
4243 manipulation_server = IncludeLaunchDescription (
4344 PythonLaunchDescriptionSource (
44- os .path .join (manipulation_dir , 'launch' , 'server .launch.py' )
45+ os .path .join (manipulation_dir , 'launch' , 'simple_server .launch.py' )
4546 )
4647 )
4748
@@ -54,18 +55,18 @@ def generate_launch_description():
5455
5556 yolo3d = IncludeLaunchDescription (
5657 PythonLaunchDescriptionSource (
57- os .path .join (yolo3d_dir , 'launch' , 'yolo .launch.py' )
58+ os .path .join (yolo3d_dir , 'launch' , 'yolov8_3d .launch.py' )
5859 ),
5960 launch_arguments = {
6061 # 'namespace': 'perception_system',
6162 'model' : 'yolov8n.pt' ,
6263 'input_image_topic' : '/head_front_camera/rgb/image_raw' ,
6364 'input_depth_topic' : '/head_front_camera/depth/image_raw' ,
64- 'input_depth_info_topic' : '/head_front_camera/depth /camera_info' ,
65+ 'input_depth_info_topic' : '/head_front_camera/rgb /camera_info' ,
6566 'depth_image_units_divisor' : '1000' , # 1 for simulation, 1000 real
66- 'target_frame' : 'camera_color_optical_frame ' ,
67+ 'target_frame' : 'head_front_camera_color_optical_frame ' ,
6768 'threshold' : '0.5'
68- }.items ()
69+ }.items ()
6970 )
7071
7172 dialog = IncludeLaunchDescription (
@@ -81,7 +82,7 @@ def generate_launch_description():
8182 launch_arguments = {
8283 'rviz' : 'True' ,
8384 # 'map': package_dir + '/maps/robocup_arena_1.yaml', # ARENA C
84- 'map' : package_dir + '/maps/robocup_arena_2 .yaml' , # ARENA B
85+ 'map' : package_dir + '/maps/new_lab .yaml' , # ARENA B
8586 'params_file' : package_dir +
8687 '/config/receptionist/tiago_nav_params.yaml' ,
8788 'slam_params_file' : package_dir +
@@ -90,12 +91,19 @@ def generate_launch_description():
9091 }.items ()
9192 )
9293
94+ knowledge_core = IncludeLaunchDescription (
95+ PythonLaunchDescriptionSource (
96+ os .path .join (knowledge_core_dir , 'launch' , 'knowledge_core.launch.py' )
97+ )
98+ )
99+
93100 ld = LaunchDescription ()
101+ ld .add_action (knowledge_core )
94102 ld .add_action (navigation )
95103 ld .add_action (dialog )
96104 ld .add_action (yolo3d )
97105 ld .add_action (real_time )
98- ld .add_action (move_group )
106+ # ld.add_action(move_group)
99107 ld .add_action (manipulation_server )
100108
101109 return ld
0 commit comments