A series of posts to familiarise with PX4 set up and development
In the last tutorial we have set up the ROS environment to use MAVROS to talk to PX4. In this tutorial we will run a small example program to autonomously hover a simulated vehicle. Simulation
Companion computer is a very efficient way to control your PX4 vehicle in off-board mode. We have tested various methods and we have concluded Robot Operating System (ROS) is the best way. Here is a
In the last post we have set up the PX4 source code for our new flight mode, the flip mode. In this post I will continue finishing the flip mode by creating a new application
Here’s how to create your own, shiny ARM gcc cross-compile toolchain for your Mac.
If you have programmed Ardupilot and now you switch to PX4, you would really appreciate how easy it is to implement a new flight mode in Ardupilot... PX4 is really good if you just want
In most cases, Software In the Loop (SITL) is sufficient for testing your flight controller code. But in other cases, you may want to use Hardware In the Loop (HITL) simulation to validate that your
"mc_att_control" is responsible for PX4 multicopter attitude control, this application can be found in "Firmware/src/modules/mc_att_control". Here is what I understand about this application. Start Similar to "mc_pos_control", this application is started by script "rc.mc_apps" on
The application responsible for multicopter position control exists in "Firmware/src/modules/mc_pos_control". I will describe what I understand about this application as much as I can in this blog. Start The application is started by the script
Testing development code on a flying platform is always risky, one small bug in the code could cause your beloved airframe go straight into the bin. To avoid that, always check your code stability in
If you have done Ardupilot or Arduino source code development, the first thing you do when you clone source code from Github is probably looking for the main function. This is exactly what I did.
Being able to connect to PX4 via Serial is essential for development. It allows you to run individual apps in PX4 and it provides a straight forward interface for debugging. I have successfully connected to
The best development environment for PX4 is using Eclipse as IDE in Ubuntu. There are also many other ways to do it. I have included in this log what is working for me and how
The first thing to do before more in-depth research is to actually use PX4 autopilot to fly something. This is a relatively straight forward process once you have a multicopter that is healthy and ready