Skip to content

Commit 9e69888

Browse files
committed
Update README in parent directory (workspace directory)
1 parent 3e67658 commit 9e69888

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

coffee_ws/README.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@ Commands to launch all of the nodes:
1010
source ../ros-source.sh
1111
colcon build
1212
ros-source
13-
ros2 launch coffee_head all_nodes.launch.py
13+
# Note: coffee_head package was split into coffee_head_control and coffee_vision
14+
# Launch individual nodes as needed - see sections below
1415
```
1516

16-
- Camera node handles opening the camera, tracking faces (`src/coffee_head/coffee_head/camera_node.py`).
17-
- Head tracking handles the PID controller, and is in coordination with the camera node to move the motors to center the detected face in frame (`src/coffee_head/coffee_head/head_tracking.py`).
17+
- Camera node handles opening the camera, tracking faces (`src/coffee_vision/coffee_vision/camera_node.py`).
18+
- Head tracking handles the PID controller, and is in coordination with the camera node to move the motors to center the detected face in frame (`src/coffee_head_control/coffee_head_control/head_tracking.py`).
1819
- Subscribes to the camera node.
1920
- Coffee Expression show the latest version of the eye shapes with a new topic message (`src/coffee_expressions/coffee_expressions/plaipin_expressive_eyes.py`)
2021
- Coffee Eyes shows the eye visuals for the Coffee Buddy robot, (`src/coffee_face/coffee_face/coffee_eyes.py`).
@@ -60,7 +61,7 @@ source ./scripts/setup_env.sh
6061
```
6162
# Run for Launching Camera
6263
63-
ros2 run coffee_head camera_node
64+
ros2 run coffee_vision camera_node
6465
```
6566

6667
## Launching Eye Interface
@@ -87,7 +88,7 @@ ros2 launch coffee_expressions_state_manager state_manager.launch.py
8788
```
8889
# Run to launch node that receives data from the proxy node and sends it to the head motors via Dynamixel Read Write
8990
90-
ros2 run coffee_head head_tracking
91+
ros2 run coffee_head_control head_tracking
9192
```
9293

9394
## Launching MicroROS Agent for Ear Movement
@@ -195,10 +196,10 @@ ros2 run coffee_voice_service tts_node
195196

196197
```
197198
# 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+
ros2 service call /coffee/voice/tts/query coffee_speech_msgs/srv/TTSQuery "{text: 'Hey, would you like a cup of coffee?'}"
199200
200201
# Alternative syntax
201-
ros2 service call /coffee/voice/tts/query coffee_buddy_msgs/srv/TTSQuery "{text: 'Your text prompt here'}"
202+
ros2 service call /coffee/voice/tts/query coffee_speech_msgs/srv/TTSQuery "{text: 'Your text prompt here'}"
202203
```
203204

204205
**Monitor TTS Status:**
@@ -234,23 +235,23 @@ We can make a call to the service as follows:
234235
```
235236
# NOTE: This currently attempts to make a function call whenever it receives the "coffee" trigger word
236237
237-
ros2 service call /chat coffee_interfaces/srv/ChatService "{prompt: 'Hello there, what are you doing here?'}"
238+
ros2 service call /coffee/llm/chat coffee_llm_msgs/srv/ChatService "{prompt: 'Hello there, what are you doing here?'}"
238239
```
239240

240241
# Terminal Window set up
241242

242243
## Window 1
243244

244245
```
245-
ros2 run coffee_head camera_node
246+
ros2 run coffee_vision camera_node
246247
247248
ros2 run coffee_expressions plaipin_expressive_eyes
248249
249250
ros2 run dynamixel_sdk_examples read_write_node
250251
251252
ros2 launch coffee_expressions_state_manager state_manager.launch.py
252253
253-
ros2 run coffee_head head_tracking
254+
ros2 run coffee_head_control head_tracking
254255
255256
sudo docker run -it --rm -v /dev:/dev --privileged --net=host microros/micro-ros-agent:jazzy serial --dev /dev/ttyUSB1 -v6
256257
@@ -271,7 +272,7 @@ ros2 launch coffee_speech_processing voice_intent.launch.py use_vad:=true vad_si
271272

272273
# Miscellaneous
273274
```
274-
ros2 run coffee_head eye_tracking
275+
# ros2 run coffee_head eye_tracking # DEPRECATED - functionality moved to coffee_vision or coffee_head_control
275276
ros2 run coffee_face coffee_eyes
276277
ros2 run coffee_expressions_test_ui expressions_test_ui
277278

0 commit comments

Comments
 (0)