-
Notifications
You must be signed in to change notification settings - Fork 0
/
dronekit-python2.7
42 lines (33 loc) · 1.11 KB
/
dronekit-python2.7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#GIT
sudo apt-get update
sudo apt-get install git
git config --global user.name "Johar Palacita"
git config --global user.email "[email protected]"
sudo apt-get install python-dev python-opencv python-wxgtk4.0 python-pip python-matplotlib python-lxml python-pygame
pip install PyYAML mavproxy --user
echo "export PATH=$PATH:$HOME/.local/bin" >> ~/.bashrc
pip install mavproxy --user --upgrade
pip install mavproxy --user git+https://github.com/ArduPilot/mavproxy.git@master
#DRONEKIT
sudo pip install future pymavlink MAVProxy
sudo apt install python-future
sudo apt install libtool
sudo apt install autoconf
sudo apt-get update
sudo apt-get upgrade
sudo pip install pymavlink
sudo pip install mavproxy
sudo pip install dronekit
sudo pip install dronekit-sitl
"""
NOTE: be sure to be using the latest dronekit.
sudo pip uninstall dronekit
sudo pip uninstall pymavlink
git clone https://github.com/palacita/dronekit-python.git
cd dronekit-python
git pull
sudo python setup.py build
sudo python setup.py install
Be sure the RASPI CAMERA driver is correctly acivated -> type the following
modprobe bcm2835-v4l2
"""