stereolabs / zed-python-api

Python API for the ZED SDK
https://www.stereolabs.com/docs/app-development/python/install/
MIT License
209 stars 95 forks source link

Outdated API #223

Open tofylion opened 1 year ago

tofylion commented 1 year ago

Preliminary Checks

Description

This API still uses a version of the zed SDK older than 4.0. For me, this is mainly a problem in linting. If I use the sl.pyx file in here, it doesn't have the new updates. This is not a blocker for me at the moment

Steps to Reproduce

  1. Open VS Code
  2. Import and use pyzed.sl using import pyzed.sl as sl
  3. You will see that linting is working
  4. Download sl.pyx file in this repo and place it in pyzed (site-packages), but rename to sl.py
  5. Restart VS Code
  6. Linting will be available, but it will not use the new API calls for SDK 4.0 like sl.BodyTrackingParameters() ...

Expected Result

I expect the linting to be coherent with the docs and what actually runs

Actual Result

The linting shows outdated errors

ZED Camera model

ZED2

Environment

OS: Ubuntu 22.04
SDK Version: 4.0.1

Anything else?

No response