ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

simple rosbridge v2 python/c++ client does not work [closed]

asked 2014-11-17 08:20:28 -0500

Imper gravatar image

updated 2014-11-19 06:49:44 -0500

I am trying to connect to the rosbridge v2 with a python or c++ client, but i still can not connect to the websocket. As with javascript there is a confirmation like: Client connected. 1 clients total. Rosbridge and Client is running on the same PC. Javascript works fine, but python does not. I am using rosbridge v2 with ROS-Hydro and Ubuntu 12.04

this is maybe outdated:

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Imper
close date 2014-11-20 04:18:02.309814

1 Answer

Sort by ยป oldest newest most voted

answered 2014-11-17 08:52:12 -0500

rtoris288 gravatar image

You are looking at the rosbridge v1 protocol. All rosbridge v2 code is now on GitHub. The new protocol is specified here:

Also note that if you are using Python/C++ as a client, you can also utilize the TCP client included in rosbridge_suite.

edit flag offensive delete link more


Thank you! I have not seen the TCP-Server. (roslaunch rosbridge_server rosbridge_tcp.launch)

Imper gravatar image Imper  ( 2014-11-20 04:17:30 -0500 )edit

Question Tools


Asked: 2014-11-17 08:20:28 -0500

Seen: 2,134 times

Last updated: Nov 19 '14