Skip to content

Commit

Permalink
Zed coordinate system Z up X forward
Browse files Browse the repository at this point in the history
Used for Zed's spatial mapping API
  • Loading branch information
m-decoster committed Aug 27, 2024
1 parent 538e64a commit 853b0af
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ def __init__( # type: ignore[no-any-unimported]
# https://www.stereolabs.com/docs/depth-sensing/depth-settings/
self.camera_params.depth_mode = depth_mode
self.camera_params.coordinate_units = sl.UNIT.METER
self.camera_params.coordinate_system = sl.COORDINATE_SYSTEM.RIGHT_HANDED_Z_UP_X_FWD
# objects closerby will have artifacts so they are filtered out (querying them will give a - Infinty)
self.camera_params.depth_minimum_distance = 0.3
self.camera_params.depth_maximum_distance = 10.0 # filter out far away objects
Expand Down

0 comments on commit 853b0af

Please sign in to comment.