hansonrobotics / HEAD

Full software stack for the Hanson Robotics robots
42 stars 39 forks source link

How do I actually speak with the HEAD robot? #831

Open deviousname opened 6 years ago

deviousname commented 6 years ago

I open the browser to 127.0.0.1:8000 and I can see the Hanson robotics menus, I can see the HEAD in blender, but when I type something in the chat, I get nothing in response. Am I missing something?

KineticIsEpic commented 6 years ago

Personally I get this error during start-up:

Traceback (most recent call last):
  File "/home/developer/hansonrobotics/HEAD/src/ros_tts/scripts/tts_talker.py", line 454, in <module>
    talker = TTSTalker()
  File "/home/developer/hansonrobotics/HEAD/src/ros_tts/scripts/tts_talker.py", line 53, in __init__
    self.mongodb = MongoDB()
TypeError: __init__() takes exactly 2 arguments (1 given)
[robot/chatbot-7] process has died [pid 30995, exit code 1, cmd /home/developer/hansonrobotics/HEAD/src/chatbot/scripts/ai.py /home/developer/hansonrobotics/HEAD/src/chatbot/aiml/ -sent __name:=chatbot __log:=/home/developer/.ros/log/943cdcb2-fbec-11e7-9ab6-100ba935d678/robot-chatbot-7.log].
log file: /home/developer/.ros/log/943cdcb2-fbec-11e7-9ab6-100ba935d678/robot-chatbot-7*.log

Which prevents the chatbot script from running. Granted, I installed slightly differently ("new" hrtool in a Docker container), which brought up its own slew of issues. Check your terminal when you launch the package and see if you get an error similar to mine, if so there's probably a code issue.

wenwei-dev commented 6 years ago

@KineticIsEpic This bug should have been fixed. Please update chatbot repo to the latest master branch and try again.