I want to communicate to pixhawk from Raspberry pi 3 and read the telemetry data like accelerometer and gyroscope data

Looking at this post:

it is not clear what is talking to what. Is this coming from the surface computer (useless to me) or being sent to the RPi on USB or I2C (Yes, this is what I want)?