This Documentation will guide you to program a drone runnning PX4 firmaware using the Python mavsdk module, with the added option of 3d smulation using Gazebo11
Before following this Steps install PX4-Autopilot > for Video tutorial
You can download the .tar file from the official website Pycharm
Follow the following steps to extract and run Pycharm
cd ~/Downloads
tar -xzf pycharm-community-2020.3.3.tar.gz //NOTE: Folder name will change according to the current version
cd pycharm-community-2020.3.3 //NOTE: Folder name will change according to the current version
cd bin
chmod u+x pycharm.sh
sh pycharm.sh
Installation window will open, complete it and move to the next step
If you have Pycharm already installed
cd pycharm-community-2020.3.3 //NOTE: Folder name will change according to the current version
cd bin
./pycharm.sh
We will do a simple take off and land using python ! Start by cloning this repository in your project folder using pycharm terminal
git clone https://github.com/F-LAB-Systems/PX4-Python-SITL-2021.git
In new Terminal open PX4-Autopilot & Gazebo
cd ~
cd PX4-Autopilot
make px4_sitl gazebo //QuadCopter
In new terminal open QGroundControl
cd ~
cd Documents //If AppImage is in documents
./QGroundControl.AppImage