Compare commits

..

33 Commits

Author SHA1 Message Date
Oleg Kalachev
23c745c17b Try to fix 2021-03-25 18:18:55 +03:00
Oleg Kalachev
c646aa3b43 Install cmake separately 2021-03-25 18:12:59 +03:00
Oleg Kalachev
dbeef76ec0 Try to fix 2021-03-25 18:07:49 +03:00
Oleg Kalachev
91543a9c0e Revert "Add packages.coex.tech"
This reverts commit f25816f2d5.
2021-03-25 18:03:37 +03:00
Oleg Kalachev
f25816f2d5 Add packages.coex.tech 2021-03-25 17:53:50 +03:00
Oleg Kalachev
62e5a20a79 show cmake-data versions 2021-03-25 17:50:42 +03:00
Oleg Kalachev
857e41516a Use cmake 3.13.4-1 2021-03-25 17:19:24 +03:00
Oleg Kalachev
48549de07f Show cmake versions 2021-03-25 17:01:23 +03:00
Oleg Kalachev
1c70499ebd image: roll back cmake to 3.6.2 2021-03-25 16:54:41 +03:00
Oleg Kalachev
6190605312 image: roll back cmake to 3.13.4 2021-03-25 16:44:54 +03:00
Oleg Kalachev
27ae453136 Revert "image: build clover package in 1-threaded"
This reverts commit 9d544a139a.
2021-03-25 16:28:26 +03:00
Oleg Kalachev
9d544a139a image: build clover package in 1-threaded 2021-03-25 15:35:08 +03:00
Oleg Kalachev
bf84a98cb6 image: update Raspberry Pi OS 2021-03-25 15:29:31 +03:00
Oleg Kalachev
9270b6a278 Turn on commands echoing 2021-03-17 18:18:16 +03:00
Oleg Kalachev
8a95789d77 Update pip 2021-03-15 19:18:14 +03:00
Oleg Kalachev
db328ba25e Fix 2021-03-15 16:47:03 +03:00
Oleg Kalachev
afa50add8f CRYPTOGRAPHY_DONT_BUILD_RUST=1 2021-03-15 16:20:30 +03:00
Oleg Kalachev
735b88d498 Try to fix 2021-03-15 16:18:36 +03:00
Oleg Kalachev
8aaaae929e builder: install Rust (needed for cryptography) 2021-03-15 15:11:00 +03:00
Oleg Kalachev
793b614b7b builder: fix getting pip in standalone-install 2021-03-15 14:40:12 +03:00
Oleg Kalachev
62ab5c2357 builder: fix get-pip url for python 2 2021-03-15 14:29:03 +03:00
Oleg Kalachev
181a78e4a9 image: use old pip for Python 2 2021-03-15 14:13:45 +03:00
Oleg Kalachev
c72eb0c027 docs: link to blocks in projects list 2021-03-14 10:27:37 +03:00
Oleg Kalachev
5d99e44c30 docs: restore COEX GPS article 2021-03-12 10:06:34 +03:00
Oleg Kalachev
5eb9b4acbe Revert "docs: add COEX GPS article"
This reverts commit 1dea541df2.
2021-03-12 10:01:04 +03:00
Oleg Kalachev
30ada8f311 Revert "docs: add some text to COEX GPS article"
This reverts commit 50dc17badb.
2021-03-12 09:57:31 +03:00
Oleg Kalachev
e717829945 gitbook: fix retrieving the latest version of the firmware 2021-03-10 11:12:25 +03:00
Oleg Kalachev
50dc17badb docs: add some text to COEX GPS article 2021-03-10 08:03:57 +03:00
Oleg Kalachev
1dea541df2 docs: add COEX GPS article 2021-03-09 17:35:18 +03:00
Oleg Kalachev
d6b950b726 docs: some edits to coex pdb articles 2021-02-27 21:20:23 +03:00
Oleg Kalachev
e2a1d3aaeb docs: minor fix 2021-02-27 01:57:59 +03:00
Oleg Kalachev
165e4d1a61 docs: add COEX PDB page (en/ru) 2021-02-27 01:47:44 +03:00
Oleg Kalachev
4f631300d4 docs: fix sonar example 2021-02-26 15:48:01 +03:00
17 changed files with 77 additions and 13 deletions

View File

@@ -15,7 +15,7 @@
set -e # Exit immidiately on non-zero result set -e # Exit immidiately on non-zero result
SOURCE_IMAGE="https://downloads.raspberrypi.org/raspbian_lite/images/raspbian_lite-2020-02-14/2020-02-13-raspbian-buster-lite.zip" SOURCE_IMAGE="https://downloads.raspberrypi.org/raspios_lite_armhf/images/raspios_lite_armhf-2021-01-12/2021-01-11-raspios-buster-armhf-lite.zip"
export DEBIAN_FRONTEND=${DEBIAN_FRONTEND:='noninteractive'} export DEBIAN_FRONTEND=${DEBIAN_FRONTEND:='noninteractive'}
export LANG=${LANG:='C.UTF-8'} export LANG=${LANG:='C.UTF-8'}

