Ce diaporama a bien été signalé.
Nous utilisons votre profil LinkedIn et vos données d’activité pour vous proposer des publicités personnalisées et pertinentes. Vous pouvez changer vos préférences de publicités à tout moment.

Node.jsでDroneたちをめっちゃ簡単にHACKする話 JSオジサン#6

3 916 vues

Publié le

三日間連続!JSオジサン#6の初日でお話ししました

Publié dans : Ingénierie
  • DOWNLOAD THAT BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full doc Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download doc Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book that can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer that is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story That Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money That the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths that Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Répondre 
    Voulez-vous vraiment ?  Oui  Non
    Votre message apparaîtra ici

Node.jsでDroneたちをめっちゃ簡単にHACKする話 JSオジサン#6

  1. 1. NODE.JS + DRONE = SKYHACK!! JS OJISAN #6 DEC.15
  2. 2. WHO ARE YOU? TAMI TAMIYA YUKIKO ▸ iOS Engineer (Android/ WebView/WebFront) ▸ geechs co. (ここ) ▸ セブから生まれました ▸ Milkcocoa Girls ▸ オッサン女子:beers::beers: ▸ 趣味: 空を飛ぶ!!
  3. 3. ? QUESTION
  4. 4. SKY HACK
  5. 5. IS
  6. 6. SO EASY!!
  7. 7. NODE.JS で SKYHACK!! INDEX ▸WHY DRONE? ▸NodeCopter 3MIN HACKING!! ▸つくってみた話
 SELFIEEEEE DRONE
  8. 8. ▸WHY DRONE ?
  9. 9. WHY DRONE? DRONE 7つの活用法 ▸1. 災害救助 ▸2. 地球上のあらゆる自然環境のリサーチ ▸3. ジャーナリズムへの活用 ▸4. アクロバットなスポーツの撮影 ▸5. 短時間でのモノの配達 ▸6. 3次元の空間を自由に使った広告 ▸7. ドローンを用いたレースやバトル http://blog.btrax.com/jp/2014/11/24/drone/ ビートラックスさんのブログより
  10. 10. WHY DRONE? DRONE 7つの活用法 ▸1. 災害救助 ▸2. 地球上のあらゆる自然環境のリサーチ ▸3. ジャーナリズムへの活用 ▸4. アクロバットなスポーツの撮影 ▸5. 短時間でのモノの配達 ▸6. 3次元の空間を自由に使った広告 ▸7. ドローンを用いたレースやバトル http://blog.btrax.com/jp/2014/11/24/drone/ ビートラックスさんのブログより 空の”産業”革命
  11. 11. BUT
  12. 12. もっと身近な存在にも なるんじゃないか?
  13. 13. WHY DRONE? B TO C ? 一家に一台?? 身近な存在に… ▸1. 安価になった (¥10,000位のものが普通に) ▸2. 安全性/安定性の向上 ▸3. 小型化 ▸4. オープンソースによるプラットフォーム化 ▸5. スタートアップの参入 (米国では既に117社!) セコムが家庭防犯用のドローンを月額5000円 (工事費80万 笑) で出すらしいよ! http://www.borg.media/secom-drone-start/
  14. 14. 200グラム以下の機体は対象外! WHY DRONE?
  15. 15. WHY DRONE? 政府:3年以内にドローン宅配を実現させる計画! 規制緩和の動きも
  16. 16. 今のうちから HACK しようよ!!
  17. 17. 今のうちから HACK しておこうよ!! JSオジサンにくる みなさんにだからこそ 伝えたい!!
  18. 18. ▸    + ARDrone
 3MIN HACKING!!
  19. 19. NODECOPTER 
 3MIN HACKING!! AR DRONE 2.0 ▸ 発売元 Parrot (フランス) ▸ 発売日: 2010/9/18 (1.0) OLD! ▸ 定価: ¥58,000 (Amazon)
 中古 ¥12,000くらいで購入 ▸ SDK公開 開発者に人気 ▸ SPEC
 Wifi
 1 Ghz CPU, 125 MB Memory
 HD Front camera,
 Low res bottom camera
 Linux (BusyBox)
  20. 20. NODECOPTER 
 3MIN HACKING!! RECENT DRONES BEBOP DRONE MINI DRONE Phantom3 : DJI(中国) プログラミング不可 自律制御 Hubsan X4 HD Holy Stone Phenox2 : 東大ベンチャー(日本) 自律制御システム研究所 (日本) MicroDrone (ロンドン) Crazy file(スウェーデン) Parrot (フランス)
  21. 21. NODECOPTER 
 3MIN HACKING!! HTTP://WWW.NODECOPTER.COM/
  22. 22. NODECOPTER 
 3MIN HACKING!! ▸ 世界中から集まる Node.js Drone Developer のチーム ▸ 独自イベント、JSConf
  23. 23. NODECOPTER 
 3MIN HACKING!! HOW TO HACKING?
  24. 24. 3 MIN
  25. 25. NODECOPTER 
 3MIN HACKING!! HOW TO HACKING? $ npm install ar-drone
  26. 26. NODECOPTER.JS 
 3MIN HACKING!! HOW TO HACKING? connect to “ardrone2” wifi Turn on the power Green light OK!→
  27. 27. NODECOPTER 
 3MIN HACKING!! HOW TO HACKING? var arDrone = require('ar-drone'); var client = arDrone.createClient(); client.takeoff(); //とべ!!
 client.after(5000, function() { //5秒後に this.land(); // 着陸 }); test.js
  28. 28. NODECOPTER 
 3MIN HACKING!! HOW TO HACKING? $ node test.js
  29. 29. SKY HACK
  30. 30. IS
  31. 31. SO EASY!!
  32. 32. NODECOPTER.JS 
 3MIN HACKING!! 以上。 ありがとうございましたー!
  33. 33. NODECOPTER.JS 
 3MIN HACKING!! HOW TO HACKING? ではやっぱり寂しいので・・・
  34. 34. NODECOPTER.JS 
 3MIN HACKING!! HOW TO HACKING? client.takeoff(callback) //離陸
 client.land(callback) //着陸
 client.up(speed) / client.down(speed) //上昇・下降
 client.clockwise(speed) / client.counterClockwise(speed)
 //回転 (speedは0~1で設定)
 client.front(speed) / client.back(speed) //前・後ろに進む
 client.left(speed) / client.right(speed) //左・右に進む
 client.stop() //止まる https://github.com/felixge/node-ar-drone node-ar-drone GITHUBに全部かいてあるよ!▼
  35. 35. NODECOPTER.JS 
 3MIN HACKING!! HOW TO HACKING? REPLでも実行可能
 repl.js
 var arDrone = require('ar-drone'); var client = arDrone.createClient(); client.createRepl();
 
 $ node repl.js > takeoff(); > land(); https://github.com/felixge/node-ar-drone node-ar-drone GITHUBに全部かいてあるよ!▼
  36. 36. ▸何かつくってみた話
  37. 37. BOCCHITHON SELFIEEEEEDRONE 新しいSELFIEのカタチ
  38. 38. SELFIEEEEEDRONE
  39. 39. SELFIEEEEEDRONE とりあえず  1枚撮ってみましょう!
  40. 40. client.getPngStream(); localhost:1337;
 pngStream専用 socket.on(‘startSelfee’, function(data) {
 dTakeoff();
 }); SELFIEEEEEDRONE ブラウザ上 emit カウントダウン
 0になったら・・ socket.on(‘getPng’, function(data) {
 dland();
 stopper = true;
 }); emit localhost:3000;
 アクション処理、fs
  41. 41. 開発してみて・・ ▸初飛行はめちゃめちゃ感動する・・!! ▸家で飛ばすにはうるさいのと風圧すごいのと家具破壊注意
 (ARDroneの場合で、Minidroneはもっと安定してる) ▸途中でエラー吐くと止められなくなったりするので対策を! ▸node.js の知識あるなら速攻で開発可能! ▸資料本当に少ない(特に日本語)。ARDroneはまだ豊富。
 Parrot製品ならDeveloperのコミュニティサイトあり(英語) ▸Minidrone でおうちハックしたいがnode.jsでできることは少ない> < http://developer.parrot.com/ SELFIEEEEEDRONE
  42. 42. BOCCHITHON 未来のSELFIE NIXIE http://flynixie.com/
  43. 43. BOCCHITHON client.on('navdata', function (d) { console.log(d); });
  44. 44. BOCCHITHON yc: [ 0, 0, 0, 0 ], width: [ 0, 0, 0, 0 ], height: [ 0, 0, 0, 0 ], dist: [ 0, 0, 0, 0 ], orientationAngle: [ 0, 0, 0, 0 ], rotation: [ [Object], [Object], [Object], [Objec translation: [ [Object], [Object], [Object], [Ob cameraSource: [ 0, 0, 0, 0 ] }, magneto: { mx: 32, my: 64, mz: -116, raw: { x: -220.5, y: -110.625, z: 414.609375 }, rectified: { x: -385.6456298828125, y: -84.28 414.609375 }, offset: { x: 165.14564514160156, y: -26.3436 0 }, heading: { unwrapped: 0, gyroUnwrapped: 0, fusionUnwrapped: 60.48354721069336 }, ok: 1, state: 513, radius: -0.005611538887023926, error: { mean: -43741.26171875, variance: -5.452909717115553e+31 } }, wifi: { linkQuality: 1 } } ultrasonicSensorDeaf: 0, cutoutDetected: 0, picVersionNumberOk: 1, atCodecThreadOn: 1, navdataThreadOn: 1, videoThreadOn: 1, acquisitionThreadOn: 1, controlWatchdogDelay: 0, adcWatchdogDelay: 0, comWatchdogProblem: 0, emergencyLanding: 0 }, sequenceNumber: 52938, visionFlag: 0, demo: { controlState: 'CTRL_LANDED', flyState: 'FLYING_OK', batteryPercentage: 74, rotation: { frontBack: 0.538, pitch: 0.538, theta: 0.538, y: 0.538, leftRight: -1.232, roll: -1.232, phi: -1.232, x: -1.232, clockwise: 60.483, yaw: 60.483, psi: 60.483, z: 60.483 }, frontBackDegrees: 0.538, leftRightDegrees: -1.232, clockwiseDegrees: 60.483, altitude: 0, altitudeMeters: 0, velocity: { x: 0, y: 0, z: 0 }, xVelocity: 0, yVelocity: 0, zVelocity: 0, frameIndex: 0, detection: { camera: [Object], tagIndex: 0 }, drone: { camera: [Object] } }, visionDetect: { nbDetected: 0, type: [ 0, 0, 0, 0 ], xc: [ 0, 0, 0, 0 ], { header: 1432778632, droneState: { flying: 0, videoEnabled: 0, visionEnabled: 0, controlAlgorithm: 0, altitudeControlAlgorithm: 1, startButtonState: 0, controlCommandAck: 0, cameraReady: 1, travellingEnabled: 0, usbReady: 0, navdataDemo: 1, navdataBootstrap: 0, motorProblem: 0, communicationLost: 0, softwareFault: 0, lowBattery: 0, userEmergencyLanding: 0, timerElapsed: 0, MagnometerNeedsCalibration: 0, anglesOutOfRange: 0, tooMuchWind: 0,
  45. 45. BOCCHITHON // web flight画面
  46. 46. ▸ 声で操作 ▸ OpenCVで画像認識 BOCCHITHON
  47. 47.
  48. 48. SKY HACK
  49. 49. IS
  50. 50. SO EASY!!
  51. 51. みんなも       しよう!! ありがとうございましたm(__)m SKY HACK

×