Ask Your Question
0

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

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

Imper gravatar image

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

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: https://code.google.com/p/brown-ros-p...

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
1

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

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:

https://github.com/RobotWebTools/rosb...

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

Comments

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

Imper gravatar imageImper ( 2014-11-20 04:17:30 -0600 )edit

Question Tools

Stats

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

Seen: 1,570 times

Last updated: Nov 19 '14