AttributeError: module 'pyzed.sl' has no attribute 'SENSING_MODE'

So I upgraded to the latest SDK for the Jetson AGX Orin.
I am getting this error when I run a python example.
AttributeError: module ‘pyzed.sl’ has no attribute ‘SENSING_MODE’

What has ‘SENSING_MODE’ been changed to in the latest SDK?

Hi @joev,

SENSING_MODE has been fully removed from the API. To get the same behavior, use the new sl::RuntimeParameters.enable_fill_mode parameter.

If you’re upgrading to the 4.0.x from a 3.x version, I invite you to take a look at the Release notes, as there are some major changes (particularly in the “Major Changes” sections :sweat_smile: ) .

Thanks for the help
By the way nice job on the updated 'ZED_YOLO" github repo

1 Like