Skip to content

Fixing numpy 2 incompat with pyzed + Blueprint param error #13

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

adujardin
Copy link

This PR fixes 2 small issues:

  • Numpy 2 binary incompatibility with older pyzed
Traceback (most recent call last):
  File "/root/droid-example/src/raw.py", line 421, in <module>
    main()
  File "/root/droid-example/src/raw.py", line 416, in main
    raw_scene = RawScene(args.scene)
  File "/root/droid-example/src/raw.py", line 153, in __init__
    self.cameras[camera_name] = StereoCamera(
  File "/root/droid-example/src/raw.py", line 29, in __init__
    import pyzed.sl as sl
  File "pyzed/sl.pyx", line 1, in init pyzed.sl
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
  • Blueprint parameters error
Traceback (most recent call last):
  File "/root/droid-example/src/raw.py", line 421, in <module>
    main()
  File "/root/droid-example/src/raw.py", line 417, in main
    rr.send_blueprint(blueprint_raw())
  File "/root/droid-example/src/raw.py", line 333, in blueprint_raw
    blueprint = Blueprint(
TypeError: Blueprint.__init__() got an unexpected keyword argument 'auto_space_views'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant