◆ __init__()
| def digital_twin.room_interpreter.RoomInterpreterNode.__init__ |
( |
|
self | ) |
|
◆ _command_callback()
| def digital_twin.room_interpreter.RoomInterpreterNode._command_callback |
( |
|
self, |
|
|
String |
msg |
|
) |
| |
|
private |
Process an incoming text command.
◆ _find_room()
| def digital_twin.room_interpreter.RoomInterpreterNode._find_room |
( |
|
self, |
|
|
|
query |
|
) |
| |
|
private |
Find a room matching the query in the alias index.
Uses exact match first, then substring match, then fuzzy.
Returns room data dict or None.
◆ _load_registry()
| def digital_twin.room_interpreter.RoomInterpreterNode._load_registry |
( |
|
self, |
|
|
|
path |
|
) |
| |
|
private |
Load room registry from YAML file.
◆ _parse_command()
| def digital_twin.room_interpreter.RoomInterpreterNode._parse_command |
( |
|
self, |
|
|
|
text |
|
) |
| |
|
private |
Extract room name from a text command.
Handles patterns like:
"Go to room 204"
"Navigate to salle urgences"
"salle_101"
"room 204"
"urgences"
◆ _publish_feedback()
| def digital_twin.room_interpreter.RoomInterpreterNode._publish_feedback |
( |
|
self, |
|
|
|
text |
|
) |
| |
|
private |
Publish feedback message for Foxglove display.
◆ alias_index
| digital_twin.room_interpreter.RoomInterpreterNode.alias_index |
◆ feedback_pub
| digital_twin.room_interpreter.RoomInterpreterNode.feedback_pub |
◆ goal_pub
| digital_twin.room_interpreter.RoomInterpreterNode.goal_pub |
◆ rooms
| digital_twin.room_interpreter.RoomInterpreterNode.rooms |
The documentation for this class was generated from the following file: