Skip to content

Commit 498f584

Browse files
committed
address comments
1 parent 2f48e7e commit 498f584

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

demo/electron/manipulator/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ npm start
6464
1. **Source your ROS2 environment**:
6565

6666
```bash
67-
source /opt/ros/humble/setup.bash # or your ROS2 installation path
67+
source /opt/ros/$ROS_DISTRO/setup.bash # or your ROS2 installation path
6868
```
6969

7070
2. **Run the demo**:
@@ -140,7 +140,7 @@ To verify the demo is working correctly, you can monitor the published topics:
140140

141141
```bash
142142
# In a separate terminal, source ROS2 environment
143-
source /opt/ros/humble/setup.bash # or your ROS2 installation
143+
source /opt/ros/$ROS_DISTRO/setup.bash # or your ROS2 installation
144144

145145
# List all available topics
146146
ros2 topic list
@@ -199,7 +199,7 @@ Even as a standalone application, **ROS 2 must be installed and sourced on the t
199199

200200
```bash
201201
# Source ROS2 environment
202-
source /opt/ros/humble/setup.bash
202+
source /opt/ros/$ROS_DISTRO/setup.bash
203203

204204
# Run the packaged executable
205205
./out/rclnodejs-manipulator-demo-linux-x64/rclnodejs-manipulator-demo
@@ -301,7 +301,7 @@ manipulator/
301301

302302
```bash
303303
# Source ROS2 environment manually
304-
source /opt/ros/humble/setup.bash # or your ROS2 installation path
304+
source /opt/ros/$ROS_DISTRO/setup.bash # or your ROS2 installation path
305305
npm start
306306
```
307307

0 commit comments

Comments
 (0)