Extract data from Navigator

Hi all.

I want to know how can I extract in real time the data of compass, tilt, pitch, depth, temperature from the Navigator Flight Controller. Could someone support me and explain me how?

Thanks for the support.

What Navigator are you talking about? this forum is for the PX4 forum. Are you using PX4 Firmware?
If so, you can use MAVSDK Introduction ยท MAVSDK Guide to get that data.