Sending a custom message to Pixhawk

Hi guys

For a while now I’ve been working on a Heavy-Duty X8 and while the build was a success and it’s flying beautifully: … 5.mp4?dl=0

The next step would be to interface a depth camera with it and i’m just not sure how to go about this.

I have an onboard computer (intel nuc) to which the camera connects directly via USB3.0. I’m looking to send a custom message to pixhawk with coordinates captured by the depth cam (3x3 rotation, 3x1 translation) and 1 bool for trackingID so I’d be looking at an array with 13 elements. Is this at all possible to do?

If anyone has any pointers or resources I could look at that would be much appreciated.

Thanks in advance

You can use droneapi writen in pyton
It allows launch a custom writen pyton scripts.