Closed Bovakinn closed 2 years ago
Hello, are you talking about this tutorial ?
On my setup it runs correctly.
Maybe you just have a typo somewhere ?
you should write sensors_data.get_barometer_data()
and not sensors_data.MagnetometerData
.
If that's not the issue, can you share your code ?
I'm not sure where I got the method from, but the tutorial you linked worked perfectly.
The code I was using was found on this page https://www.stereolabs.com/docs/sensors/magnetometer/
Thank you for the report ! We'll change this as soon as we can. Have a great day Antoine
Preliminary Checks
Description
Hi I recently upgraded the SDK to version 3.7.2 for Jetpack 4.4 on an Nvidia Jetson Xavier NX and encounter the following error when trying to access the Magnetometer using the example python script. pyzed.slSensorsData has no attirbute MagnetometerData
Steps to Reproduce
Installed this package: https://download.stereolabs.com/zedsdk/3.7/l4t32.4/jetsons Used code in tutorial 7: Getting Sensors Data
Expected Result
Returned Magnetometer readings
Actual Result
pyzed.slSensorsData has no attirbute MagnetometerData
ZED Camera model
ZED2
Environment
Anything else?
No response