robot_skills.simulation.sim_picovoice

Classes

SimPicoVoice

Base class for robot parts

Module Contents

class robot_skills.simulation.sim_picovoice.SimPicoVoice(robot_name, tf_buffer)

Bases: robot_skills.robot_part.RobotPart

Base class for robot parts

Interface to picovoice. Provides the same interface as the real picovoice interface, but always returns an empty HMIResult

Parameters:
  • robot_name – (str) string indicates the robot name

  • tf_buffer – (tf2_ros.Buffer) (default argument for robot parts)

static get_intent(context_url, intents=None, require_endpoint=True, timeout=10.0)

Always returns an emtpy HMIResult

Parameters:
  • context_url (str) –

  • intents (Optional[List[str]]) –

  • require_endpoint (bool) –

  • timeout (float) –

Return type:

hmi.common.HMIResult