Send yaw data from companion computer

I am planning to make it fly without using a magnetic compass.

I am using moving base rtk to compute yaw angle with a companion computer.

However, I do not know how to send yaw angle to pixhawk and which program should use yaw angle of rtk.

I hope someone tell me.

Thank you!