Skip to content

Have a query regarding sound/robot.say #1

@pranavrnair22

Description

@pranavrnair22

from pyniryo import *
robot = NiryoRobot(robot_ip_address)

Calibrate and update tool if needed

robot.calibrate_auto()
robot.update_tool()

Make the robot speak

robot.say("Hello", 0)
robot.close_connection()

error:

in __receive_answer
raise NiryoRobotException("Command KO : {}".format(received_dict["message"]))
pyniryo.api.exceptions.NiryoRobotException: Command KO : An error occured while executing the last command : service [/niryo_robot_sound/text_to_speech] responded with an error: b'error processing request: Failed to connect. Probable cause: Unknown'

Trying this command "- robot.say but it gives the above error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions