I am interested to send some high-level control commands to pixhawk using MAVLink, indoors. So, I have a motion capture system setup which gives accurate XYZ and orientation. I would like to tell pixhawk this information in order to use it onboard instead of e.g. GPS. How can I do that?

I think there is a way to do it by sending a MAVLink message to tell Pixhawk use these position/orientation data, but have not figured that out yet!

I appreciate any help.


You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –


  • Hi Mohamed, I am a student and building a quadcopter which I want to fly indoor. I have the same problem as you mentioned. Could you please tell me the procedure how did you solve it using the PX4 firmware 

  • PX4 Firmware solved the problem. It already supports vision/MOCAP.

    PX4 Autopilot Software. Contribute to PX4/Firmware development by creating an account on GitHub.
This reply was deleted.


Liam left a comment on Agricultural UAVs
I'm Liam from T-MOTOR. I would like to reach out to see if there is any possibility for us to work together.
We are a propulsion system manufacturer who offers motors, propellers and ESCs for all kinds of drone applications which vary from secur…"
Jun 30
Richard Cox left a comment on Australia
"Anyone in the DIYDRONES Australian subgroup based in Alice Springs, NT?
I am experimenting with Ardupilot (standard Arduplane), Pixhawk 4 FC in a 4-ch
RC "AXN Floater Jet" foamy plane..."
Jun 29
Omar Sykes left a comment on Australia
"Hi everyone, I am looking for someone who is good at drone building, repair and software in Adelaide. Please give me a call on 0477 319 219."
Jun 29