Get RTK data from Rover

Hey guys!
I am new to this field, so please understand that my understanding is limited.
What I need to do is attach a Raspberry Pi RTK to the rover and transmit the rover’s location data to the server through px4. How can I get this information?