View File

@@ -13,7 +13,7 @@
# copies or substantial portions of the Software. # copies or substantial portions of the Software.
# #
set -e # Exit immidiately on non-zero result set -ex # Exit immidiately on non-zero result
REPO=$1 REPO=$1
REF=$2 REF=$2

View File

@@ -82,6 +82,9 @@ apt-get update
# Let's retry fetching those packages several times, just in case # Let's retry fetching those packages several times, just in case
echo_stamp "Software installing" echo_stamp "Software installing"
apt-cache policy cmake
apt-cache policy cmake-data
my_travis_retry apt-get install --no-install-recommends -y cmake-data=3.13.4-1 cmake=3.13.4-1
my_travis_retry apt-get install --no-install-recommends -y \ my_travis_retry apt-get install --no-install-recommends -y \
unzip \ unzip \
zip \ zip \
@@ -95,7 +98,6 @@ git \
dnsmasq \ dnsmasq \
tmux \ tmux \
vim \ vim \
cmake \
libjpeg8 \ libjpeg8 \
tcpdump \ tcpdump \
ltrace \ ltrace \
@@ -123,10 +125,11 @@ sed -i "s/updates_available//" /usr/share/byobu/status/status
echo_stamp "Installing pip" echo_stamp "Installing pip"
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py -o get-pip2.py
python3 get-pip.py python3 get-pip.py
python get-pip.py python get-pip2.py
rm get-pip.py rm get-pip.py get-pip2.py
#my_travis_retry pip install --upgrade pip my_travis_retry pip install --upgrade pip
#my_travis_retry pip3 install --upgrade pip #my_travis_retry pip3 install --upgrade pip
echo_stamp "Make sure both pip and pip3 are installed" echo_stamp "Make sure both pip and pip3 are installed"
@@ -135,6 +138,7 @@ pip3 --version
echo_stamp "Install and enable Butterfly (web terminal)" echo_stamp "Install and enable Butterfly (web terminal)"
echo_stamp "Workaround for tornado >= 6.0 breaking butterfly" echo_stamp "Workaround for tornado >= 6.0 breaking butterfly"
export CRYPTOGRAPHY_DONT_BUILD_RUST=1
my_travis_retry pip3 install tornado==5.1.1 my_travis_retry pip3 install tornado==5.1.1
my_travis_retry pip3 install butterfly my_travis_retry pip3 install butterfly
my_travis_retry pip3 install butterfly[systemd] my_travis_retry pip3 install butterfly[systemd]

View File

@@ -5,7 +5,7 @@ set -e
# Step 1: Install pip # Step 1: Install pip
apt update apt update
apt install -y curl apt install -y curl
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py curl https://bootstrap.pypa.io/pip/2.7/get-pip.py -o get-pip.py
python ./get-pip.py python ./get-pip.py
# Step 1.5: Add deb.coex.tech to apt # Step 1.5: Add deb.coex.tech to apt

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 195 KiB

View File

