Setting up environment for Drone Programming

 !) VM & linux , then open Terminal , update packages ,... 

2.) for installing required packages ...: sudo apt-get install build-essential ccache g++ gawk git make wget cmake

        hit enter & " Y "

3.) Download Requires Packages ( sitl ) 

       sudo apt-get install python3-dev python3-setuptools python3-numpy python3-pyparsing python3-psutil python3-pip

3.1.) Let's install Graphical Packages for MAVproxy :

           sudo apt-get install python3-matplotlib python3-serial python3-scipy python3-opencv python3-wxgtk4.0

        these heavy packages 

3.2) Tolls for Editing Files/ Tools :

             sudo apt-get install python3-yaml vim

4.) Install some Python Packages :

                   pip3 install future lxml pymavlink MAVProxy pexpect flak8 pygame intelhex 

4.1) Finally check that everything is fine 

         sudo apt install python-is-python3

5.) Then, remove some programmes that may cause hinder in smooth running  

       sudo apt-get remove modemmanager 

Now Download ArduPILOT :

1.) let's make dir on Desktop " Drone_Course "

2.)  then install ArduPilo : git clone https://github.com/ArduPilot/ardupilot.git

     2.1)   we need only for quad copter , so :

     git clone -b Copter-4.0.3 https://github.com/ArduPilot/ardupilot.git

      2.2) to update modules if , modules is empty

               1st goto cd ardupilot/

       git submodule update --init --recursive

3.) Now Set Environment Variables/ Edit Env var :

       Open bash RC file :   cd -

      type:  sudo vi -/.bashrc

     bashrc file provide a place to setup path 

  Press " Shift+g " then hit " i "

Some topics are covered in Youtube course that, I am already watching from muz.


Now setting up Linux a/c to Udemy Drone Programming Course Vama :


 

         

Setting up the simulation software in Linux :

Click here for commands & details

Starting the simulation software individually

Creating simulation environment starter shell script

Comments

Popular posts from this blog

Generating a signed apk from Qt Creator

How make Signed Firmware from official Ardupilot using Cryptography

Drone Jamming & Detecting System :