How to update position via SBC?

Hi, if I am running a SLAM or positioning software, how do I update the position of the quadcopter over the connection to the computer so I can correctly track trajectory?