CloudTwin  ROS2 Humble
Digital twin for path and trajectory optimisation
Classes | Functions
digital_twin.speech_node Namespace Reference

Classes

class  SpeechNode
 

Functions

def main (args=None)
 

Detailed Description

speech_node.py — Voice-to-ROS2 bridge for room commands.

Subscribes:
    /speech_trigger  (std_msgs/String)  — language code ("fr" or "en") to start

Publishes:
    /room_command    (std_msgs/String)  — transcribed text → room_interpreter
    /speech_status   (std_msgs/String)  — UI state for the Foxglove panel
        Values: "ready", "recording", "transcribing", "heard:<text>",
                "no_speech", "error:<msg>"

Requires:
    pip install faster-whisper sounddevice numpy --break-system-packages

Function Documentation

◆ main()

def digital_twin.speech_node.main (   args = None)