Hot to get IMU sensor data

I’m coding using Python and I need to get IMU sensor data.
I’m referring to this page SensorsData Class Reference | API Reference | Stereolabs but I can’t use those functions… documentation isn’t so clear.

What’s wrong with this?

Is it necessary to do sl.SensorsData.init_sensorsData()? I see it requires an argument of type SensorData but I don’t know how to pass it.

Thank so much


You should understand better if you read our tutorial 4 : zed-examples/ at master · stereolabs/zed-examples · GitHub
When use these fonctions in there.


1 Like