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

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

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

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
1

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

amacneil gravatar image

rosbridge_suite is now available for ROS 2:

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

edit flag offensive delete link more
1

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

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

Comments

Did it support ros2 bouncy version ?

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

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

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: https://github.com/RobotWebTools/rosb...

edit flag offensive delete link more

Comments

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 -0500 )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 -0500 )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 -0500 )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 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2018-08-16 06:33:56 -0500

Seen: 1,305 times

Last updated: Dec 02 '21