sudo apt-get install python-dev python-opencv python-wxgtk3.0 python-matplotlib python-pygame python-lxml python-yaml vim git screen -y
[sudo] password for karla:
Reading package lists… Done
Building dependency tree
Reading state information… Done
python-dev is already the newest version (2.7.15~rc1-1).
python-yaml is already the newest version (3.12-1build2).
python-matplotlib is already the newest version (2.1.1-2ubuntu3).
python-pygame is already the newest version (1.9.1release+dfsg-10build1).
python-wxgtk3.0 is already the newest version (3.0.2.0+dfsg-7).
git is already the newest version (1:2.17.1-1ubuntu0.18).
python-lxml is already the newest version (4.2.1-1ubuntu0.6).
screen is already the newest version (4.6.2-1ubuntu1.1).
vim is already the newest version (2:8.0.1453-1ubuntu1.13).
python-opencv is already the newest version (3.2.0+dfsg-4ubuntu0.1).
The following packages were automatically installed and are no longer required:
fonts-lato fonts-liberation2 fonts-opensymbol gir1.2-goa-1.0
gir1.2-gudev-1.0 gir1.2-snapd-1 gir1.2-udisks-2.0 grilo-plugins-0.3-base
gstreamer1.0-gtk3 libccd-dev libccd2 libcdr-0.1-1 libclucene-contribs1v5
libclucene-core1v5 libcmis-0.5-5v5 libcolamd2 libdazzle-1.0-0
libe-book-0.1-1 libedataserverui-1.2-2 libeot0 libepubgen-0.1-1
libetonyek-0.1-1 libevent-2.1-6 libexiv2-14 libfreerdp-client2-2
libfreerdp2-2 libgc1c2 libgee-0.8-2 libgexiv2-2 libgom-1.0-0 libgpgmepp6
libgpod-common libgpod4 libgraphviz-dev libgvc6-plugins-gtk
liblangtag-common liblangtag1 liblirc-client0 liblua5.3-0 libmbim-glib4
libmbim-proxy libmediaart-2.0-0 libmspub-0.1-1 libodfgen-0.1-1 libopenal-dev
libqmi-glib5 libqmi-proxy libqqwing2v5 libqtpropertybrowser4
librevenge-0.0-0 libruby2.5 libsgutils2-2 libssh-4 libsuitesparseconfig5
libvncclient1 libwinpr2-2 libxapian30 libxdot4 libxmlsec1 libxmlsec1-nss
lp-solve media-player-info python3-mako python3-markupsafe rake ruby
ruby-did-you-mean ruby-minitest ruby-net-telnet ruby-power-assert
ruby-test-unit ruby2.5 rubygems-integration syslinux syslinux-common
syslinux-legacy usb-creator-common usb-modeswitch usb-modeswitch-data
Use ‘sudo apt autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 57 not upgraded.
karla@karla-Inspiron-5593:~$ sudo apt install python-pip
Reading package lists… Done
Building dependency tree
Reading state information… Done
python-pip is already the newest version (9.0.1-2.3~ubuntu1.18.04.8).
The following packages were automatically installed and are no longer required:
fonts-lato fonts-liberation2 fonts-opensymbol gir1.2-goa-1.0
gir1.2-gudev-1.0 gir1.2-snapd-1 gir1.2-udisks-2.0 grilo-plugins-0.3-base
gstreamer1.0-gtk3 libccd-dev libccd2 libcdr-0.1-1 libclucene-contribs1v5
libclucene-core1v5 libcmis-0.5-5v5 libcolamd2 libdazzle-1.0-0
libe-book-0.1-1 libedataserverui-1.2-2 libeot0 libepubgen-0.1-1
libetonyek-0.1-1 libevent-2.1-6 libexiv2-14 libfreerdp-client2-2
libfreerdp2-2 libgc1c2 libgee-0.8-2 libgexiv2-2 libgom-1.0-0 libgpgmepp6
libgpod-common libgpod4 libgraphviz-dev libgvc6-plugins-gtk
liblangtag-common liblangtag1 liblirc-client0 liblua5.3-0 libmbim-glib4
libmbim-proxy libmediaart-2.0-0 libmspub-0.1-1 libodfgen-0.1-1 libopenal-dev
libqmi-glib5 libqmi-proxy libqqwing2v5 libqtpropertybrowser4
librevenge-0.0-0 libruby2.5 libsgutils2-2 libssh-4 libsuitesparseconfig5
libvncclient1 libwinpr2-2 libxapian30 libxdot4 libxmlsec1 libxmlsec1-nss
lp-solve media-player-info python3-mako python3-markupsafe rake ruby
ruby-did-you-mean ruby-minitest ruby-net-telnet ruby-power-assert
ruby-test-unit ruby2.5 rubygems-integration syslinux syslinux-common
syslinux-legacy usb-creator-common usb-modeswitch usb-modeswitch-data
Use ‘sudo apt autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 57 not upgraded.
karla@karla-Inspiron-5593:~$ pip --version
pip 9.0.1 from /usr/lib/python2.7/dist-packages (python 2.7)
karla@karla-Inspiron-5593:~$ sudo pip install MAVProxy==1.8.17
The directory ‘/home/karla/.cache/pip/http’ or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo’s -H flag.
The directory ‘/home/karla/.cache/pip’ or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo’s -H flag.
Requirement already satisfied: MAVProxy==1.8.17 in /usr/local/lib/python2.7/dist-packages
Requirement already satisfied: pymavlink>=2.3.3 in /usr/local/lib/python2.7/dist-packages (from MAVProxy==1.8.17)
Requirement already satisfied: pyserial>=3.0 in /usr/lib/python2.7/dist-packages (from MAVProxy==1.8.17)
Requirement already satisfied: future in ./.local/lib/python2.7/site-packages (from pymavlink>=2.3.3->MAVProxy==1.8.17)
Requirement already satisfied: lxml in ./.local/lib/python2.7/site-packages (from pymavlink>=2.3.3->MAVProxy==1.8.17)
karla@karla-Inspiron-5593:~$ sudo usermod -a -G dialout $USER
karla@karla-Inspiron-5593:~$ sudo apt-get remove modemmanager
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package ‘modemmanager’ is not installed, so not removed
The following packages were automatically installed and are no longer required:
fonts-lato fonts-liberation2 fonts-opensymbol gir1.2-goa-1.0
gir1.2-gudev-1.0 gir1.2-snapd-1 gir1.2-udisks-2.0 grilo-plugins-0.3-base
gstreamer1.0-gtk3 libccd-dev libccd2 libcdr-0.1-1 libclucene-contribs1v5
libclucene-core1v5 libcmis-0.5-5v5 libcolamd2 libdazzle-1.0-0
libe-book-0.1-1 libedataserverui-1.2-2 libeot0 libepubgen-0.1-1
libetonyek-0.1-1 libevent-2.1-6 libexiv2-14 libfreerdp-client2-2
libfreerdp2-2 libgc1c2 libgee-0.8-2 libgexiv2-2 libgom-1.0-0 libgpgmepp6
libgpod-common libgpod4 libgraphviz-dev libgvc6-plugins-gtk
liblangtag-common liblangtag1 liblirc-client0 liblua5.3-0 libmbim-glib4
libmbim-proxy libmediaart-2.0-0 libmspub-0.1-1 libodfgen-0.1-1 libopenal-dev
libqmi-glib5 libqmi-proxy libqqwing2v5 libqtpropertybrowser4
librevenge-0.0-0 libruby2.5 libsgutils2-2 libssh-4 libsuitesparseconfig5
libvncclient1 libwinpr2-2 libxapian30 libxdot4 libxmlsec1 libxmlsec1-nss
lp-solve media-player-info python3-mako python3-markupsafe rake ruby
ruby-did-you-mean ruby-minitest ruby-net-telnet ruby-power-assert
ruby-test-unit ruby2.5 rubygems-integration syslinux syslinux-common
syslinux-legacy usb-creator-common usb-modeswitch usb-modeswitch-data
Use ‘sudo apt autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 57 not upgraded.
karla@karla-Inspiron-5593:~$ cd ~
karla@karla-Inspiron-5593:~$ mkdir courseRoot
karla@karla-Inspiron-5593:~$ ls
ardupilot Documents mav.parm Public Templates
ardupilot_gazebo Downloads mav.tlog PX4-Autopilot terrain
catkin_ws eeprom.bin mav.tlog.raw Release.key Videos
coordinates.py geo_coords.py mission.py snap winetricks
courseRoot land.py Music square_1.py
demo_1.py land.py.save params.yaml square_client.py
demo.py logs Pictures square_mission.py
Desktop mavlink precise.py square_server.py
karla@karla-Inspiron-5593:~$ sudo echo “export courseRoot=/home/$USER/courseRoot” >> ~/.bashrc
karla@karla-Inspiron-5593:~$ source .bashrc
karla@karla-Inspiron-5593:~$ source ~/.bashrc
karla@karla-Inspiron-5593:~$ cd $courseRoot
karla@karla-Inspiron-5593:~/courseRoot$ cd
karla@karla-Inspiron-5593:~$ cd $courseRoot
karla@karla-Inspiron-5593:~/courseRoot$ cd …
karla@karla-Inspiron-5593:~$ cd …
karla@karla-Inspiron-5593:/home$ cd karla/
karla@karla-Inspiron-5593:~$ cd $courseRoot
karla@karla-Inspiron-5593:~/courseRoot$ mkdir apm
karla@karla-Inspiron-5593:~/courseRoot$ cd apm
karla@karla-Inspiron-5593:~/courseRoot/apm$ git clone -b Copter-4.0.3 https://github.com/ardupilot/ardupilot
Cloning into ‘ardupilot’…
remote: Enumerating objects: 417949, done.
remote: Counting objects: 100% (677/677), done.
remote: Compressing objects: 100% (354/354), done.
remote: Total 417949 (delta 389), reused 483 (delta 320), pack-reused 417272
Receiving objects: 100% (417949/417949), 283.67 MiB | 6.38 MiB/s, done.
Resolving deltas: 100% (308814/308814), done.
Note: checking out ‘ffd08628c43694c5611b9e815de99e3a459e1b44’.
You are in ‘detached HEAD’ state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b
karla@karla-Inspiron-5593:~/courseRoot/apm$ ls
ardupilot
karla@karla-Inspiron-5593:~/courseRoot/apm$ ls
ardupilot
karla@karla-Inspiron-5593:~/courseRoot/apm$ cd ardupilot
karla@karla-Inspiron-5593:~/courseRoot/apm/ardupilot$ ls
AntennaTracker ArduSub docs modules uncrustify_cpp.cfg
APMrover2 benchmarks Doxyfile.in README.md uncrustify_headers.cfg
appveyor.yml BUILD.md libraries reformat.sh Vagrantfile
ArduCopter COPYING.txt Makefile tests waf
ArduPlane Dockerfile mk Tools wscript
karla@karla-Inspiron-5593:~/courseRoot/apm/ardupilot$ git submodule update --init --recursive
Submodule ‘modules/ChibiOS’ (git://github.com/ArduPilot/ChibiOS.git) registered for path ‘modules/ChibiOS’
Submodule ‘modules/gbenchmark’ (git://github.com/google/benchmark.git) registered for path ‘modules/gbenchmark’
Submodule ‘gtest’ (git://github.com/ArduPilot/googletest) registered for path ‘modules/gtest’
Submodule ‘modules/libcanard’ (git://github.com/ArduPilot/libcanard.git) registered for path ‘modules/libcanard’
Submodule ‘modules/mavlink’ (git://github.com/ArduPilot/mavlink) registered for path ‘modules/mavlink’
Submodule ‘modules/uavcan’ (git://github.com/ArduPilot/uavcan.git) registered for path ‘modules/uavcan’
Submodule ‘modules/waf’ (git://github.com/ArduPilot/waf.git) registered for path ‘modules/waf’
Cloning into ‘/home/karla/courseRoot/apm/ardupilot/modules/ChibiOS’…
fatal: I don’t handle protocol ‘“https’
fatal: clone of ‘git://github.com/ArduPilot/ChibiOS.git’ into submodule path ‘/home/karla/courseRoot/apm/ardupilot/modules/ChibiOS’ failed
Failed to clone ‘modules/ChibiOS’. Retry scheduled
Cloning into ‘/home/karla/courseRoot/apm/ardupilot/modules/gbenchmark’…
fatal: I don’t handle protocol ‘“https’
fatal: clone of ‘git://github.com/google/benchmark.git’ into submodule path ‘/home/karla/courseRoot/apm/ardupilot/modules/gbenchmark’ failed
Failed to clone ‘modules/gbenchmark’. Retry scheduled
Cloning into ‘/home/karla/courseRoot/apm/ardupilot/modules/gtest’…
fatal: I don’t handle protocol ‘“https’
fatal: clone of ‘git://github.com/ArduPilot/googletest’ into submodule path ‘/home/karla/courseRoot/apm/ardupilot/modules/gtest’ failed
Failed to clone ‘modules/gtest’. Retry scheduled
Cloning into ‘/home/karla/courseRoot/apm/ardupilot/modules/libcanard’…
fatal: I don’t handle protocol ‘“https’
fatal: clone of ‘git://github.com/ArduPilot/libcanard.git’ into submodule path ‘/home/karla/courseRoot/apm/ardupilot/modules/libcanard’ failed
Failed to clone ‘modules/libcanard’. Retry scheduled
Cloning into ‘/home/karla/courseRoot/apm/ardupilot/modules/mavlink’…
fatal: I don’t handle protocol ‘“https’
fatal: clone of ‘git://github.com/ArduPilot/mavlink’ into submodule path ‘/home/karla/courseRoot/apm/ardupilot/modules/mavlink’ failed
Failed to clone ‘modules/mavlink’. Retry scheduled
Cloning into ‘/home/karla/courseRoot/apm/ardupilot/modules/uavcan’…
fatal: I don’t handle protocol ‘“https’
fatal: clone of ‘git://github.com/ArduPilot/uavcan.git’ into submodule path ‘/home/karla/courseRoot/apm/ardupilot/modules/uavcan’ failed
Failed to clone ‘modules/uavcan’. Retry scheduled
Cloning into ‘/home/karla/courseRoot/apm/ardupilot/modules/waf’…
fatal: I don’t handle protocol ‘“https’
fatal: clone of ‘git://github.com/ArduPilot/waf.git’ into submodule path ‘/home/karla/courseRoot/apm/ardupilot/modules/waf’ failed
Failed to clone ‘modules/waf’. Retry scheduled
Cloning into ‘/home/karla/courseRoot/apm/ardupilot/modules/ChibiOS’…
fatal: I don’t handle protocol ‘“https’
fatal: clone of ‘git://github.com/ArduPilot/ChibiOS.git’ into submodule path ‘/home/karla/courseRoot/apm/ardupilot/modules/ChibiOS’ failed
Failed to clone ‘modules/ChibiOS’ a second time, aborting
karla@karla-Inspiron-5593:~/courseRoot/apm/ardupilot$ git submodule
add foreach status sync
deinit init summary update
karla@karla-Inspiron-5593:~/courseRoot/apm/ardupilot$ git submodule update
AntennaTracker/ Doxyfile.in README.md
APMrover2/ .editorconfig reformat.sh
appveyor.yml .flake8 tests/
ArduCopter/ .git/ Tools/
ArduPlane/ .gitattributes .travis.yml
ArduSub/ .github/ uncrustify_cpp.cfg
.azure/ .gitignore uncrustify_headers.cfg
benchmarks/ .gitmodules Vagrantfile
BUILD.md libraries/ .valgrindrc
COPYING.txt Makefile .valgrind-suppressions
.dir-locals.el mk/ waf
Dockerfile modules/ wscript
docs/ .pydevproject
karla@karla-Inspiron-5593:~/courseRoot/apm/ardupilot$ git submodule update –
–depth --merge --recommend-shallow
–force --no-fetch --recursive
–init --no-recommend-shallow --reference
–jobs --rebase --remote
karla@karla-Inspiron-5593:~/courseRoot/apm/ardupilot$ git submodule update --init –
–depth --merge --recommend-shallow
–force --no-fetch --recursive
–init --no-recommend-shallow --reference
–jobs --rebase --remote
karla@karla-Inspiron-5593:~/courseRoot/apm/ardupilot$ git submodule update --init --re
–rebase --recursive --remote
–recommend-shallow --reference
karla@karla-Inspiron-5593:~/courseRoot/apm/ardupilot$ git submodule update --init --rec
–recommend-shallow --recursive
karla@karla-Inspiron-5593:~/courseRoot/apm/ardupilot$ git submodule update --init --recursive
Cloning into ‘/home/karla/courseRoot/apm/ardupilot/modules/ChibiOS’…
fatal: I don’t handle protocol ‘“https’
fatal: clone of ‘git://github.com/ArduPilot/ChibiOS.git’ into submodule path ‘/home/karla/courseRoot/apm/ardupilot/modules/ChibiOS’ failed
Failed to clone ‘modules/ChibiOS’. Retry scheduled
Cloning into ‘/home/karla/courseRoot/apm/ardupilot/modules/gbenchmark’…
fatal: I don’t handle protocol ‘“https’
fatal: clone of ‘git://github.com/google/benchmark.git’ into submodule path ‘/home/karla/courseRoot/apm/ardupilot/modules/gbenchmark’ failed
Failed to clone ‘modules/gbenchmark’. Retry scheduled
Cloning into ‘/home/karla/courseRoot/apm/ardupilot/modules/gtest’…
fatal: I don’t handle protocol ‘“https’
fatal: clone of ‘git://github.com/ArduPilot/googletest’ into submodule path ‘/home/karla/courseRoot/apm/ardupilot/modules/gtest’ failed
Failed to clone ‘modules/gtest’. Retry scheduled
Cloning into ‘/home/karla/courseRoot/apm/ardupilot/modules/libcanard’…
fatal: I don’t handle protocol ‘“https’
fatal: clone of ‘git://github.com/ArduPilot/libcanard.git’ into submodule path ‘/home/karla/courseRoot/apm/ardupilot/modules/libcanard’ failed
Failed to clone ‘modules/libcanard’. Retry scheduled
Cloning into ‘/home/karla/courseRoot/apm/ardupilot/modules/mavlink’…
fatal: I don’t handle protocol ‘“https’
fatal: clone of ‘git://github.com/ArduPilot/mavlink’ into submodule path ‘/home/karla/courseRoot/apm/ardupilot/modules/mavlink’ failed
Failed to clone ‘modules/mavlink’. Retry scheduled
Cloning into ‘/home/karla/courseRoot/apm/ardupilot/modules/uavcan’…
fatal: I don’t handle protocol ‘“https’
fatal: clone of ‘git://github.com/ArduPilot/uavcan.git’ into submodule path ‘/home/karla/courseRoot/apm/ardupilot/modules/uavcan’ failed
Failed to clone ‘modules/uavcan’. Retry scheduled
Cloning into ‘/home/karla/courseRoot/apm/ardupilot/modules/waf’…
fatal: I don’t handle protocol ‘“https’
fatal: clone of ‘git://github.com/ArduPilot/waf.git’ into submodule path ‘/home/karla/courseRoot/apm/ardupilot/modules/waf’ failed
Failed to clone ‘modules/waf’. Retry scheduled
Cloning into ‘/home/karla/courseRoot/apm/ardupilot/modules/ChibiOS’…
fatal: I don’t handle protocol ‘“https’
fatal: clone of ‘git://github.com/ArduPilot/ChibiOS.git’ into submodule path ‘/home/karla/courseRoot/apm/ardupilot/modules/ChibiOS’ failed
Failed to clone ‘modules/ChibiOS’ a second time, aborting
These are all the steps that I have done.