SlideShare uma empresa Scribd logo
1 de 12
ROME 11-12 april 2014ROME 11-12 april 2014
Come Fly With Me
Marco Minerva
Mail: marco.minerva@gmail.com
Blog: http://www.marcominerva.wordpress.com
Twitter: @marcominerva
Marco Dal Pino
Mail: m.dalpino@dpcons.com
Blog: [ITA] mobileprog.net [ENG] mobileprog.com
Twitter: @marcodalpino
Marco Minerva e Marco Dal Pino
ROME 11-12 april 2014 - Marco Minerva & Marco Dal Pino
Agenda
• Droni alla riscossa
• AR.Drone 2.0
• Come si controlla?
• Wi-Fi con Windows 8 & Windows Phone
• Xbox Controller
• Let’s start the fun
ROME 11-12 april 2014 - Marco Minerva & Marco Dal Pino
Drone
• Un aeromobile a pilotaggio remoto (APR), comunemente noto come drone, è
un velivolo caratterizzato dall'assenza del pilota umano a bordo. Il suo volo è
controllato dal computer a bordo del velivolo, sotto il controllo remoto di un
navigatore o pilota, sul terreno o in un altro veicolo.
ROME 11-12 april 2014 - Marco Minerva & Marco Dal Pino
ROME 11-12 april 2014 - Marco Minerva & Marco Dal Pino
AR.Drone 2.0
• Propria rete wireless
• I comandi devono essere inviati via UDP all’indirizzo 192.168.1.1, porta 5556
• I comandi sono stringhe in formato AT
• AT*REF, per decollo/atterraggio e stop di emergenza
• AT*CMD, per controllare il drone durante il volo (direzione, altitudine)
• E’ necessario inviare continuamente comandi
• Developer Guide disponibile su
• http://www.msh-tools.com/ardrone/
• ARDrone_Developer_Guide.pdf
ROME 11-12 april 2014 - Marco Minerva & Marco Dal Pino
On board camera
• Risoluzione HD 1280x720 (720p)
• Invia stream video via Tcp sulla porta 5555
• Frame spezzati (necessaria ricomposizione prima della visualizzazione sul
client)
• Registrazione diretta su chiavetta USB dello stream video
ROME 11-12 april 2014 - Marco Minerva & Marco Dal Pino
Come si controlla? Wi-Fi
• Stesse API su Windows 8/8.1 e Windows Phone
Windows.Networking.Sockets
Connessione con TCP
Connessione con Bluetooth
Rfcomm
Connessione con UDP
StreamSocket DatagramSocket
ROME 11-12 april 2014 - Marco Minerva & Marco Dal Pino
StreamSocket
ROME 11-12 april 2014 - Marco Minerva & Marco Dal Pino
DatagramSocket
ROME 11-12 april 2014 - Marco Minerva & Marco Dal Pino
Xbox Controller
• Supporto nativo su Windows 8
• Si utilizza tramite DirectX
• Esistono wrapper managed per utilizzarle nelle Windows Store app
• SharpDX: http://sharpdx.org
ROME 11-12 april 2014 - Marco Minerva & Marco Dal Pino
Da dove siamo partiti…
ROME 11-12 april 2014 - Marco Minerva & Marco Dal Pino
E ora…
Come Fly With Me

Mais conteúdo relacionado

Mais de Codemotion

Fuzz-testing: A hacker's approach to making your code more secure | Pascal Ze...
Fuzz-testing: A hacker's approach to making your code more secure | Pascal Ze...Fuzz-testing: A hacker's approach to making your code more secure | Pascal Ze...
Fuzz-testing: A hacker's approach to making your code more secure | Pascal Ze...Codemotion
 
Pompili - From hero to_zero: The FatalNoise neverending story
Pompili - From hero to_zero: The FatalNoise neverending storyPompili - From hero to_zero: The FatalNoise neverending story
Pompili - From hero to_zero: The FatalNoise neverending storyCodemotion
 
Pastore - Commodore 65 - La storia
Pastore - Commodore 65 - La storiaPastore - Commodore 65 - La storia
Pastore - Commodore 65 - La storiaCodemotion
 
