You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 26, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+47-55Lines changed: 47 additions & 55 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,9 @@
4
4
5
5
## Server Implementations of the rosbridge v2 Protocol
6
6
7
-
ros2-web-bridge, which leverages the [rclnodejs](https://github.com/RobotWebTools/rclnodejs) client, provides a JSON interface to [ROS 2.0](https://github.com/ros2/ros2/wiki) by adopting the [rosbridge v2 protocol](https://github.com/RobotWebTools/rosbridge_suite/blob/develop/ROSBRIDGE_PROTOCOL.md). The bridge can process commands through JSON tuneled over WebSockets.
7
+
ros2-web-bridge, which leverages the [rclnodejs](https://github.com/RobotWebTools/rclnodejs) client, provides a JSON interface to [ROS 2](https://index.ros.org/doc/ros2/) by adopting the [rosbridge v2 protocol](https://github.com/RobotWebTools/rosbridge_suite/blob/develop/ROSBRIDGE_PROTOCOL.md). The bridge can process commands through JSON tuneled over WebSockets.
8
8
9
-
## ROS2 support
9
+
## ROS 2 support
10
10
11
11
The ros2-web-bridge **SUPPORTS** the latest ROS 2 stable release by default (currently [Dashing Patch 2](https://github.com/ros2/ros2/releases/tag/release-dashing-20190806)), please visit the [relase channel](https://github.com/ros2/ros2/releases) to check out the information.
12
12
@@ -20,47 +20,40 @@ A client is a program that communicates with ros2-web-bridge using its JSON API.
20
20
21
21
## Install
22
22
23
-
1.Prepare for ROS2
24
-
25
-
Please reference the [wiki](https://index.ros.org/doc/ros2/Installation/) to install ROS2.
26
-
27
-
2.Install `Node.js`
28
-
You can install Node.js:
29
-
30
-
* Download from Node.js offical [website](https://nodejs.org/en/), and install it.
31
-
* Use the Node Version Manager ([nvm](https://github.com/creationix/nvm)) to install it.
32
-
33
-
3.Install dependencies
34
-
35
-
```javascript
36
-
npm install
37
-
```
23
+
1. Prepare for ROS 2
24
+
Please reference the [documentation](https://index.ros.org/doc/ros2/Installation/) to install ROS 2.
25
+
2. Install `Node.js`
26
+
You can install Node.js:
27
+
* Download from Node.js offical [website](https://nodejs.org/en/), and install it.
28
+
* Use the Node Version Manager ([nvm](https://github.com/creationix/nvm)) to install it.
29
+
3. Clone and install dependencies
30
+
Note that a ROS 2 installation has to be sourced before installing dependencies.
3. Start the [express](https://www.npmjs.com/package/express) server:
53
+
```bash
54
+
$ cd examples && node index.js
55
+
```
56
+
4. Open your browser, and navigate to URL: http://localhost:3000/html/publisher.html
64
57
65
58
## Not supported `op`
66
59
@@ -85,21 +78,20 @@ subscribe | The type of the topic is [optional](https://github.com/RobotWebTools
85
78
86
79
If you use [roslibjs](https://static.robotwebtools.org/roslibjs/current/roslib.js) as the client running in the browser, please reference the code snippet below:
0 commit comments