Skip to content

Outdated API #223

Description

@tofylion

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions