I am trying to use the magnetic field of the camera to get the absolute direction in degree. I have seen that in ZED_Sensor_Viewer you get this direction, but in the documentation there is no function to get it. I wondered if there was some piece of code to do that in the library.
I want to use this data:
magnetic_field = zed.get_magnetic_field()
x = magnetic_field[0]
y = magnetic_field[1]
z = magnetic_field[2]