If you have heard of Robot Operating System and want to use it to monitor and control UAV flight, this post will get you started…

More specifically, this post details how to set up a Pixhawk flight controller running PX4 firmware, with a Raspberry Pi3 companion computer running Robot Operating System. This combination gives flexible control over the flight control unit and the ability to integrate a very wide range of features such as depth-sensing cameras and machine learning networks.

If this is of interest, the full post is on my blogsite at https://wp.me/p3ZZr-nX.

E-mail me when people leave their comments –

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

Join diydrones


  • Thanks for the feedback!

    Next post planned within 10 days....

  • Thanks for the post Mike! It seems like a great starting point for anyone looking into offboard control. Please keep it going!

  • I've already integrated YOLO 3 into my hexacopter for object detection and have had good results combining that with the D435 depthcam.  I want to do some retraining before blogging it.

    Your RL work sounds very interesting!

  • That sounds great! I would love to see machine learning posts. I am working with a local university to develop a tutorial on RL + Mocap with the PX4.

  • Thanks Charles, my pleasure.

    I'm planning the next blog on monitoring key variables, then will move on to control, probably using set position commands.  The great thing is that we can then start to integrate a variety of sensors to get smarter behaviour.


  • Thanks for sharing. Great tutorial!

This reply was deleted.