Structure containing a set of parameters for positional tracking in Sensors API. More...
Functions | |
| def | __init__ (self, enable_area_memory=True, enable_pose_smoothing=False, set_floor_as_origin=False, enable_imu_fusion=True, set_as_static=False, depth_min_range=-1.0, set_gravity_as_origin=True, mode=POSITIONAL_TRACKING_MODE.GEN_1) |
| Default constructor. | |
| bool | enable_area_memory (self) |
| Whether the camera can remember its surroundings. More... | |
| bool | enable_pose_smoothing (self) |
| Whether to enable smooth pose correction for small drift correction. More... | |
| bool | set_floor_as_origin (self) |
| Initializes the tracking to be aligned with the floor plane to better position the camera in space. More... | |
| str | area_file_path (self) |
| Path of an area localization file that describes the surroundings (saved from a previous tracking session). More... | |
| bool | enable_imu_fusion (self) |
| Whether to enable the IMU fusion. More... | |
| bool | set_as_static (self) |
| Whether to define the camera as static. More... | |
| float | depth_min_range (self) |
| Minimum depth used by the ZED SDK for positional tracking. More... | |
| bool | set_gravity_as_origin (self) |
| Whether to override 2 of the 3 rotations from initial_world_transforms using the IMU gravity. More... | |
| POSITIONAL_TRACKING_MODE | mode (self) |
| Positional tracking mode used. More... | |
Structure containing a set of parameters for positional tracking in Sensors API.
| bool enable_area_memory | ( | self | ) |
Whether the camera can remember its surroundings.
This helps correct positional tracking drift and can be helpful for positioning different cameras relative to one other in space. Default: True
| bool enable_pose_smoothing | ( | self | ) |
Whether to enable smooth pose correction for small drift correction.
Default: False
| bool set_floor_as_origin | ( | self | ) |
Initializes the tracking to be aligned with the floor plane to better position the camera in space.
Default: False
| str area_file_path | ( | self | ) |
Path of an area localization file that describes the surroundings (saved from a previous tracking session).
Default: empty
| bool enable_imu_fusion | ( | self | ) |
Whether to enable the IMU fusion.
When set to False, only the optical odometry will be used. Default: True
| bool set_as_static | ( | self | ) |
Whether to define the camera as static.
If True, it will not move in the environment. This allows you to set its position using initial_world_transforms. Default: False
| float depth_min_range | ( | self | ) |
Minimum depth used by the ZED SDK for positional tracking.
It may be useful for example if any steady objects are in front of the camera and may perturb the positional tracking algorithm. Default: -1 (no minimum depth)
| bool set_gravity_as_origin | ( | self | ) |
Whether to override 2 of the 3 rotations from initial_world_transforms using the IMU gravity.
Default: True
| POSITIONAL_TRACKING_MODE mode | ( | self | ) |
Positional tracking mode used.
Can be used to improve accuracy in some types of scene at the cost of longer runtime. Default: POSITIONAL_TRACKING_MODE.GEN_1