18 lines
396 B
Python
18 lines
396 B
Python
from launch import LaunchDescription
|
|
from launch_ros.actions import Node
|
|
|
|
|
|
def generate_launch_description():
|
|
"""启动语音交互节点,所有参数从 voice.yaml 读取"""
|
|
return LaunchDescription([
|
|
Node(
|
|
package='robot_speaker',
|
|
executable='robot_speaker_node',
|
|
name='robot_speaker_node',
|
|
output='screen'
|
|
),
|
|
])
|
|
|
|
|
|
|