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
* Install from npmjs: run `npm i rclnodejs@<version>` to install a specific version.
19
+
20
+
* Install from GitHub: add `"rclnodejs":"RobotWebTools/rclnodejs#<branch>"` to your `package.json`.
21
+
22
+
## Build from Scratch
11
23
12
24
### Get ready for ROS 2
13
25
@@ -29,7 +41,7 @@ The `Node.js` version we selected is the latest LTS [`Carbon`](https://nodejs.or
29
41
* Download from Node.js offical [website](https://nodejs.org/en/), and install it.
30
42
* Use the Node Version Manager ([nvm](https://github.com/creationix/nvm)) to install it.
31
43
32
-
## Get Code
44
+
###Get Code
33
45
34
46
Open a terminal, and input:
35
47
@@ -43,7 +55,7 @@ then enter the folder `rclnodejs`, and get the submodule:
43
55
git submodule update --init --recursive
44
56
```
45
57
46
-
## Build Module
58
+
###Build Module
47
59
48
60
Before you build the module, you should make sure the ROS2 environments were loaded. You can check if the `COLCON_PREFIX_PATH` environment variable was set:
49
61
@@ -77,19 +89,6 @@ npm install
77
89
set PATH=<path\to\python 2.x>;%PATH%
78
90
```
79
91
80
-
## Match with ROS 2.0 Stable Releases
81
-
82
-
If you want to select a stable release of ROS 2.0 as your platform, please check the table below.
* Install from npmjs: run `npm i rclnodejs@<version>` to install a specific version.
90
-
91
-
* Install from GitHub: add `"rclnodejs":"RobotWebTools/rclnodejs#<branch>"` to your `package.json`.
92
-
93
92
## Run Unit Test
94
93
95
94
[mocha](https://www.npmjs.com/package/mocha) is a javascript test framework for node.js, simply run the following command to run the unit test under `test` folder:
0 commit comments