Pennisi - Essere Richard Altwasser
Pennisi - Essere Richard AltwasserPennisi - Essere Richard Altwasser
Pennisi - Essere Richard AltwasserCodemotion
 
Michel Schudel - Let's build a blockchain... in 40 minutes! - Codemotion Amst...
Michel Schudel - Let's build a blockchain... in 40 minutes! - Codemotion Amst...Michel Schudel - Let's build a blockchain... in 40 minutes! - Codemotion Amst...
Michel Schudel - Let's build a blockchain... in 40 minutes! - Codemotion Amst...Codemotion
 
Richard Süselbeck - Building your own ride share app - Codemotion Amsterdam 2019
Richard Süselbeck - Building your own ride share app - Codemotion Amsterdam 2019Richard Süselbeck - Building your own ride share app - Codemotion Amsterdam 2019
Richard Süselbeck - Building your own ride share app - Codemotion Amsterdam 2019Codemotion
 
Eward Driehuis - What we learned from 20.000 attacks - Codemotion Amsterdam 2019
Eward Driehuis - What we learned from 20.000 attacks - Codemotion Amsterdam 2019Eward Driehuis - What we learned from 20.000 attacks - Codemotion Amsterdam 2019
Eward Driehuis - What we learned from 20.000 attacks - Codemotion Amsterdam 2019Codemotion
 
Francesco Baldassarri - Deliver Data at Scale - Codemotion Amsterdam 2019 -
Francesco Baldassarri  - Deliver Data at Scale - Codemotion Amsterdam 2019 - Francesco Baldassarri  - Deliver Data at Scale - Codemotion Amsterdam 2019 -
Francesco Baldassarri - Deliver Data at Scale - Codemotion Amsterdam 2019 - Codemotion
 
Martin Förtsch, Thomas Endres - Stereoscopic Style Transfer AI - Codemotion A...
Martin Förtsch, Thomas Endres - Stereoscopic Style Transfer AI - Codemotion A...Martin Förtsch, Thomas Endres - Stereoscopic Style Transfer AI - Codemotion A...
Martin Förtsch, Thomas Endres - Stereoscopic Style Transfer AI - Codemotion A...Codemotion
 
Melanie Rieback, Klaus Kursawe - Blockchain Security: Melting the "Silver Bul...
Melanie Rieback, Klaus Kursawe - Blockchain Security: Melting the "Silver Bul...Melanie Rieback, Klaus Kursawe - Blockchain Security: Melting the "Silver Bul...
Melanie Rieback, Klaus Kursawe - Blockchain Security: Melting the "Silver Bul...Codemotion
 
Angelo van der Sijpt - How well do you know your network stack? - Codemotion ...
Angelo van der Sijpt - How well do you know your network stack? - Codemotion ...Angelo van der Sijpt - How well do you know your network stack? - Codemotion ...
Angelo van der Sijpt - How well do you know your network stack? - Codemotion ...Codemotion
 
Lars Wolff - Performance Testing for DevOps in the Cloud - Codemotion Amsterd...
Lars Wolff - Performance Testing for DevOps in the Cloud - Codemotion Amsterd...Lars Wolff - Performance Testing for DevOps in the Cloud - Codemotion Amsterd...
Lars Wolff - Performance Testing for DevOps in the Cloud - Codemotion Amsterd...Codemotion
 
Sascha Wolter - Conversational AI Demystified - Codemotion Amsterdam 2019
Sascha Wolter - Conversational AI Demystified - Codemotion Amsterdam 2019Sascha Wolter - Conversational AI Demystified - Codemotion Amsterdam 2019
Sascha Wolter - Conversational AI Demystified - Codemotion Amsterdam 2019Codemotion
 
Michele Tonutti - Scaling is caring - Codemotion Amsterdam 2019
Michele Tonutti - Scaling is caring - Codemotion Amsterdam 2019Michele Tonutti - Scaling is caring - Codemotion Amsterdam 2019
Michele Tonutti - Scaling is caring - Codemotion Amsterdam 2019Codemotion
 
