Ask Your Question

"topic name cannot be unicode" error

asked 2012-12-09 20:33:01 -0500

marija gravatar image

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

edit retag flag offensive close merge delete


Thanks for working through this issue. A clarification is in order: it is highly recommended to use rosbridge v2 for the current distribution of ROS. rosbridge v1 is the best option for diamondback and electric, v2 for fuerte, groovy, ...

odestcj gravatar image odestcj  ( 2013-02-01 07:56:17 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2012-12-13 21:01:53 -0500

marija gravatar image

FYI - Although as stated in it is highly recommended that you use version 2.0 of the rosbridge protocol, I tried rosbridge v1.0 under diamondback and it worked. So at this moment, it is the only way for me to use diamondback + rosbridge.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2012-12-09 20:33:01 -0500

Seen: 200 times

Last updated: Dec 09 '12