PyLadies and the importance of community participationLina Katayose
?
The document discusses PyLadies, a global community for women Python developers. It describes PyLadies Tokyo, a local chapter that organizes monthly meetups to learn Python skills. The author shares that through PyLadies, they gained confidence to output their knowledge by writing blog posts and being active on social media. Community participation provides both input through learning and output through teaching others.
Making a Drone by Python using RaspberryPi and Google VoiceKitLina Katayose
?
I will introduce the technique that I used to make a drone using RaspberryPi and Google VoiceKit by Python. The VoiceKit looks like making a smart speaker in combination with a RaspberryPy, but it can move up to 4 motors and servos with a simple Python code, too. And I’ll do a flying demonstration.
Lina Katayose is preparing to attend PyCon 2018 in Cleveland from May 10-15. She outlines her schedule which includes joining the PyLadies Lunch event. Her preparations include practicing her English skills, registering for the conference website and ESTA travel authorization, booking flights and a nearby hotel, and checking emails from PyCon. She is excited to attend PyCon as she missed the previous conference in Portland, and plans to document her experience on social media.
2. 今日話すこと Talk Description
?自己紹介 Self-introduction
?目的 What is the purpose
?過去のトークと進歩 Past two talks and progress
?できた事&できなかった事 Solution methodology
?Pythonとドローンの相性「まとめ」 Python and drone congeniality
?TELLOをPythonで動かす Run Tello (small drone) with Python
?コード紹介とデモ映像 Flying demonstration movie and code
2
6. What is the purpose
? みんながドローンを簡単に飛ばせる仕組みを作りたい。
I want to create a mechanism that makes it easy for everyone to fly a drone.
? ドローンをハックし、安全に改造できるようにしたい。
I want to hack a drone so that it can be safely modified.
6
7. What is the purpose
? 小中学生向け、プログラミング&電子工作の勉強のために。
? 気軽に作成できるプラットフォームを開発。
? 前回の発表では、ブラシレスモーターを回す仕組みに焦点を
当てたが、今回は以下に簡単にモーターを4つ回しプログラム
で動かすかに焦点を当てた。
? I amdevelopinga platformthat elementary andjunior high
school students cancasually create while studying
programmingandelectronic work.It is educational andnot a
full-blowndrone development.
(別途進めている。)本格的なドローンはArduinoなどのマイコンを併用予定
7
3
9. Past talk summary
?2017年 (PyConJP)
ドローンのフライトコントローラを笔测迟丑辞苍で制御してみた话
A story of controlling a drone flight controller with Python
?2018年(PyConJP PSFは英語)
Make a Drone using RaspberryPi
and Google VoiceKit by Python
?2019年 (別のイベント)
過去のトーク内容をより精査?改良を行い、イベントを開催
Held an event by further examining and improving the contents of past talks
9
10. Past talk summary (2017)
(ドローンのフライトコントローラを笔测迟丑辞苍で制御してみた话)
?ドローンの概要説明 Drone overview
?ドローンの飛ぶ仕組み等 Drone flying mechanism, etc.
?Pythonでドローンのフライトコントローラを作ろうと
した話
A story trying to make a drone flight controller with Python
10
2017
12. Past talk summary(2018)
(Make a Drone using RaspberryPi and Google VoiceKit by Python)
?ラズベリーパイで4つのモーターをコントロール
?モーター4つを別々に動かすためのライブラリと
Pythonコード
?ハードと電流問題
12
2018
30. Run Tello with Python
30
TELLOはこちらです。性能や種類も異なります。
左は普通のTELLO 右がTELLO EDU
TELLO is here. Performance and type are also different.
The left is normal TELLO and the right is TELLO EDU
31. Run Tello with Python
Python
31
指示系統イメージ
Connection image
姿勢制御など細かな制御はTELLO内で行う(Pythonでは動かせない)
Detailed control such as posture control is performed in TELLO.(Not possible in Python)
移動するためのコマンドを送る。
TELLOの状態を知るコマンドもここで送る。
Send a command to move TELLO.
A command to know the status of TELLO is also sent here.
カメラやセンサー情報が
TELLOから送られる。
Camera and sensor
information is sent from TELLO
WiFi
32. Run Tello with Python
32
TELLOを動かすために
このTello SDKを使って動かすと簡単です。
(方法は他にもありますが、今回はPythonで説明)
動かし方の詳細は
BLOGに記載していますのでご覧ください。
https://se-lina.hatenablog.com/entry/2020/08/16/110723
ざっくりとした説明ですが、
PCとTELLOをWiFi(UDP通信)でつなぎ、
Pythonコードで直接動かすイメージです。
It's easy to run TELLO using this Tello SDK.
It is an image that connects PC and TELLO
with WiFi (UDP communication) and directly
operates with Python code.
For details, please see the BLOG.
日本語訳
作りました!
34. Flying movie and code
34
時間の指示と
動くためのコードを書くだけで
飛ばすことができます。
15秒間何も指示がない場合は、
自動的に着陸します。(仕様上)
実験をしているときに、誤動作が起きました。
念のため、緊急停止プログラムを作っていると
よいでしょう。
codeは整理してGitHubにあげる予定。
TELLO can be fly by writing the time and
the code to move.
It will land automatically if no instructions are given
for 15 seconds.
While doing the experiment, a malfunction occurred.
Just in case, it's a good idea to have an emergency
stop program.
I will be uproad the code to GitHub.