Skip to content

Commit ada6b55

Browse files
committed
Update parent README
1 parent 85ba875 commit ada6b55

File tree

1 file changed

+19
-4
lines changed

1 file changed

+19
-4
lines changed

coffee_ws/README.md

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,15 +184,30 @@ ros2 run coffee_voice_agent voice_agent_node
184184
Receives text to be spoken and sends it to the TTS engine.
185185
In the LLM flow, all it does is receive the output from the LLM and send it to the TTS engine.
186186
```
187+
# Using launch file (recommended)
188+
ros2 launch coffee_voice_service tts_node.launch.py
189+
190+
# Or run directly
187191
ros2 run coffee_voice_service tts_node
188192
```
189193

190194
`tts_node` explicitly handles the calls to Eleven Labs or Fish Audio. It run a `ROS2 Service` that makes a synchronous call to the server. An example service call is provided here:
191195

192196
```
193-
ros2 service call /system/effector/tts/tts_query coffee_buddy_msgs/srv/TTSQuery "{text: 'Hey, would you like a cup of coffee?'}"
197+
# Default service endpoint
198+
ros2 service call /coffee/voice/tts/query coffee_buddy_msgs/srv/TTSQuery "{text: 'Hey, would you like a cup of coffee?'}"
199+
200+
# Alternative syntax
201+
ros2 service call /coffee/voice/tts/query coffee_buddy_msgs/srv/TTSQuery "{text: 'Your text prompt here'}"
202+
```
194203

195-
ros2 service call /tts_query coffee_buddy_msgs/srv/TTSQuery "{text: 'Your text prompt here'}"
204+
**Monitor TTS Status:**
205+
```
206+
# Monitor TTS status
207+
ros2 topic echo /coffee/voice/tts/status
208+
209+
# Monitor audio playback state
210+
ros2 topic echo /coffee/voice/tts/audio_state
196211
```
197212

198213
### Voice Intent Node
@@ -244,7 +259,7 @@ sudo docker run -it --rm -v /dev:/dev --privileged --net=host microros/micro-ros
244259
## Window 2
245260

246261
```
247-
ros2 run coffee_voice_service tts_node
262+
ros2 launch coffee_voice_service tts_node.launch.py
248263
249264
ros2 run coffee_machine_control coffee_machine_control_node --ros-args -p use_mock_machine:=true -p "mac_address:=''"
250265
@@ -303,7 +318,7 @@ ros2 run perception_nodes voice_intent_node
303318
304319
ros2 run behavior_nodes language_model_processor_node
305320
306-
ros2 run coffee_voice_service tts_node
321+
ros2 launch coffee_voice_service tts_node.launch.py
307322
```
308323

309324
# ROS2 Package Creation Compatibility

0 commit comments

Comments
 (0)