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: src/pyzed/sl.pyx
+22-9Lines changed: 22 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -8906,15 +8906,13 @@ cdef class InitParameters:
8906
8906
# Minimum depth distance to be returned, measured in the sl.UNIT defined in \ref coordinate_units.
8907
8907
#
8908
8908
# This parameter allows you to specify the minimum depth value (from the camera) that will be computed.
8909
+
# \n Setting this value to any negative or null value will select the default minimum depth distance available for the used ZED Camera (depending on the camera focal length and baseline).
8910
+
# \n Default: -1
8909
8911
#
8910
-
# \n In stereovision (the depth technology used by the camera), looking for closer depth values can have a slight impact on performance and memory consumption.
8911
-
# \n On most of modern GPUs, performance impact will be low. However, the impact of memory footprint will be visible.
8912
-
# \n In cases of limited computation power, increasing this value can provide better performance.
8913
-
# \n Default: -1 (corresponding values are available <a href="https://www.stereolabs.com/docs/depth-sensing/depth-settings#depth-range">here</a>)
8912
+
# \n When using deprecated depth modes ( \ref sl.DEPTH_MODE.PERFORMANCE, \ref sl.DEPTH_MODE.QUALITY or \ref sl.DEPTH_MODE.ULTRA),
8913
+
# the default minimum depth distances are given by <a href="https://www.stereolabs.com/docs/depth-sensing/depth-settings#depth-range">this table</a>.
8914
8914
#
8915
-
# \note \ref depth_minimum_distance value cannot be greater than 3 meters.
8916
-
# \note 0 will imply that \ref depth_minimum_distance is set to the minimum depth possible for each camera
8917
-
# (those values are available <a href="https://www.stereolabs.com/docs/depth-sensing/depth-settings#depth-range">here</a>).
8915
+
# \note This value cannot be greater than 3 meters.
8918
8916
@property
8919
8917
def depth_minimum_distance(self) -> float:
8920
8918
return self.init.depth_minimum_distance
@@ -8927,8 +8925,11 @@ cdef class InitParameters:
8927
8925
# Maximum depth distance to be returned, measured in the sl.UNIT defined in \ref coordinate_units.
8928
8926
#
8929
8927
# When estimating the depth, the ZED SDK uses this upper limit to turn higher values into <b>inf</b> ones.
8930
-
# \note Changing this value has no impact on performance and doesn't affect the positional tracking nor the spatial mapping.
8931
-
# \note It only change values the depth, point cloud and normals.
8928
+
# \n Changing this value has no impact on performance and doesn't affect the positional tracking nor the spatial mapping.
8929
+
# \n It only change values the depth, point cloud and normals.
8930
+
# \n Setting this value to any negative or null value will select the default maximum depth distance available.
8931
+
#
8932
+
# \n Default: -1
8932
8933
@property
8933
8934
def depth_maximum_distance(self) -> float:
8934
8935
return self.init.depth_maximum_distance
@@ -13292,6 +13293,18 @@ cdef class FusionConfiguration:
13292
13293
# Reset the reference `_input_type_ref` so it gets recreated next time
13293
13294
self._input_type_initialized = False
13294
13295
13296
+
##
13297
+
# Indicates the behavior of the fusion with respect to given calibration pose.
13298
+
# - If true : The calibration pose directly specifies the camera's absolute pose relative to a global reference frame.
13299
+
# - If false : The calibration pose (Pose_rel) is defined relative to the camera's IMU rotational pose. To determine the true absolute position, the Fusion process will compute Pose_abs = Pose_rel * Rot_IMU_camera.
13300
+
@property
13301
+
def override_gravity(self) -> bool:
13302
+
return self.fusionConfiguration.override_gravity
13303
+
13304
+
@override_gravity.setter
13305
+
def override_gravity(self, bool value):
13306
+
self.fusionConfiguration.override_gravity = value
13307
+
13295
13308
##
13296
13309
# Read a configuration JSON file to configure a fusion process.
0 commit comments