feat(gemini2): add OrbbecSDK_ROS2/

This commit is contained in:
X-lanni
2025-07-04 15:30:11 +08:00
parent 5cf886315d
commit 1e82e0115a
185 changed files with 864328 additions and 0 deletions
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,50 @@
# common params
depth_registration: false
enable_point_cloud: false
enable_colored_point_cloud: false
device_preset: "High Accuracy"
laser_on_off_mode: 1 # 0: off, 1: on-off, 1: off-on
time_domain: "global" # global, device, system
enable_sync_host_time: false
frames_per_trigger: 2
# When 3D reconstruction mode is enabled:
# - The laser will switch to on-off mode
# - IR images without the laser will be used for SLAM localization
# - Depth images with the laser will be used because they provide better depth quality
enable_3d_reconstruction_mode: true
# color params
enable_color: true
color_width: 640
color_height: 480
color_fps: 90
color_format: "YUYV"
enable_color_auto_exposure: false
color_exposure: 50 # 5ms
color_gain: -1 # -1 default
# depth params
depth_width: 640
depth_height: 480
depth_fps: 90
depth_format: "Y16"
# ir exposure
enable_ir_auto_exposure: false
ir_exposure: 5000 # 5ms
ir_gain: 40
#left ir params
enable_left_ir: true
left_ir_width: 640
left_ir_height: 480
left_ir_fps: 90
left_ir_format: "Y8"
#right ir params
enable_right_ir: true
right_ir_width: 640
right_ir_height: 480
right_ir_fps: 90
right_ir_format: "Y8"
@@ -0,0 +1,251 @@
{
"device": "Orbbec Gemini 2",
"structVersion": "0.0.c",
"dataVersion": "1.8.0",
"description": "Gemini2 depth filter params",
"configDate": "20240305",
"vid": "0x2bc5",
"pid": "0x0670",
"depthFilters": [
{
"depthWorkMode": "Unbinned Dense Default",
"width": 1280,
"height":800,
"bxf": 30500,
"invalid_value":0,
"NoiseRemovalFilter": {
"enable": true,
"size": 200,
"disp_diff": 100,
"type": "NR_OVERALL",
"lut": [
200, 100, 100, 200,
200, 100, 100, 200,
200, 100, 100, 200,
200, 100, 100, 200
]
},
"EdgeNoiseRemovalFilter": {
"enable": true,
"type": "MG_FILTER",
"x1_th": 6,
"x2_th": 6,
"y1_th": 6,
"y2_th": 6,
"limit_x": 70,
"limit_y": 70,
"R": 750,
"width1": 40,
"width2": 40
},
"SpatialFastFilter": {
"enable": false,
"size": 3
},
"SpatialModerateFilter": {
"enable": false,
"size": 3,
"iters": 1,
"disp_diff": 100
},
"SpatialAdvancedFilter": {
"enable": false,
"type": "SFA_ALL",
"iters": 1,
"alpha": 0.4,
"disp_diff": 100,
"radius": 5
},
"HoleFillingFilter": {
"enable": false,
"type": "FILL_TOP"
},
"TemporalFilter": {
"enable": false,
"type": "TF_FILL_DISABLED",
"scale": 0.05,
"weight": 0.4
}
},
{
"depthWorkMode": "Binned Sparse Default",
"width": 640,
"height":400,
"bxf": 15250,
"invalid_value":0,
"NoiseRemovalFilter": {
"enable": true,
"size": 50,
"disp_diff": 120,
"type": "NR_OVERALL",
"lut": [
50, 25, 25, 50,
50, 25, 25, 50,
50, 25, 25, 50,
50, 25, 25, 50
]
},
"EdgeNoiseRemovalFilter": {
"enable": true,
"type": "MG_FILTER",
"x1_th": 3,
"x2_th": 3,
"y1_th": 3,
"y2_th": 3,
"limit_x": 35,
"limit_y": 35,
"R": 375,
"width1": 20,
"width2": 20
},
"SpatialFastFilter": {
"enable": false,
"size": 3
},
"SpatialModerateFilter": {
"enable": false,
"size": 3,
"iters": 1,
"disp_diff": 120
},
"SpatialAdvancedFilter": {
"enable": false,
"type": "SFA_ALL",
"iters": 1,
"alpha": 0.4,
"disp_diff": 120,
"radius": 5
},
"HoleFillingFilter": {
"enable": false,
"type": "FILL_TOP"
},
"TemporalFilter": {
"enable": false,
"type": false,
"scale": 0.05,
"weight": 0.4
}
},
{
"depthWorkMode": "Unbinned Sparse Default",
"width": 1280,
"height": 800,
"bxf": 30500,
"invalid_value":0,
"NoiseRemovalFilter": {
"enable": true,
"size": 200,
"disp_diff": 100,
"type": "NR_OVERALL",
"lut": [
200, 100, 100, 200,
200, 100, 100, 200,
200, 100, 100, 200,
200, 100, 100, 200
]
},
"EdgeNoiseRemovalFilter": {
"enable": true,
"type": "MG_FILTER",
"x1_th": 6,
"x2_th": 6,
"y1_th": 6,
"y2_th": 6,
"limit_x": 70,
"limit_y": 70,
"R": 750,
"width1": 40,
"width2": 40
},
"SpatialFastFilter": {
"enable": false,
"size": 3
},
"SpatialModerateFilter": {
"enable": false,
"size": 3,
"iters": 1,
"disp_diff": 100
},
"SpatialAdvancedFilter": {
"enable": false,
"type": "SFA_ALL",
"iters": 1,
"alpha": 0.4,
"disp_diff": 100,
"radius": 5
},
"HoleFillingFilter": {
"enable": false,
"type": "FILL_TOP"
},
"TemporalFilter": {
"enable": false,
"fill": false,
"scale": 0.05,
"weight": 0.4
}
},
{
"depthWorkMode": "Obstacle Avoidance",
"width": 640,
"height":400,
"bxf": 30500,
"invalid_value":0,
"NoiseRemovalFilter": {
"enable": true,
"size": 50,
"disp_diff": 100,
"type": "NR_OVERALL",
"lut": [
50, 25, 25, 50,
50, 25, 25, 50,
50, 25, 25, 50,
50, 25, 25, 50
]
},
"EdgeNoiseRemovalFilter": {
"enable": true,
"type": "MG_FILTER",
"x1_th": 3,
"x2_th": 3,
"y1_th": 3,
"y2_th": 3,
"limit_x": 20,
"limit_y": 20,
"R": 375,
"width1": 20,
"width2": 20
},
"SpatialFastFilter": {
"enable": false,
"size": 5
},
"SpatialModerateFilter": {
"enable": false,
"size": 5,
"iters": 1,
"disp_diff": 100
},
"SpatialAdvancedFilter": {
"enable": true,
"type": "SFA_ALL",
"iters": 1,
"alpha": 0.6,
"disp_diff": 100,
"radius": 5
},
"HoleFillingFilter": {
"enable": false,
"type": "FILL_TOP"
},
"TemporalFilter": {
"enable": false,
"type": false,
"scale": 0.05,
"weight": 0.4
}
}
]
}
@@ -0,0 +1,66 @@
{
"device": "Orbbec Openni deivce",
"structVersion": "0x0000000a",
"dataVersion": "1.5.0",
"description": "Orbbec openni depth filter params",
"configDate": "20231204",
"vid": "0x2bc5",
"pid": "0x0670",
"depthFilters": [
{
"depthWorkMode": "",
"width": 640,
"height":400,
"bxf": 30500,
"invalid_value":0,
"NoiseRemovalFilter": {
"enable": true,
"size": 50,
"disp_diff": 6,
"type": "NR_LUT",
"lut": [
100, 25, 25, 100,
100, 25, 25, 100,
100, 25, 25, 100,
100, 25, 25, 100
]
},
"EdgeNoiseRemovalFilter": {
"enable": false,
"type": "MGC_FILTER",
"margin_left_th": 3,
"margin_right_th": 3,
"margin_top_th": 0,
"margin_bottom_th": 0
},
"SpatialFastFilter": {
"enable": false,
"size": 3
},
"SpatialModerateFilter": {
"enable": false,
"size": 3,
"iters": 1,
"disp_diff": 100
},
"SpatialAdvancedFilter": {
"enable": false,
"type": "SFA_ALL",
"iters": 1,
"alpha": 0.4,
"disp_diff": 100,
"radius": 5
},
"HoleFillingFilter": {
"enable": false,
"type": "FILL_TOP"
},
"TemporalFilter": {
"enable": false,
"type": "TF_FILL_DISABLED",
"scale": 0.1,
"weight": 0.4
}
}
]
}