The position of the UAV payload

Hi, I want to simulate a tethered drone with a payload. In more detail, the drone and the payload are connected with a rope in gazebo. I want to know how to get the position of the payload in px4. Do I run it as a px4 model and give it a node id, or is there some other way to do it? Thank you for your help.