@@ -8,7 +8,7 @@ gitbook.events.bind('page.change', function() {
// look for stable release // look for stable release
let stable; let stable;
for (let release of data) { for (let release of data) {
let clever = release.name.indexOf('clever') != -1; let clever = (release.name.indexOf('clover') != -1) || (release.name.indexOf('clever') != -1);
if (clever && !release.prerelease && !release.draft) { if (clever && !release.prerelease && !release.draft) {
stable = release; stable = release;
break; break;

View File

@@ -54,6 +54,8 @@
* [MAVROS](mavros.md) * [MAVROS](mavros.md)
* [Supplementary materials](supplementary.md) * [Supplementary materials](supplementary.md)
* [COEX Pix](coex_pix.md) * [COEX Pix](coex_pix.md)
* [COEX PDB](coex_pdb.md)
* [COEX GPS](coex_gps.md)
* [Guide on autonomous flight](auto_setup.md) * [Guide on autonomous flight](auto_setup.md)
* [Hostname](hostname.md) * [Hostname](hostname.md)
* [PX4 Simulation](sitl.md) * [PX4 Simulation](sitl.md)

13
docs/en/coex_gps.md Normal file
View File

@@ -0,0 +1,13 @@
# COEX GPS
The GNSS receiver **COEX GPS** is compatible with the [COEX Pix](coex_pix.md) flight controller. This receiver comes with a COEX Clover Drone Kit.
## Port pinouts
### Top view
<img src="../assets/coex_gps/coex-gps-top.png" width=400 class=zoom>
### Bottom view
<img src="../assets/coex_gps/coex-gps-bottom.png" width=400 class=zoom>

15
docs/en/coex_pdb.md Normal file
View File

@@ -0,0 +1,15 @@
# COEX PDB
**COEX PDB** is the power distribution board used in [Clover 4 Drone kit](assemble_4_2.md).
Board size: 35x35 mm.
## Port pinouts
### Top view
<img src="../assets/coex_pdb/coex-pdb-top.png" width=400 class=zoom>
### Bottom view
<img src="../assets/coex_pdb/coex-pdb-bottom.png" width=400 class=zoom>

View File

@@ -12,11 +12,11 @@ The distance gage is attached to the body using double-sided tape. For obtaining
### Connection ### Connection
Connect HC-SR04 to Raspberry Pi according to the connection diagram. Use 1.0 and 2.2 k resistors and any free GPIO pins, e.g., 23 and 24: Connect HC-SR04 to Raspberry Pi according to the connection diagram. Use 1.0 and 2.2 kΩ resistors and any free GPIO pins, e.g., 23 and 24:
<img src="../assets/raspberry-hc-sr04.png" alt="Connecting HC-SR04" height=600> <img src="../assets/raspberry-hc-sr04.png" alt="Connecting HC-SR04" height=600>
> **Hint** Instead of a 2.2 k resistor, you can use two 1 k resistors connected in series. > **Hint** Instead of a 2.2 kΩ resistor, you can use two 1 kΩ resistors connected in series.
<!-- --> <!-- -->
@@ -54,8 +54,8 @@ import time
import threading import threading
import pigpio import pigpio
TRIG = 23 is the No. of the pin connected to the Trig contact of the distance gage TRIG = 23 # pin connected to the Trig pin of the sonar
TRIG = 24 is the No. of the pin connected to the Echo contact of the distance gage ECHO = 24 # pin connected to the Echo pin of the sonar
pi = pigpio.pi() pi = pigpio.pi()
done = threading.Event() done = threading.Event()

View File

@@ -54,6 +54,8 @@
* [MAVROS](mavros.md) * [MAVROS](mavros.md)
* [Дополнительные материалы](supplementary.md) * [Дополнительные материалы](supplementary.md)
* [COEX Pix](coex_pix.md) * [COEX Pix](coex_pix.md)
* [COEX PDB](coex_pdb.md)
* [COEX GPS](coex_gps.md)
* [Гид по автономному полету](auto_setup.md) * [Гид по автономному полету](auto_setup.md)
* [Имя хоста](hostname.md) * [Имя хоста](hostname.md)
* [Симулятор](sitl.md) * [Симулятор](sitl.md)

13
docs/ru/coex_gps.md Normal file
View File

@@ -0,0 +1,13 @@
# COEX GPS
ГНСС-приемник **COEX GPS** совместим с полетным контроллером [COEX Pix](coex_pix.md). Этот приемник поставляется с наборами COEX Клевер 4 Pro.
## Схемы расположения контактов
### Вид сверху
<img src="../assets/coex_gps/coex-gps-top.png" width=400 class=zoom>
### Вид снизу
<img src="../assets/coex_gps/coex-gps-bottom.png" width=400 class=zoom>

15
docs/ru/coex_pdb.md Normal file
View File

@@ -0,0 +1,15 @@
# COEX PDB
**COEX PDB** (Power Distribution Board) плата распределения питания для квадрокоптеров <a href="assemble_4_2.md">Клевер&nbsp;4</a>.
Габаритные размеры платы: 35x35 мм.
## Схемы расположения контактов
### Вид сверху
<img src="../assets/coex_pdb/coex-pdb-top.png" width=400 class=zoom>
### Вид снизу
<img src="../assets/coex_pdb/coex-pdb-bottom.png" width=400 class=zoom>

View File

@@ -13,7 +13,7 @@
|Интеграция системы позиционирования [Pozyx](https://www.pozyx.io)|[Наработки](https://github.com/goldarte/pozyx_clever).| |Интеграция системы позиционирования [Pozyx](https://www.pozyx.io)|[Наработки](https://github.com/goldarte/pozyx_clever).|
|Интеграция системы позиционирования типа Motion Capture|| |Интеграция системы позиционирования типа Motion Capture||
|Разработка и интеграция дешевого Motion Capture|| |Разработка и интеграция дешевого Motion Capture||
|Интеграция блочного программирования (Scratch, Blockly)|[Решение с программы стажировок](clever_blocks.md). Официальное решение COEX [в разработке](https://github.com/CopterExpress/clover/tree/blockly).| |Интеграция блочного программирования (Scratch, Blockly)|[Решение от COEX](blocks.md).|
|Улучшение алгоритма визуального позиционирования (optical flow): трекинг по фичам, расчет угла по yaw|| |Улучшение алгоритма визуального позиционирования (optical flow): трекинг по фичам, расчет угла по yaw||
|Симулятор Клевера|[Решение от COEX](https://github.com/CopterExpress/clover_vm) (на основе Gazebo). Проект продолжает разрабатываться.| |Симулятор Клевера|[Решение от COEX](https://github.com/CopterExpress/clover_vm) (на основе Gazebo). Проект продолжает разрабатываться.|
|Облачная платформа для симулятора Клевера|По аналогии или на основе [ROS Development Studio](http://rosds.online/).| |Облачная платформа для симулятора Клевера|По аналогии или на основе [ROS Development Studio](http://rosds.online/).|