Read GPS and IMU data form PixHawk to raspberry pi

Example of terminal code that worked for me:

sudo mavproxy.py –master=/dev/ttyTHS0
watch GPS_RAW_INT

Sincerely,
Oleg