@@ -6,30 +6,32 @@ Orbbec ROS SDK is a wrapper for OrbbecSDK that supports ROS Kinetic, Melodic, an
6
6
It enables smooth integration of Orbbec 3D cameras into ROS projects.
7
7
8
8
## Table of Contents
9
+
9
10
<!-- TOC -->
10
- * [ Orbbec ROS SDK] ( #orbbec-ros-sdk )
11
- * [ Table of Contents] ( #table-of-contents )
12
- * [ Install Dependencies] ( #install-dependencies )
13
- * [ ROS] ( #ros )
14
- * [ Other Dependencies] ( #other-dependencies )
15
- * [ Create ROS Workspace and Build] ( #create-ros-workspace-and-build )
16
- * [ Start the Camera] ( #start-the-camera )
17
- * [ Select Topics and Control the Camera] ( #select-topics-and-control-the-camera )
18
- * [ Available Services for Camera Control] ( #available-services-for-camera-control )
19
- * [ Available Topics] ( #available-topics )
20
- * [ Launch Parameters] ( #launch-parameters )
21
- * [ Depth work mode switch:] ( #depth-work-mode-switch )
22
- * [ Configuration of depth NFOV and WFOV modes] ( #configuration-of-depth-nfov-and-wfov-modes )
23
- * [ Check which profiles the camera supports] ( #check-which-profiles-the-camera-supports )
24
- * [ Building a Debian Package] ( #building-a-debian-package )
25
- * [ Launch files] ( #launch-files )
26
- * [ Use Nodelet] ( #use-nodelet )
27
- * [ Supported hardware products] ( #supported-hardware-products )
28
- * [ Frequently Asked Questions] ( #frequently-asked-questions )
29
- * [ No Picture from Multiple Cameras] ( #no-picture-from-multiple-cameras )
30
- * [ Error: "Failed to start device: usbEnumerator createUsbDevice failed!"] ( #error-failed-to-start-device-usbenumerator-createusbdevice-failed )
31
- * [ License] ( #license )
32
- <!-- TOC -->
11
+
12
+ - [ Orbbec ROS SDK] ( #orbbec-ros-sdk )
13
+ - [ Table of Contents] ( #table-of-contents )
14
+ - [ Install Dependencies] ( #install-dependencies )
15
+ - [ ROS] ( #ros )
16
+ - [ Other Dependencies] ( #other-dependencies )
17
+ - [ Create ROS Workspace and Build] ( #create-ros-workspace-and-build )
18
+ - [ Start the Camera] ( #start-the-camera )
19
+ - [ Select Topics and Control the Camera] ( #select-topics-and-control-the-camera )
20
+ - [ Available Services for Camera Control] ( #available-services-for-camera-control )
21
+ - [ Available Topics] ( #available-topics )
22
+ - [ Launch Parameters] ( #launch-parameters )
23
+ - [ Depth work mode switch:] ( #depth-work-mode-switch )
24
+ - [ Configuration of depth NFOV and WFOV modes] ( #configuration-of-depth-nfov-and-wfov-modes )
25
+ - [ Check which profiles the camera supports] ( #check-which-profiles-the-camera-supports )
26
+ - [ Building a Debian Package] ( #building-a-debian-package )
27
+ - [ Launch files] ( #launch-files )
28
+ - [ Use Nodelet] ( #use-nodelet )
29
+ - [ Supported hardware products] ( #supported-hardware-products )
30
+ - [ Frequently Asked Questions] ( #frequently-asked-questions )
31
+ - [ No Picture from Multiple Cameras] ( #no-picture-from-multiple-cameras )
32
+ - [ Error: "Failed to start device: usbEnumerator createUsbDevice failed!"] ( #error-failed-to-start-device-usbenumerator-createusbdevice-failed )
33
+ - [ License] ( #license )
34
+ <!-- TOC -->
33
35
34
36
## Install Dependencies
35
37
@@ -77,7 +79,7 @@ cd ~/ros_ws
77
79
source ./devel/setup.bash
78
80
roscd orbbec_camera
79
81
cd scripts
80
- sudo cp 99-obsensor-libusb.rules /etc/udev/rules.d/99-obsensor-libusb.rules
82
+ sudo cp 99-obsensor-libusb.rules /etc/udev/rules.d/99-obsensor-libusb.rules
81
83
sudo udevadm control --reload && sudo udevadm trigger
82
84
```
83
85
@@ -86,7 +88,7 @@ sudo udevadm control --reload && sudo udevadm trigger
86
88
In terminal 1:
87
89
88
90
``` bash
89
- source ./devel/setup.bash
91
+ source ./devel/setup.bash
90
92
roslaunch orbbec_camera gemini_330_series.launch
91
93
```
92
94
@@ -107,7 +109,7 @@ rosservice list
107
109
rosparam list
108
110
```
109
111
110
- Get camera parameters (* MUST * start stream first):
112
+ Get camera parameters (_ MUST _ start stream first):
111
113
112
114
``` bash
113
115
rosservice call /camera/get_camera_params " {}"
@@ -124,7 +126,7 @@ rostopic echo /camera/color/camera_info
124
126
Check device information:
125
127
126
128
``` bash
127
- rosservice call /camera/get_device_info " {}"
129
+ rosservice call /camera/get_device_info " {}"
128
130
```
129
131
130
132
Get the SDK version (includes firmware and Orbbec SDK versions):
@@ -136,9 +138,9 @@ rosservice call /camera/get_sdk_version "{}"
136
138
Set/get (auto) exposure:
137
139
138
140
``` bash
139
- rosservice call /camera/set_color_auto_exposure ' {data: false}'
141
+ rosservice call /camera/set_color_auto_exposure ' {data: false}'
140
142
rosservice call /camera/set_left_ir_auto_exposure " {data: false}"
141
-
143
+
142
144
# Setting exposure values (be careful with the data range; the following example may not be correct)
143
145
rosservice call /camera/set_left_ir_exposure " {data: 2000}"
144
146
rosservice call /camera/set_color_exposure " {data: 2000}"
@@ -153,7 +155,7 @@ Set/get gain:
153
155
``` bash
154
156
# Get gain
155
157
rosservice call /camera/get_color_gain ' {}'
156
- rosservice call /camera/get_left_ir_gain ' {}'
158
+ rosservice call /camera/get_left_ir_gain ' {}'
157
159
158
160
# Setting the gain (be careful with the data range; the following example may not be correct)
159
161
rosservice call /camera/set_color_gain " {data: 200}"
@@ -192,7 +194,7 @@ NOTE: The images are saved under `~/.ros/image` and are only available when the
192
194
193
195
The service names intuitively reflect their purposes. It's crucial to understand that services related to setting or
194
196
getting parameters—denoted as ` set_* ` and ` get_* ` —become available only when the respective ` enable_* ` parameters are
195
- activated. For instance, enabling features such as left infrared (IR) with ` enable_left_ir ` , right IR
197
+ activated. For instance, enabling features such as left infrared (IR) with ` enable_left_ir ` , right IR
196
198
with ` enable_right_ir ` , depth sensing with ` enable_depth ` , or color processing with ` enable_color ` (refer
197
199
to [ Launch Parameters] ( #Launch-Parameters ) ) is a prerequisite for their corresponding services to be operational. This
198
200
configuration ensures that services are accessible only when their specific stream is enabled in the
@@ -341,9 +343,9 @@ resolutions is as follows:
341
343
342
344
## Check which profiles the camera supports
343
345
344
- ``` bash
345
- rosrun orbbec_camera list_camera_profile_mode_node
346
- ```
346
+ ``` bash
347
+ rosrun orbbec_camera list_camera_profile_mode_node
348
+ ```
347
349
348
350
## Building a Debian Package
349
351
@@ -362,37 +364,37 @@ bash .make_deb.sh
362
364
363
365
## Launch files
364
366
365
- | product serials | launch file |
366
- | ------------------------------------- | -----------------------|
367
- | astra+ | astra_adv.launch |
368
- | astra mini/astra mini pro/astra pro | astra.launch |
369
- | astra mini s pro | astra.launch |
370
- | astra2 | astra2.launch |
371
- | astra stereo s | stereo_s_u3.launch |
372
- | astra pro2 | astra_pro2.launch |
373
- | dabai | dabai.launch |
374
- | dabai d1 | dabai_d1.launch |
375
- | dabai dcw | dabai_dcw.launch |
376
- | dabai dw | dabai_dw.launch |
377
- | dabai pro | dabai_pro.launch |
378
- | deeya | deeya.launch |
379
- | femto / femto w | femto.launch |
380
- | femto mega | femto_mega.launch |
381
- | femto bolt | femto_bolt.launch |
382
- | gemini | gemini.launch |
383
- | gemini | gemini.launch |
384
- | gemini2 / dabai DCL | gemini2.launch |
385
- | gemini2L | gemini2L.launch |
386
- | gemini e | gemini_e.launch |
387
- | gemini e lite | gemini_e_lite.launch |
388
- | dabai max | dabai_max.launch |
389
- | dabai max pro | dabai_max_pro.launch |
390
- | gemini uw | gemini_uw.launch |
391
- | dabai dcw2 | dabai_dcw2.launch |
392
- | dabai dw2 | dabai_dw2.launch |
393
- | gemini ew | gemini_ew.launch |
394
- | gemini ew lite | gemini_ew_lite.launch |
395
- | gemini 335 /335 L | gemini_camera .launch |
367
+ | product serials | launch file |
368
+ | ----------------------------------- | ------------------------ |
369
+ | astra+ | astra_adv.launch |
370
+ | astra mini/astra mini pro/astra pro | astra.launch |
371
+ | astra mini s pro | astra.launch |
372
+ | astra2 | astra2.launch |
373
+ | astra stereo s | stereo_s_u3.launch |
374
+ | astra pro2 | astra_pro2.launch |
375
+ | dabai | dabai.launch |
376
+ | dabai d1 | dabai_d1.launch |
377
+ | dabai dcw | dabai_dcw.launch |
378
+ | dabai dw | dabai_dw.launch |
379
+ | dabai pro | dabai_pro.launch |
380
+ | deeya | deeya.launch |
381
+ | femto / femto w | femto.launch |
382
+ | femto mega | femto_mega.launch |
383
+ | femto bolt | femto_bolt.launch |
384
+ | gemini | gemini.launch |
385
+ | gemini | gemini.launch |
386
+ | gemini2 / dabai DCL | gemini2.launch |
387
+ | gemini2L | gemini2L.launch |
388
+ | gemini e | gemini_e.launch |
389
+ | gemini e lite | gemini_e_lite.launch |
390
+ | dabai max | dabai_max.launch |
391
+ | dabai max pro | dabai_max_pro.launch |
392
+ | gemini uw | gemini_uw.launch |
393
+ | dabai dcw2 | dabai_dcw2.launch |
394
+ | dabai dw2 | dabai_dw2.launch |
395
+ | gemini ew | gemini_ew.launch |
396
+ | gemini ew lite | gemini_ew_lite.launch |
397
+ | gemini 335 /335 L | gemini_330_series .launch |
396
398
397
399
** All launch files are essentially similar, with the primary difference being the default values of the parameters set for different models
398
400
within the same series. Differences in USB standards, such as USB 2.0 versus USB 3.0, may require adjustments to these parameters. If you
@@ -406,12 +408,12 @@ For users who need to use nodelet, please refer to `gemini2_nodelet.launch`
406
408
## Supported hardware products
407
409
408
410
| ** Products List** | ** Firmware Version** |
409
- | ------------------- | ----------------------------- |
411
+ | ----------------- | --------------------------- |
410
412
| Gemini 335 | 1.2.20 |
411
413
| Gemini 335L | 1.2.20 |
412
414
| Femto Bolt | 1.0.6/1.0.9 |
413
415
| Femto Mega | 1.1.7/1.2.7 |
414
- | Gemini 2 XL | Obox: V1.2.5 VL:1.4.54 |
416
+ | Gemini 2 XL | Obox: V1.2.5 VL:1.4.54 |
415
417
| Astra 2 | 2.8.20 |
416
418
| Gemini 2 L | 1.4.32 |
417
419
| Gemini 2 | 1.4.60 /1.4.76 |
0 commit comments