alexa-node-ROS icon indicating copy to clipboard operation
alexa-node-ROS copied to clipboard

Unicode ERROR

Open cesarenicholas opened this issue 6 years ago • 3 comments

Hi, Me and my friends followed all the steps of your github. When we try to use IntentRequest-PublishHelloIntent or GoodByeHelloIntent rosbridge give us the following error: [ERROR] [1550832635.141955]: [Client 0] [id: publish:/alexa_msgs:2] publish: Expected a JSON object for type std_msgs/String but received a <type 'unicode'> With the LaunchRequest it doesn't appear. Can you help us? Thank you very much

cesarenicholas avatar Feb 22 '19 10:02 cesarenicholas

+1 Same here. We are on ROS Kinetic and Ubuntu 16.04.

pirobot avatar Mar 13 '19 21:03 pirobot

Hey @cesarenicholas and @pirobot. Sorry for the delay in responding. I'm looking into this now

mdeyo avatar Mar 30 '19 20:03 mdeyo

It looks like the JS roslib does not accept 'std_msgs/String' without the 'data':'message' format anymore. Updated master branch (82adcc2efcdd8a9a1b009faeb9e6b1c11f398142) and the error is gone. I don't have access to an Echo to test the end effect right now. Let me know if it still doesn't work.

mdeyo avatar Mar 30 '19 21:03 mdeyo