docs: add CopterHack-2021 D-drone article (#303)

* d-drone init article ru, en, assets

* Change model and assemling, assets

* Add assets, change web site

* Add assets, change web site

* Edit ddrone article

* en and ru added and linted

* special thanks added

* added STL models

* Added gif

* Remove space from file name

* Slight editing

* Add teams articles list

Co-authored-by: Oleg Kalachev <okalachev@gmail.com>
This commit is contained in:
PerizatKurmanbaeva
2021-03-16 14:19:34 +06:00
committed by GitHub
parent 050e0fedb9
commit 02c67ea71a
14 changed files with 205 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 669 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 488 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 421 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

View File

@@ -108,3 +108,4 @@
* [Robocross-2019](robocross2019.md)
* [Camera calibration (legacy)](camera_calib.md)
* [Recognition of crop types in agriculture](agriculture.md)
* [D-drone Copter Hack 2021 by AT Makers](ddrone.md)

View File

@@ -3,3 +3,9 @@
CopterHack 2021 is a team competition for the development of open source projects for the Clover quadcopter platform.
All information about the event can be found on the official website: https://coex.tech/copterhack.
## Participating teams articles
|Team|Project|
|-|-|
|D-drone|[Graffiti-copter](ddrone.md)|

96
docs/en/ddrone.md Normal file
View File

@@ -0,0 +1,96 @@
# D-drone Copter Hack 2021 by AT Makers
<img class="center" src="../assets/ddrone/final.gif" width="600">
## Intro
People strive to teach artificial intelligence everything they can do themselves. We are taught to draw from childhood. And why not teach the drone to draw? At the moment, copters and graffiti are gaining popularity. So we decided to combine them.
## Models and assembly
<img class="center" src="../assets/ddrone/full_holder.png" width="300">
<img class="center" src="../assets/ddrone/full_holder_in_real.jpg" width="300">
To complete the project you need to have in stock:
- spray paint
- clover 4 kit
- servo MG90S
- 3D printer
- spray can extension straw
- velcro
- 4 long screws and nuts M4 or M3
- 2-4 short self-tapping screws M4 or M3.
[Download](https://github.com/PerizatKurmanbaeva/D-drone/tree/master/details) and 3D-print details:
- holder
- screw
- rack_holder_with_nut
- rack x2
- servo_holder.
**Spray holder.** The spray holder is attached to the deck with 4 screws and nuts. To fasten the can to the holder, we used a tape with velcro. With 4 nuts and screws, we fix the drone's upper deck with spray holder.
Holder weight: 90g.
<img class="center" src="../assets/ddrone/holder.png" width="300">
If the diameter of the can is less than the diameter of the holder, we use the part in the form of an arc, with the size of the difference between them. This helps us to fix the spray can firmly.
**Pressing mechanism.** To push the valve, we will use a screw drive with a fixed nut. A bar with holes will be attached to the servo, which will include the racks attached to the nut. This helps the servo to move only on one axis, up and down. We also modeled the cap for the spray can button, since the surface of the nozzle is uneven.
<img class="center" src="../assets/ddrone/pressing_mechanism.png" width="300" >
<img class="center" src="../assets/ddrone/pressing_mechanism_in_real.jpg" width="300" >
## Before launching
### Configuring the servo scripts
Before starting the copter, you need to download [servo.py](https://github.com/PerizatKurmanbaeva/D-drone/blob/master/examples/servo.py) and move it to RPi. You can simply copy and paste using the clipboard. Or copy it using the scp command. For instance:
```bash
scp servo.py pi@192.168.11.1:/home/pi
```
Then run the following commands remotely on the Raspberry Pi:
```bash
sudo pigpiod
python servo.py
```
### Configuring the Web interface
Download this [repository](https://github.com/PerizatKurmanbaeva/visual_ddrone) in .zip format. Copy to RPi and unpack using the following commands:
```bash
scp visual_ddrone-master.zip pi@192.168.11.1:/home/pi
cd catkin_ws/src/clover/clover/www
unzip /home/pi/visual_ddrone-master.zip .
mv visual_ddrone-master ddrone
```
Now to open the web interface, click on the link [http://192.168.11.1/clover/drone](http://192.168.11.1/clover/drone).
## Web interface
Our drone is launched via [website](https://perizatkurmanbaeva.github.io/visual_ddrone). The web interface allows you to draw and encode what you draw in G-code. The coordinate data will be transmitted for further processing and execution by the copter.
<img class="center" src="../assets/ddrone/screen_2.png" width="600">
We pick the web interface to control the copter because it is easier for the user.
<img class="center" src="../assets/ddrone/instruction.png" width="300">
## Flights
<iframe width="560" height="315" src="https://www.youtube.com/embed/ErtioCj5iMw" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
## Special Thanks
Project was created with financial support of International Ala-Too University.
![Ala-Too University](https://my.alatoo.edu.kg/images/logo_text.png)

View File

@@ -122,6 +122,7 @@
* [Калибровка камеры (legacy)](camera_calib.md)
* [Управление дроном для оценки позы человека](human_pose_estimation_drone_control.md)
* [Распознавание видов агрокультур](agriculture.md)
* [Граффити коптер D-drone](ddrone.md)
## Учебник

View File

@@ -3,3 +3,9 @@
CopterHack 2021 это командный конкурс по разработке проектов с открытым исходным кодом для платформы квадрокоптера "Клевер".
Все информацию о мероприятии смотрите на официальном сайте: https://ru.coex.tech/copterhack.
## Отчетные статьи команд-участников
|Команда|Проект|
|-|-|
|D-drone|[Граффити-коптер](ddrone.md)|

95
docs/ru/ddrone.md Normal file
View File

@@ -0,0 +1,95 @@
# Граффити коптер D-drone
<img class="center" src="../assets/ddrone/final.gif" width="600">
## Введение
Люди стремятся научить искусственный интеллект всему, что могут делать сами. Рисовать нас учат с детства. И почему бы не научить дрона рисовать? На данный момент коптеры и граффити набирают свою популярность. Поэтому мы решили совместить их.
## Модели и сборка
<img class="center" src="../assets/ddrone/full_holder.png" width="300">
<img class="center" src="../assets/ddrone/full_holder_in_real.jpg" width="300">
Для выполнения проекта вам нужно иметь в наличии:
- аэрозольная краска
- сервопривод MG90S;
- 3D-принтер;
- удлинитель распылителя;
- лента с липучкой (желательно);
- 4 длинных винта M4 или;
- 2-4 коротких самореза M4 или M3.
[Скачать](https://github.com/PerizatKurmanbaeva/D-drone/tree/master/details) и распечатать детали:
- держатель;
- винт;
- держатель стоек с гайкой;
- стойки (2 шт.);
- держатель для серво.
**Держатель баллончика.** Держатель баллончика прикрепляется к деке 4 винтами и гайками. Чтобы закрепить баллончик к держателю мы использовали ленту с липучкой. С помощью 4 гаек и винтов закрепляем деку с держателем сверху дрона.
Вес держателя: 90 г.
<img class="center" src="../assets/ddrone/holder.png" width="300">
Если диаметр баллончика меньше диаметра держателя, мы используем деталь в виде дуги, размером разницей между ними. Это помогает нам устойчиво закрепить баллончик.
**Схема нажатия.** Для нажатия клапана будем использовать винтовую передачу с неподвижной гайкой. К сервоприводу будут прикреплена планка с отверстиями, в которых будут входить стойки, закрепленные к гайке. Это помогает сервоприводу двигаться только по одной оси, вверх вниз. Также мы смоделировали крышку для кнопки баллончика, так как поверхность насадки не ровная.
<img class="center" src="../assets/ddrone/pressing_mechanism.png" width="300" >
<img class="center" src="../assets/ddrone/pressing_mechanism_in_real.jpg" width="300" >
## Перед запуском
### Настройка работы сервопривода
Перед запуском коптера нужно скачать [servo.py](https://github.com/PerizatKurmanbaeva/D-drone/blob/master/examples/servo.py) и перенести его на RPi. Можно просто скопировать и вставить используя буфер обмена. Или скопировать используя команду scp. Например, так:
```bash
scp servo.py pi@192.168.11.1:/home/pi
```
Затем выполнить удаленно на Raspberry Pi следующие команды:
```bash
sudo pigpiod
python servo.py
```
### Настройка веб-интерфейса
Нужно скачать [репозиторий](https://github.com/PerizatKurmanbaeva/visual_ddrone) в формате .zip. Копируем на RPi и распаковываем с помощью следующих команд:
```bash
scp visual_ddrone-master.zip pi@192.168.11.1:/home/pi
cd catkin_ws/src/clover/clover/www
unzip /home/pi/visual_ddrone-master.zip .
mv visual_ddrone-master ddrone
```
Теперь чтобы открыть веб-интерфейс нужно перейти по ссылке [http://192.168.11.1/clover/ddrone](http://192.168.11.1/clover/ddrone).
## Веб-интерфейс
Запуск нашего дрона осуществляется с помощью [веб-сайта](https://perizatkurmanbaeva.github.io/visual_ddrone). Веб-интерфейс позволяет рисовать и кодировать нарисованное в G-code. Данные координат будут переданы для дальнейшей обработки и исполнением коптером.
<img class="center" src="../assets/ddrone/screen_2.png" width="600">
Мы выбрали веб-интерфейс для управления коптера, потому что он легче и ближе для пользователя.
<img class="center" src="../assets/ddrone/instruction.png" width="300">
## Полеты
<iframe width="560" height="315" src="https://www.youtube.com/embed/ErtioCj5iMw" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
## Благодарность
Хотим выразить благодарность Международному университету Ала-Тоо за предоставленную финансовую помощь в осущствлении данного проекта.
![Ala-Too University](https://my.alatoo.edu.kg/images/logo_text.png)