How to fly a drone with programming by IchigoJam! / IchigoDakeでドローン “Tello” をプログラミングする方法!

I got a DJI Tello EDU.

DJI Tello EDUを入手。

It is a programmable drone.

プログラミング可能なドローンです。

Let’s try programming with IchigoDake(IchigoJam).

それではIchigoDake(IchigoJam)でプログラムしてみましょう。

var tello="MJ UDP 192.168.10.1 8889 ";

uart(tello,"command","\n");
sleep(1000);
uart(tello,"takeoff","\n");
sleep(5000);
uart(tello,"flip b" ,"\n");
sleep(5000);
uart(tello,"forward 250","\n");
sleep(5000);
uart(tello,"land" ,"\n");
sleep(5000);

This is source code of IchigoLatte JavaScript.

これはIchigoLatte JavaScriptの場合のプログラム。

10 ?"MJ UDP 192.168.10.1 8889 command":WAIT60
20 ?"MJ UDP 192.168.10.1 8889 takeoff":WAIT300
30 ?"MJ UDP 192.168.10.1 8889 flip b":WAIT300
40 ?"MJ UDP 192.168.10.1 8889 forward 200":WAIT300
50 ?"MJ UDP 192.168.10.1 8889 land":WAIT300

This is source code of IchigoJam BASIC.

これはIchigoJam BASICの場合のプログラム。

When the program is completed, Tello will take off just by stabbing it into MixJuice(WiFi board). (This MixJuice is developing version.)

プログラムができたら、MixJuice(WiFiボード)に刺すだけで飛び立ちます。(開発版MixJuiceです。)

Like this. Awesome DJI Tello EDU.

こんな感じ。いいね、DJI Tello EDU

We can play the “Drone4Kuu” maybe!

何年も前からやろうとしている「ドロ四空」、できちゃうかも!









.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s