Skip to content
This repository has been archived by the owner on Jan 7, 2023. It is now read-only.

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
ahuizxc committed Sep 4, 2019
1 parent 1000cf3 commit 6c65652
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Changelog for ros2_intel_realsense
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2.0.6 (2019-09-03)
------------------
* support multi camera
* support hot plugin and automatic reconnection

2.0.5 (2019-08-30)
------------------
* Support T265 and D435i
Expand Down
32 changes: 28 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,39 @@ Change the corresponding yaml file with the specific serial number, e.g. for [d4

To start the camera node in ROS2, plug in the camera, then type the following command:

#### Single camera: launch with "ros2 run", taking d435 for example:

```bash
source /opt/ros/dashing/setup.bash
source ~/ros2_ws/install/local_setup.bash
# To launch with "ros2 run", taking d435 for example:

cd ~/ros2_ws
ros2 run realsense_node one_cam __params:=src/ros2_intel_realsense/realsense_ros/config/d435.yaml
# Or launch multiple cameras at one time, taking d435 and t265 for example:
ros2 run realsense_node multi_cams __params:=src/ros2_intel_realsense/realsense_ros/config/multi_cams.yaml
ros2 run realsense_node realsense_camera_node __params:=src/ros2_intel_realsense/realsense_ros/config/d435.yaml __ns:=/d435
```

#### Multi camera: launch with "ros2 run", taking d435 and t265 for example:

* Terminal 1:

```bash
source /opt/ros/dashing/setup.bash
source ~/ros2_ws/install/local_setup.bash

cd ~/ros2_ws
ros2 run realsense_node realsense_camera_node __params:=src/ros2_intel_realsense/realsense_ros/config/d435.yaml __ns:=/d435
```

* Terminal 2:

```bash
source /opt/ros/dashing/setup.bash
source ~/ros2_ws/install/local_setup.bash

cd ~/ros2_ws
ros2 run realsense_node realsense_camera_node __params:=src/ros2_intel_realsense/realsense_ros/config/t265.yaml __ns:=/t265
```

### Configure Parameters at Runtime
Currently only support reconfigure parameters by `ros2 param` at runtime, e.g.

Expand Down

0 comments on commit 6c65652

Please sign in to comment.