This section explains how to download PX4 Firmware v1.10.2 as a standalone task. This will only be required if you have not cloned PX4 Firmware as part of Cygwin Toolchain installation process as described in the link Setting Up Cygwin Toolchain and Downloading PX4 Source Code.
UAV Toolbox Support Package for PX4® Autopilots requires installation of a development environment. This development environment is used to build firmware for all the Pixhawk® Series flight controller boards.
To download the PX4 source code (PX4 Autopilot Firmware v1.10.2) on a Windows host computer:
Ensure that you have installed Cygwin Toolchain in Windows computer as discussed in the link Setting Up Cygwin Toolchain and Downloading PX4 Source Code.
Navigate to the installed Cygwin Toolchain directory in your PC.
Launch the batch file run-console.bat. This opens the Cygwin console.
From the Cygwin console, navigate to the location in your PC where you would like to clone the PX4 Firmware.
Create a directory named
mypx4 in the system.
Ensure that your PC 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).