Pat Hermens - From 100 to 1,000+ deployments a day - Codemotion Amsterdam 2019
Pat Hermens - From 100 to 1,000+ deployments a day - Codemotion Amsterdam 2019Pat Hermens - From 100 to 1,000+ deployments a day - Codemotion Amsterdam 2019
Pat Hermens - From 100 to 1,000+ deployments a day - Codemotion Amsterdam 2019Codemotion
 
James Birnie - Using Many Worlds of Compute Power with Quantum - Codemotion A...
James Birnie - Using Many Worlds of Compute Power with Quantum - Codemotion A...James Birnie - Using Many Worlds of Compute Power with Quantum - Codemotion A...
James Birnie - Using Many Worlds of Compute Power with Quantum - Codemotion A...Codemotion
 
Don Goodman-Wilson - Chinese food, motor scooters, and open source developmen...
Don Goodman-Wilson - Chinese food, motor scooters, and open source developmen...Don Goodman-Wilson - Chinese food, motor scooters, and open source developmen...
Don Goodman-Wilson - Chinese food, motor scooters, and open source developmen...Codemotion
 
Pieter Omvlee - The story behind Sketch - Codemotion Amsterdam 2019
Pieter Omvlee - The story behind Sketch - Codemotion Amsterdam 2019Pieter Omvlee - The story behind Sketch - Codemotion Amsterdam 2019
Pieter Omvlee - The story behind Sketch - Codemotion Amsterdam 2019Codemotion
 
Dave Farley - Taking Back “Software Engineering” - Codemotion Amsterdam 2019
Dave Farley - Taking Back “Software Engineering” - Codemotion Amsterdam 2019Dave Farley - Taking Back “Software Engineering” - Codemotion Amsterdam 2019
Dave Farley - Taking Back “Software Engineering” - Codemotion Amsterdam 2019Codemotion
 
Joshua Hoffman - Should the CTO be Coding? - Codemotion Amsterdam 2019
Joshua Hoffman - Should the CTO be Coding? - Codemotion Amsterdam 2019Joshua Hoffman - Should the CTO be Coding? - Codemotion Amsterdam 2019
Joshua Hoffman - Should the CTO be Coding? - Codemotion Amsterdam 2019Codemotion
 

Mais de Codemotion (20)

Fuzz-testing: A hacker's approach to making your code more secure | Pascal Ze...
Fuzz-testing: A hacker's approach to making your code more secure | Pascal Ze...Fuzz-testing: A hacker's approach to making your code more secure | Pascal Ze...
Fuzz-testing: A hacker's approach to making your code more secure | Pascal Ze...
 
Pompili - From hero to_zero: The FatalNoise neverending story
Pompili - From hero to_zero: The FatalNoise neverending storyPompili - From hero to_zero: The FatalNoise neverending story
Pompili - From hero to_zero: The FatalNoise neverending story
 
Pastore - Commodore 65 - La storia
Pastore - Commodore 65 - La storiaPastore - Commodore 65 - La storia
Pastore - Commodore 65 - La storia
 
Pennisi - Essere Richard Altwasser
Pennisi - Essere Richard AltwasserPennisi - Essere Richard Altwasser
Pennisi - Essere Richard Altwasser
 
Michel Schudel - Let's build a blockchain... in 40 minutes! - Codemotion Amst...
Michel Schudel - Let's build a blockchain... in 40 minutes! - Codemotion Amst...Michel Schudel - Let's build a blockchain... in 40 minutes! - Codemotion Amst...
Michel Schudel - Let's build a blockchain... in 40 minutes! - Codemotion Amst...
 
Richard Süselbeck - Building your own ride share app - Codemotion Amsterdam 2019
Richard Süselbeck - Building your own ride share app - Codemotion Amsterdam 2019Richard Süselbeck - Building your own ride share app - Codemotion Amsterdam 2019
Richard Süselbeck - Building your own ride share app - Codemotion Amsterdam 2019
 
Eward Driehuis - What we learned from 20.000 attacks - Codemotion Amsterdam 2019
Eward Driehuis - What we learned from 20.000 attacks - Codemotion Amsterdam 2019Eward Driehuis - What we learned from 20.000 attacks - Codemotion Amsterdam 2019
Eward Driehuis - What we learned from 20.000 attacks - Codemotion Amsterdam 2019
 
