Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Expected a mapping, got pyzed.sl.PositionalTrackingFusionParameters #233

Open
2 tasks done
frigusgulo opened this issue Nov 17, 2023 · 0 comments
Open
2 tasks done
Labels

Comments

@frigusgulo
Copy link

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

@frigusgulo frigusgulo added the bug label Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant