-
Notifications
You must be signed in to change notification settings - Fork 95
Open
Labels
Description
Preliminary Checks
- This issue is not a duplicate. Before opening a new issue, please search existing issues.
- This issue is not a question, feature request, or anything other than a bug report directly related to this project.
Description
Trying to enable positionnal tracking parameters with the fusion module
Steps to Reproduce
fusion = sl.Fusion()
fusion_params = zed_config.parse_fusion_params()
fusion_params.verbose = True
fusion.init(fusion_params)
fusion_params_tracking = sl.PositionalTrackingFusionParameters()
fusion_params_tracking.enable_GNSS_fusion = True
fusion.enable_positionnal_tracking(parameters = fusion_params_tracking)
Expected Result
Expect this to enable positionnal tracking.
Actual Result
I get
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "pyzed/sl.pyx", line 11543, in pyzed.sl.Fusion.enable_positionnal_tracking
File "<stringsource>", line 15, in FromPyStructUtility.__pyx_convert__from_py_struct__sl_3a__3a_PositionalTrackingFusionParameters
TypeError: Expected a mapping, got pyzed.sl.PositionalTrackingFusionParameters
ZED Camera model
ZED2
Environment
OS: Ubuntu 22.04
Anything else?
No