Francesco Baldassarri - Deliver Data at Scale - Codemotion Amsterdam 2019 -
Francesco Baldassarri  - Deliver Data at Scale - Codemotion Amsterdam 2019 - Francesco Baldassarri  - Deliver Data at Scale - Codemotion Amsterdam 2019 -
Francesco Baldassarri - Deliver Data at Scale - Codemotion Amsterdam 2019 -
 
Martin Förtsch, Thomas Endres - Stereoscopic Style Transfer AI - Codemotion A...
Martin Förtsch, Thomas Endres - Stereoscopic Style Transfer AI - Codemotion A...Martin Förtsch, Thomas Endres - Stereoscopic Style Transfer AI - Codemotion A...
Martin Förtsch, Thomas Endres - Stereoscopic Style Transfer AI - Codemotion A...
 
Melanie Rieback, Klaus Kursawe - Blockchain Security: Melting the "Silver Bul...
Melanie Rieback, Klaus Kursawe - Blockchain Security: Melting the "Silver Bul...Melanie Rieback, Klaus Kursawe - Blockchain Security: Melting the "Silver Bul...
Melanie Rieback, Klaus Kursawe - Blockchain Security: Melting the "Silver Bul...
 
Angelo van der Sijpt - How well do you know your network stack? - Codemotion ...
Angelo van der Sijpt - How well do you know your network stack? - Codemotion ...Angelo van der Sijpt - How well do you know your network stack? - Codemotion ...
Angelo van der Sijpt - How well do you know your network stack? - Codemotion ...
 
Lars Wolff - Performance Testing for DevOps in the Cloud - Codemotion Amsterd...
Lars Wolff - Performance Testing for DevOps in the Cloud - Codemotion Amsterd...Lars Wolff - Performance Testing for DevOps in the Cloud - Codemotion Amsterd...
Lars Wolff - Performance Testing for DevOps in the Cloud - Codemotion Amsterd...
 
Sascha Wolter - Conversational AI Demystified - Codemotion Amsterdam 2019
Sascha Wolter - Conversational AI Demystified - Codemotion Amsterdam 2019Sascha Wolter - Conversational AI Demystified - Codemotion Amsterdam 2019
Sascha Wolter - Conversational AI Demystified - Codemotion Amsterdam 2019
 
Michele Tonutti - Scaling is caring - Codemotion Amsterdam 2019
Michele Tonutti - Scaling is caring - Codemotion Amsterdam 2019Michele Tonutti - Scaling is caring - Codemotion Amsterdam 2019
Michele Tonutti - Scaling is caring - Codemotion Amsterdam 2019
 
Pat Hermens - From 100 to 1,000+ deployments a day - Codemotion Amsterdam 2019
Pat Hermens - From 100 to 1,000+ deployments a day - Codemotion Amsterdam 2019Pat Hermens - From 100 to 1,000+ deployments a day - Codemotion Amsterdam 2019
Pat Hermens - From 100 to 1,000+ deployments a day - Codemotion Amsterdam 2019
 
James Birnie - Using Many Worlds of Compute Power with Quantum - Codemotion A...
James Birnie - Using Many Worlds of Compute Power with Quantum - Codemotion A...James Birnie - Using Many Worlds of Compute Power with Quantum - Codemotion A...
James Birnie - Using Many Worlds of Compute Power with Quantum - Codemotion A...
 
Don Goodman-Wilson - Chinese food, motor scooters, and open source developmen...
Don Goodman-Wilson - Chinese food, motor scooters, and open source developmen...Don Goodman-Wilson - Chinese food, motor scooters, and open source developmen...
Don Goodman-Wilson - Chinese food, motor scooters, and open source developmen...
 
Pieter Omvlee - The story behind Sketch - Codemotion Amsterdam 2019
Pieter Omvlee - The story behind Sketch - Codemotion Amsterdam 2019Pieter Omvlee - The story behind Sketch - Codemotion Amsterdam 2019
Pieter Omvlee - The story behind Sketch - Codemotion Amsterdam 2019
 
