@@ -27,20 +27,13 @@ def generate_launch_description():
2727 # package_dir = get_package_share_directory('robocup_bringup')
2828 # llama_dir = get_package_share_directory('llama_bringup')
2929 whisper_dir = get_package_share_directory ('whisper_bringup' )
30+ kb_dir = get_package_share_directory ('knowledge_core' )
3031 # audio_common_dir = get_package_share_directory('audio_common')
3132
3233 # Configuration Variables
3334 model_repo = LaunchConfiguration ('model_repo' )
3435 model_filename = LaunchConfiguration ('model_filename' )
3536
36- declare_model_repo_cmd = DeclareLaunchArgument (
37- 'model_repo' , default_value = 'ggerganov/whisper.cpp' ,
38- description = 'Hugging Face model repo' )
39-
40- declare_model_filename_cmd = DeclareLaunchArgument (
41- 'model_filename' , default_value = 'ggml-large-v3-q5_0.bin' ,
42- description = 'Hugging Face model filename' )
43-
4437 # Actions
4538 llama_cmd = create_llama_launch (
4639
@@ -82,6 +75,12 @@ def generate_launch_description():
8275 }.items ()
8376 )
8477
78+ kb_cmd = IncludeLaunchDescription (
79+ PythonLaunchDescriptionSource (
80+ os .path .join (kb_dir , 'launch' , 'knowledge_core.launch.py' )
81+ )
82+ )
83+
8584 audio_common_tts_node = Node (
8685 package = 'tts_ros' ,
8786 executable = 'tts_node' ,
@@ -107,8 +106,8 @@ def generate_launch_description():
107106 )
108107
109108 ld = LaunchDescription ()
110- ld .add_action (declare_model_repo_cmd )
111- ld .add_action (declare_model_filename_cmd )
109+ # ld.add_action(declare_model_repo_cmd)
110+ # ld.add_action(declare_model_filename_cmd)
112111 ld .add_action (whisper_cmd )
113112 ld .add_action (llama_cmd )
114113 ld .add_action (audio_common_tts_node )
0 commit comments