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
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