Getting azimuth and tilt

Hi,

I'm using this device: https://witmotion-sensor.com/en-ca/products/witmotion-hwt906-high-precision-10-axis-military-grade-inclinometer-sensor-3-axis-gyro-accelerometer-angle-magnetic-quaternion-built-in-sca3300-temperature-compensation-chip-ip67-waterproof

to get this values :

Screenshot 2024-01-30 at 11.46.47 AM

I want to get the azimuth and tilt, is the azimut arctan( mag x, mag y) and will the tilt be : sqrt(pitch^2,roll^2) ?

Thank you for you help,

The documentation for that sensor is linked on the web site, and you should study it carefully.

To get azimuth requires that the magnetometer be calibrated in its final resting place. The best calibration overview and tutorial is this one: Tutorial: How to calibrate a compass (and accelerometer) with Arduino | Underwater Arduino Data Loggers

Tilt can be measured on two axes using the accelerometer, which for highest accuracy must also be calibrated. See this tutorial: How_to_Use_a_Three-Axis_Accelerometer_for_Tilt_Sensing-DFRobot

Thank you, I'll take a look to these links

Are those topics not covered in the extensive sensor documentation?

I don't think I saw anything like that

You need to look at the docs more carefully. The manufacturer's software for that sensor includes calibration.

Oh, my bad, thank you very much

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.