This section explains the task to be completed as part of the
Download PX4 Source Code—of the Hardware Setup process
(using the Hardware Setup screens). Do not perform this as a standalone task.
UAV Toolbox Support Package for PX4® Autopilots requires PX4 Autopilot Firmware v1.10.2
To download the PX4 Sourcecode (PX4 Autopilot Firmware v1.10.2) on the Ubuntu 18.04 host computer:
Open the bash terminal on Ubuntu 18.04
Create a directory named
mypx4 in the home
create a directory in home directory, as described below:
Ensure that your computer is connected to an active internet connection before proceeding with the next step.
Go to the newly created
px4 directory, and run the
following commands one-by-one (you may need to wait for a command execution
to complete before entering the next command):
git clone https://github.com/PX4/Firmware.git
git checkout v1.10.2
git submodule update --init
The download may take several minutes to complete (depending on the internet speed).
After you complete this step, go back to the Hardware Setup screen again and continue with the next step.