Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
ミニ四駆チキンレース参戦記(敗)
Search
Google Homer
June 21, 2019
Technology
1.2k
1
Share
ミニ四駆チキンレース参戦記(敗)
Google Homer
June 21, 2019
More Decks by Google Homer
See All by Google Homer
意外とお手軽Donkey AI Car(ありがとうIoTLT)
googlehomer
0
750
ゆるふわマシンラーニング×ゆるメカトロでDonkey AI Car
googlehomer
0
330
私Servoですけど、ぐるぐる回りますが 何か ?!
googlehomer
0
410
The latest information on obniz for all of IoTLT’s
googlehomer
1
330
IoTLT vol.58@SoftBank IoTLT木曜サスペンス劇場
googlehomer
0
810
micro:bitはobnizの夢をみるか?
googlehomer
1
850
Invitation for RPA next stage @UiPathFriendsライトニングトークナイト2019
googlehomer
0
110
M5StickC Block Programming UiFLOW @ ビジュアルプログラミング交流会
googlehomer
1
720
Smart Speaker & IoT @東北TECH道場 八戸道場
googlehomer
0
150
Other Decks in Technology
See All in Technology
小さいVue.jsを30分で作る
hal_spidernight
0
150
新卒エンジニア研修、ハンズオンの設計における課題と実践知/ #tachikawaany
nishiuma
2
140
Databricks 月刊サービスアップデートまとめ 2026年04月号
tyosi1212
0
110
20260516_SecJAWS_Days
takuyay0ne
2
320
ESP32 IoTを動かしながらメモリ使用量を観測してみた話
zozotech
PRO
0
110
世界の中心でApp Runnerを叫ぶ FINAL
tsukuboshi
0
260
「QA=テスト」「シフトレフト=スクラムイベントの参加者の一員」の呪縛を解く。アジャイルな開発を止めないために、10Xで挑んだ「右側のしわ寄せ」解消記 #scrumniigata
nihonbuson
PRO
5
1.1k
The 7 pitfalls of AI
ufried
0
210
20260507-ACL-seminar
satoshi5884
0
110
会社説明資料|株式会社ギークプラス ソフトウェア事業部
geekplus_tech
0
220
エンタープライズの厳格な制約を開発者に意識させない:クラウドネイティブ開発基盤設計/cloudnative-kaigi-golden-path
mhrtech
0
400
Oracle AI Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
4
2.5k
Featured
See All Featured
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.5k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
130
ラッコキーワード サービス紹介資料
rakko
1
3.3M
Statistics for Hackers
jakevdp
799
230k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.4k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
130
Discover your Explorer Soul
emna__ayadi
2
1.1k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
910
Evolving SEO for Evolving Search Engines
ryanjones
0
190
Darren the Foodie - Storyboard
khoart
PRO
3
3.3k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.9k
Transcript
Google Homer IoT LT vol.52@ 2019年6月21日 チキン野郎 ミニ四駆チキンレース 参戦記 (敗)
こだわったこと ミニ四駆 速く、カッコよく !
小型化 : obniz 大貢献 距離センサー、DC Motor直挿し
いざ 爆走
0 500 1000 1500 2000 2500 3000 3500 4000 1
2 3 4 5 6 7 8 9 10 11 12 13 14 mm Case-1計測距離 〇 怠惰な超音波距離センサー 0 500 1000 1500 2000 2500 3000 3500 4000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 Case-2 計測距離 mm ×
キャリブレで悪化って? ナメてる !
150 200 250 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 超音波距離センサー遅っ ! 210ms / 回 by using obniz SDK
・ 走行速度 : 5000 mm / 2000 mm = 2.5mm
/ ms ・ 計測速度 : 210 ms / 回 ・ キャリブレ中の移動距離 2.5 mm / ms × 210 ms / 回 × 3 回 = 1574 mm キャリブレ中に1.5mも前進
フィードバック 制御不可 作戦変更へ
ダッシュタイマー + 接近センサー 短距離なので高速な赤外線センサーに変更 ( 30ms/回 1m~10cm )
追い込 み開始
フローリング カーペット 床の種類で全然走りが違う
自宅にORACLE Officeを再現
90g 増 (単四×4本) で速度20%低下 1100mm/500ms = 2.2mm/ms 1400mm/500ms = 2.8mm/ms
DC Motor ネイティブ obniz&Li-Po 軽量化に大貢献 Li-Po 7.4V 400mAh DDC 5V
逆回転のブレーキで90cm 短縮 電源OFF 420 cm 逆回転 330 cm (参考) ショートブレーキは
あまり効果なかった。
190cm スリックタイヤでブレーキ20cm 短縮 スリック ローハイト バレル 200cm 210cm
正確なWaitで正確な接近 0 50 100 150 200 1 2 3 4
5 6 7 8 9 0 50 100 150 200 1 2 3 4 5 6 7 8 9 mm mm 回目 回目 30msWait時間/回 30msWait時間/回 〇 ×
s = new Date(); while ( new Date() - s
< 30 ) { await obniz.wait(0); } await obniz.wait(30); 正確なWaitの仕掛け
RPAで試験統計分析自動化 RPAツール:UiPath
0 200 400 600 1 2 3 4 5 6
7 8 9 10 0 5 10 15 1 2 3 4 5 6 7 8 9 10 46 ~2 cm 1.5 ~ 0 cm ブレーキ停止 壁際停止 試験走行1200回 、最終結果 回目 回目 mm mm
当日のリハーサル結果
決 勝 戦
private_CAR_MINIYONKU_C.html:64 RUN_SET : 1900 private_CAR_MINIYONKU_C.html:65 RUN_TIME : 1912 private_CAR_MINIYONKU_C.html:66 REW_SET
: 900 private_CAR_MINIYONKU_C.html:67 REW_TIME : 905 private_CAR_MINIYONKU_C.html:68 STOP Point : 438 private_CAR_MINIYONKU_C.html:69 GOAL Point : obniz.js:7987 ' failed : Error during WebSocket 決勝戦 obniz console.log mm 電 源
obniz IoTハードル下げまくり !! 企画 谷本さん 楽しかったぁ~、ありがとう。次回も、超楽しみ! 優勝 稲玉さん ( 四日市のミニ四駆芸人
) 車輪にエンコーダー埋め込むとは 反則 神かよ! 感服! = = ま と め = =