ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Is there any package in ros2 that like package "rosbridge_suite" in ros1 ?

asked 2018-08-16 06:33:56 -0600

lxbeyond gravatar image

recently, we want to upgrade our ros1 project into ros2, but we have a frontend package that using javascript api to call ros pub/sub with the help of "rosbridge_suite", we are stuck in it, could any one give me some help ?

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted

answered 2021-12-02 18:19:25 -0600

amacneil gravatar image

rosbridge_suite is now available for ROS 2:

edit flag offensive delete link more

answered 2018-08-16 06:54:53 -0600

gvdhoorn gravatar image

It's not a pure replacement of rosbridge_suite iiuc, but perhaps RobotWebTools/ros2-web-bridge comes close.

From the readme:

ros2-web-bridge, which leverages the rclnodejs client, provides a JSON interface to ROS 2.0 by adopting the rosbridge v2 protocol. The bridge can process commands through JSON tuneled over WebSockets.

edit flag offensive delete link more


Did it support ros2 bouncy version ?

lxbeyond gravatar image lxbeyond  ( 2018-08-16 22:08:00 -0600 )edit

answered 2018-08-16 23:25:03 -0600

Dirk Thomas gravatar image

The work to port the existing Robot Web Tools packages is ongoing. The patch for rosbridge_suite is available in a not yet merged PR:

edit flag offensive delete link more


Seeing as you ported it yourself, perhaps you can elaborate on the differences between ros2-web-bridge and this port in progress?

gvdhoorn gravatar image gvdhoorn  ( 2018-08-17 01:51:24 -0600 )edit

I want to know how long dose it take to finish the work porting Robot Web Tools packages to ros2 ? and for javascripts interface , is it already done ? because I only found roslibjs in ros2-web-bridge.

lxbeyond gravatar image lxbeyond  ( 2018-08-17 02:10:46 -0600 )edit

The port of rosbridge_suite is just adapting it to the differences in ROS 2. Functionally it is equivalent. The author of ros2-web-bridge can probably better describe how it is different (I don't know the user name of answers though).

Dirk Thomas gravatar image Dirk Thomas  ( 2018-08-17 09:41:26 -0600 )edit

If you share which ROS 1 package you are currently using I can respond if we are working on porting that one.

Dirk Thomas gravatar image Dirk Thomas  ( 2018-08-17 09:43:41 -0600 )edit

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: 2018-08-16 06:33:56 -0600

Seen: 1,098 times

Last updated: Dec 02 '21