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
Copy file name to clipboardExpand all lines: clearpath_sensors/config/stereolabs_zed.yaml
+23-12Lines changed: 23 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -10,23 +10,28 @@ stereolabs_zed:
10
10
sim_port: 30000# The connection port of the simulation server. See the documentation of the supported simulation plugins for more information.
11
11
12
12
svo:
13
-
svo_loop: false # Enable loop mode when using an SVO as input source
14
-
svo_realtime: true # if true the SVO will be played trying to respect the original framerate eventually skipping frames, otherwise every frame will be processed respecting the `pub_frame_rate` setting
13
+
use_svo_timestamps: true # Use the SVO timestamps to publish data. If false, data will be published at the system time.
14
+
svo_loop: false # Enable loop mode when using an SVO as input source. NOTE: ignored if SVO timestamping is used
15
+
svo_realtime: false # if true the SVO will be played trying to respect the original framerate eventually skipping frames, otherwise every frame will be processed respecting the `pub_frame_rate` setting
16
+
play_from_frame: 0# Start playing the SVO from a specific frame
15
17
16
18
general:
17
19
camera_model: 'zed2'
18
20
camera_name: 'zed2'# usually overwritten by launch file
19
21
camera_timeout_sec: 5
20
22
camera_max_reconnect: 5
21
23
camera_flip: false
24
+
self_calib: false # Enable the self-calibration process at camera opening. See https://www.stereolabs.com/docs/api/structsl_1_1InitParameters.html#affeaa06cfc1d849e311e484ceb8edcc5
22
25
serial_number: 0# usually overwritten by launch file
23
26
pub_resolution: "NATIVE"# The resolution used for output. 'NATIVE' to use the same `general.grab_resolution` - `CUSTOM` to apply the `general.pub_downscale_factor` downscale factory to reduce bandwidth in transmission
24
27
pub_downscale_factor: 2.0# rescale factor used to rescale image before publishing when 'pub_resolution' is 'CUSTOM'
25
28
grab_resolution: 'AUTO'# The native camera grab resolution. 'HD2K', 'HD1080', 'HD720', 'VGA', 'AUTO'
pub_frame_rate: 30.0# frequency of publishing of visual images and depth images
31
+
enable_image_validity_check: 1# [SDK5 required] Sets the image validity check. If set to 1, the SDK will check if the frames are valid before processing.
28
32
gpu_id: -1
29
33
optional_opencv_calibration_file: ""# Optional path where the ZED SDK can find a file containing the calibration information of the camera computed by OpenCV. Read the ZED SDK documentation for more information: https://www.stereolabs.com/docs/api/structsl_1_1InitParameters.html#a9eab2753374ef3baec1d31960859ba19
34
+
async_image_retrieval: false # Enable/disable the asynchronous image retrieval - Note: enable only to improve SVO recording performance
30
35
31
36
video:
32
37
brightness: 4# [DYNAMIC] Not available for ZED X/ZED X Mini
@@ -46,7 +51,7 @@ stereolabs_zed:
46
51
depth_far_threshold_meters: 2.5# Filtering how far object in the ROI should be considered, this is useful for a vehicle for instance
47
52
image_height_ratio_cutoff: 0.5# By default consider only the lower half of the image, can be useful to filter out the sky
48
53
#manual_polygon: '[]' # A polygon defining the ROI where the ZED SDK perform the processing ignoring the rest. Coordinates must be normalized to '1.0' to be resolution independent.
49
-
#manual_polygon: "[[0.25,0.33],[0.75,0.33],[0.75,0.5],[0.5,0.75],[0.25,0.5]]" # A polygon defining the ROI where the ZED SDK perform the processing ignoring the rest. Coordinates must be normalized to '1.0' to be resolution independent.
54
+
#manual_polygon: '[[0.25,0.33],[0.75,0.33],[0.75,0.5],[0.5,0.75],[0.25,0.5]]' # A polygon defining the ROI where the ZED SDK perform the processing ignoring the rest. Coordinates must be normalized to '1.0' to be resolution independent.
50
55
#manual_polygon: '[[0.25,0.25],[0.75,0.25],[0.75,0.75],[0.25,0.75]]' # A polygon defining the ROI where the ZED SDK perform the processing ignoring the rest. Coordinates must be normalized to '1.0' to be resolution independent.
51
56
#manual_polygon: '[[0.5,0.25],[0.75,0.5],[0.5,0.75],[0.25,0.5]]' # A polygon defining the ROI where the ZED SDK perform the processing ignoring the rest. Coordinates must be normalized to '1.0' to be resolution independent.
52
57
apply_to_depth: true # Apply ROI to depth processing
@@ -56,11 +61,12 @@ stereolabs_zed:
56
61
apply_to_spatial_mapping: true # Apply ROI to spatial mapping processing
57
62
58
63
depth:
59
-
depth_mode: "ULTRA"# Matches the ZED SDK setting: 'NONE', 'PERFORMANCE', 'QUALITY', 'ULTRA', 'NEURAL', 'NEURAL_PLUS' - Note: if 'NONE' all the modules that requires depth extraction are disabled by default (Pos. Tracking, Obj. Detection, Mapping, ...)
60
-
depth_stabilization: 1# Forces positional tracking to start if major than 0 - Range: [0,100]
64
+
depth_mode: 'NEURAL_LIGHT'# Matches the ZED SDK setting: 'NONE', 'PERFORMANCE', 'QUALITY', 'ULTRA', 'NEURAL', 'NEURAL_PLUS' - Note: if 'NONE' all the modules that requires depth extraction are disabled by default (Pos. Tracking, Obj. Detection, Mapping, ...)
65
+
depth_stabilization: 30# Forces positional tracking to start if major than 0 - Range: [0,100]
point_cloud_freq: 10.0# [DYNAMIC] - frequency of the pointcloud publishing (equal or less to `grab_frame_rate` value)
63
-
depth_confidence: 50# [DYNAMIC]
67
+
point_cloud_freq: 30.0# [DYNAMIC] - frequency of the pointcloud publishing (equal or less to `pub_frame_rate` value)
68
+
point_cloud_res: 'COMPACT'# The resolution used for point cloud publishing - 'COMPACT'-Standard resolution. Optimizes processing and bandwidth, 'REDUCED'-Half resolution. Low processing and bandwidth requirements
69
+
depth_confidence: 95# [DYNAMIC]
64
70
depth_texture_conf: 100# [DYNAMIC]
65
71
remove_saturated_areas: true # [DYNAMIC]
66
72
@@ -85,6 +91,7 @@ stereolabs_zed:
85
91
two_d_mode: false # Force navigation on a plane. If true the Z value will be fixed to 'fixed_z_value', roll and pitch to zero
86
92
fixed_z_value: 0.00# Value to be used for Z coordinate if `two_d_mode` is true
87
93
transform_time_offset: 0.0# The value added to the timestamp of `map->odom` and `odom->camera_link` transform being generated
94
+
reset_pose_with_svo_loop: true # Reset the camera pose the `initial_base_pose` when the SVO loop is enabled and the SVO playback reaches the end of the file.
88
95
89
96
gnss_fusion:
90
97
gnss_fusion_enabled: false # fuse 'sensor_msg/NavSatFix' message information into pose data
@@ -117,11 +124,15 @@ stereolabs_zed:
117
124
118
125
object_detection:
119
126
od_enabled: false # True to enable Object Detection
custom_onnx_file: ''# Only used if 'model' is 'CUSTOM_YOLOLIKE_BOX_OBJECTS'. Path to the YOLO-like ONNX file for custom object detection directly performed by the ZED SDK.
129
+
custom_onnx_input_size: 512# Resolution used with the YOLO-like ONNX file. For example, 512 means a input tensor '1x3x512x512'
130
+
custom_label_yaml: ''# Only used if 'model' is 'CUSTOM_YOLOLIKE_BOX_OBJECTS'. Path to the COCO-like YAML file storing the custom class labels.
121
131
allow_reduced_precision_inference: true # Allow inference to run at a lower precision to improve runtime and memory usage
122
132
max_range: 20.0# [m] Defines a upper depth range for detections
123
-
confidence_threshold: 50.0# [DYNAMIC] - Minimum value of the detection confidence of an object [0,99]
133
+
confidence_threshold: 75.0# [DYNAMIC] - Minimum value of the detection confidence of an object [0,99]
124
134
prediction_timeout: 0.5# During this time [sec], the object will have OK state even if it is not detected. Set this parameter to 0 to disable SDK predictions
135
+
enable_tracking: true # Defines if the object detection will track objects across images flow
allow_reduced_precision_inference: false # Allow inference to run at a lower precision to improve runtime and memory usage
139
150
max_range: 20.0# [m] Defines a upper depth range for detections
140
-
body_kp_selection: "FULL"# 'FULL', 'UPPER_BODY'
151
+
body_kp_selection: 'FULL'# 'FULL', 'UPPER_BODY'
141
152
enable_body_fitting: false # Defines if the body fitting will be applied
142
153
enable_tracking: true # Defines if the object detection will track objects across images flow
143
154
prediction_timeout_s: 0.5# During this time [sec], the skeleton will have OK state even if it is not detected. Set this parameter to 0 to disable SDK predictions
0 commit comments