Dave Farley - Taking Back “Software Engineering” - Codemotion Amsterdam 2019
Dave Farley - Taking Back “Software Engineering” - Codemotion Amsterdam 2019Dave Farley - Taking Back “Software Engineering” - Codemotion Amsterdam 2019
Dave Farley - Taking Back “Software Engineering” - Codemotion Amsterdam 2019
 
Joshua Hoffman - Should the CTO be Coding? - Codemotion Amsterdam 2019
Joshua Hoffman - Should the CTO be Coding? - Codemotion Amsterdam 2019Joshua Hoffman - Should the CTO be Coding? - Codemotion Amsterdam 2019
Joshua Hoffman - Should the CTO be Coding? - Codemotion Amsterdam 2019
 

Come fly with me - Minerva and Del Pino

  • 1. ROME 11-12 april 2014ROME 11-12 april 2014 Come Fly With Me Marco Minerva Mail: marco.minerva@gmail.com Blog: http://www.marcominerva.wordpress.com Twitter: @marcominerva Marco Dal Pino Mail: m.dalpino@dpcons.com Blog: [ITA] mobileprog.net [ENG] mobileprog.com Twitter: @marcodalpino Marco Minerva e Marco Dal Pino
  • 2. ROME 11-12 april 2014 - Marco Minerva & Marco Dal Pino Agenda • Droni alla riscossa • AR.Drone 2.0 • Come si controlla? • Wi-Fi con Windows 8 & Windows Phone • Xbox Controller • Let’s start the fun
  • 3. ROME 11-12 april 2014 - Marco Minerva & Marco Dal Pino Drone • Un aeromobile a pilotaggio remoto (APR), comunemente noto come drone, è un velivolo caratterizzato dall'assenza del pilota umano a bordo. Il suo volo è controllato dal computer a bordo del velivolo, sotto il controllo remoto di un navigatore o pilota, sul terreno o in un altro veicolo.
  • 4. ROME 11-12 april 2014 - Marco Minerva & Marco Dal Pino
  • 5. ROME 11-12 april 2014 - Marco Minerva & Marco Dal Pino AR.Drone 2.0 • Propria rete wireless • I comandi devono essere inviati via UDP all’indirizzo 192.168.1.1, porta 5556 • I comandi sono stringhe in formato AT • AT*REF, per decollo/atterraggio e stop di emergenza • AT*CMD, per controllare il drone durante il volo (direzione, altitudine) • E’ necessario inviare continuamente comandi • Developer Guide disponibile su • http://www.msh-tools.com/ardrone/ • ARDrone_Developer_Guide.pdf
  • 6. ROME 11-12 april 2014 - Marco Minerva & Marco Dal Pino On board camera • Risoluzione HD 1280x720 (720p) • Invia stream video via Tcp sulla porta 5555 • Frame spezzati (necessaria ricomposizione prima della visualizzazione sul client) • Registrazione diretta su chiavetta USB dello stream video
  • 7. ROME 11-12 april 2014 - Marco Minerva & Marco Dal Pino Come si controlla? Wi-Fi • Stesse API su Windows 8/8.1 e Windows Phone Windows.Networking.Sockets Connessione con TCP Connessione con Bluetooth Rfcomm Connessione con UDP StreamSocket DatagramSocket
  • 8. ROME 11-12 april 2014 - Marco Minerva & Marco Dal Pino StreamSocket
  • 9. ROME 11-12 april 2014 - Marco Minerva & Marco Dal Pino DatagramSocket
  • 10. ROME 11-12 april 2014 - Marco Minerva & Marco Dal Pino Xbox Controller • Supporto nativo su Windows 8 • Si utilizza tramite DirectX • Esistono wrapper managed per utilizzarle nelle Windows Store app • SharpDX: http://sharpdx.org
  • 11. ROME 11-12 april 2014 - Marco Minerva & Marco Dal Pino Da dove siamo partiti…
  • 12. ROME 11-12 april 2014 - Marco Minerva & Marco Dal Pino E ora… Come Fly With Me