Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

"topic name cannot be unicode" error

Hi, I was trying to use rosbridge version 2.0 under ROS diamondback distro. I have succesfully checked it out from git repository and compiled, as stated in rosbridge.org web page. The server also runs succesfully, as I get this message:

[INFO] [WallTime: 1355124066.345832] Rosbridge server started on port 9090

The problem comes when I try to send a subscription request as a JSON formatted string, following the example at http://rosbridge.org/doku.php?id=wiki:getting_started. I get this error:

[ERROR] [WallTime: 1355124428.555009] [Client 0] subscribe: topic name cannot be unicode

Looking around I found that this error comes from topic implementation of rospy. However, I do not know how to overcome this error. Is there any way to explicitly force the topic name to be ascii instead of unicode in a straightforward way? Any help is appreciated.