{"id":6507,"date":"2013-05-12T21:47:46","date_gmt":"2013-05-12T21:47:46","guid":{"rendered":"http:\/\/zerokidz.com\/ideas\/?p=6507"},"modified":"2014-06-12T02:55:41","modified_gmt":"2014-06-12T06:55:41","slug":"controlling-parrot-ar-drone2-with-max","status":"publish","type":"post","link":"https:\/\/reactivemusic.net\/?p=6507","title":{"rendered":"controlling Parrot AR drone2 with Max"},"content":{"rendered":"<div class=\"panel\">\n<p>5\/2014: see latest version here: <a href=\"https:\/\/reactivemusic.net\/?p=6635\">https:\/\/reactivemusic.net\/?p=6635<\/a><\/p>\n<\/div>\n<p>update &#8211; Got the drone today and ran successful test of takeoff, rotate, and land. Next thing to check out is how to get the drone on an existing wifi network&#8230;<\/p>\n<p><a href=\"http:\/\/nodecopter.com\/guides\/connect_to_access_point\">http:\/\/nodecopter.com\/guides\/connect_to_access_point<\/a><\/p>\n<p>To work with a WPA network requires installing a patch to the drone. <a href=\"https:\/\/github.com\/daraosn\/ardrone-wpa2\">https:\/\/github.com\/daraosn\/ardrone-wpa2<\/a><\/p>\n<p>One workaround for school networks would be to use 2 computers, one for the interenet &#8211; one for the drone &#8211; and then connect them with midi or something.<\/p>\n<p>This is a work in progress. Going to use the node.js code from the Irish train project for the OSC communication with Max.<\/p>\n<p>First, install ar-drone<\/p>\n<pre class=\"brush: actionscript3; gutter: true\">$ npm install ar-drone<\/pre>\n<p>Here&#8217;s the generic Max &lt;=&gt; node.js code using OSC. It handles OSC commands bidirectionally.<\/p>\n<ul>\n<li>internetsensors\/generic-node-OSC.js<\/li>\n<li>internetsensors\/generic-node-OSC.maxpat<\/li>\n<\/ul>\n<div>Next step is to plug in the basic drone commands like takeoff and land from the example code.<\/div>\n<div><\/div>\n<p>Here&#8217;s the initial drone testing code<\/p>\n<div>\n<ul>\n<li>internetsensors\/drone-test1.js<\/li>\n<li>internetsensors\/drone-test-max1.maxpat<\/li>\n<\/ul>\n<div>\n<h3>Writing Your First AR Drone + NodeJS Program<\/h3>\n<p><a href=\"http:\/\/drones.johnback.us\/blog\/2013\/01\/28\/writing-your-first-ar-drone-plus-nodejs-program\/\">http:\/\/drones.johnback.us\/blog\/2013\/01\/28\/writing-your-first-ar-drone-plus-nodejs-program\/<\/a><\/p>\n<\/div>\n<\/div>\n<div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>5\/2014: see latest version here: https:\/\/reactivemusic.net\/?p=6635 update &#8211; Got the drone today and ran successful test of takeoff, rotate, and land. Next thing to check out is how to get the drone on an existing wifi network&#8230; http:\/\/nodecopter.com\/guides\/connect_to_access_point To work with a WPA network requires installing a patch to the drone. https:\/\/github.com\/daraosn\/ardrone-wpa2 One workaround for &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/reactivemusic.net\/?p=6507\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;controlling Parrot AR drone2 with Max&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","footnotes":""},"categories":[143],"tags":[345,155,105,190,215],"class_list":["post-6507","post","type-post","status-publish","format-standard","hentry","category-interactive-media-art","tag-maxmsp","tag-node-js","tag-osc","tag-portfolio","tag-quadcopter"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>controlling Parrot AR drone2 with Max - reactive music<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/reactivemusic.net\/?p=6507\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"controlling Parrot AR drone2 with Max - reactive music\" \/>\n<meta property=\"og:description\" content=\"5\/2014: see latest version here: https:\/\/reactivemusic.net\/?p=6635 update &#8211; Got the drone today and ran successful test of takeoff, rotate, and land. Next thing to check out is how to get the drone on an existing wifi network&#8230; http:\/\/nodecopter.com\/guides\/connect_to_access_point To work with a WPA network requires installing a patch to the drone. https:\/\/github.com\/daraosn\/ardrone-wpa2 One workaround for &hellip; Continue reading &quot;controlling Parrot AR drone2 with Max&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/reactivemusic.net\/?p=6507\" \/>\n<meta property=\"og:site_name\" content=\"reactive music\" \/>\n<meta property=\"article:published_time\" content=\"2013-05-12T21:47:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2014-06-12T06:55:41+00:00\" \/>\n<meta name=\"author\" content=\"Tom Zicarelli\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Tom Zicarelli\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=6507#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=6507\"},\"author\":{\"name\":\"Tom Zicarelli\",\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/#\\\/schema\\\/person\\\/56224d281582df7e5518e037ca63e571\"},\"headline\":\"controlling Parrot AR drone2 with Max\",\"datePublished\":\"2013-05-12T21:47:46+00:00\",\"dateModified\":\"2014-06-12T06:55:41+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=6507\"},\"wordCount\":193,\"keywords\":[\"Max\\\/MSP\",\"node.js\",\"OSC\",\"portfolio\",\"quadcopter\"],\"articleSection\":[\"interactive media art\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=6507\",\"url\":\"https:\\\/\\\/reactivemusic.net\\\/?p=6507\",\"name\":\"controlling Parrot AR drone2 with Max - reactive music\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/#website\"},\"datePublished\":\"2013-05-12T21:47:46+00:00\",\"dateModified\":\"2014-06-12T06:55:41+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/#\\\/schema\\\/person\\\/56224d281582df7e5518e037ca63e571\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=6507#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/reactivemusic.net\\\/?p=6507\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=6507#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/reactivemusic.net\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"controlling Parrot AR drone2 with Max\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/#website\",\"url\":\"https:\\\/\\\/reactivemusic.net\\\/\",\"name\":\"reactive music\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/reactivemusic.net\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/#\\\/schema\\\/person\\\/56224d281582df7e5518e037ca63e571\",\"name\":\"Tom Zicarelli\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0da58cf21a2707dd335b204b8ed3cd9194dcbf9d9814ac5d71195a65c76c8a72?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0da58cf21a2707dd335b204b8ed3cd9194dcbf9d9814ac5d71195a65c76c8a72?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0da58cf21a2707dd335b204b8ed3cd9194dcbf9d9814ac5d71195a65c76c8a72?s=96&d=mm&r=g\",\"caption\":\"Tom Zicarelli\"},\"sameAs\":[\"http:\\\/\\\/tomzicarelli.com\"],\"url\":\"https:\\\/\\\/reactivemusic.net\\\/?author=2\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"controlling Parrot AR drone2 with Max - reactive music","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/reactivemusic.net\/?p=6507","og_locale":"en_US","og_type":"article","og_title":"controlling Parrot AR drone2 with Max - reactive music","og_description":"5\/2014: see latest version here: https:\/\/reactivemusic.net\/?p=6635 update &#8211; Got the drone today and ran successful test of takeoff, rotate, and land. Next thing to check out is how to get the drone on an existing wifi network&#8230; http:\/\/nodecopter.com\/guides\/connect_to_access_point To work with a WPA network requires installing a patch to the drone. https:\/\/github.com\/daraosn\/ardrone-wpa2 One workaround for &hellip; Continue reading \"controlling Parrot AR drone2 with Max\"","og_url":"https:\/\/reactivemusic.net\/?p=6507","og_site_name":"reactive music","article_published_time":"2013-05-12T21:47:46+00:00","article_modified_time":"2014-06-12T06:55:41+00:00","author":"Tom Zicarelli","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Tom Zicarelli","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/reactivemusic.net\/?p=6507#article","isPartOf":{"@id":"https:\/\/reactivemusic.net\/?p=6507"},"author":{"name":"Tom Zicarelli","@id":"https:\/\/reactivemusic.net\/#\/schema\/person\/56224d281582df7e5518e037ca63e571"},"headline":"controlling Parrot AR drone2 with Max","datePublished":"2013-05-12T21:47:46+00:00","dateModified":"2014-06-12T06:55:41+00:00","mainEntityOfPage":{"@id":"https:\/\/reactivemusic.net\/?p=6507"},"wordCount":193,"keywords":["Max\/MSP","node.js","OSC","portfolio","quadcopter"],"articleSection":["interactive media art"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/reactivemusic.net\/?p=6507","url":"https:\/\/reactivemusic.net\/?p=6507","name":"controlling Parrot AR drone2 with Max - reactive music","isPartOf":{"@id":"https:\/\/reactivemusic.net\/#website"},"datePublished":"2013-05-12T21:47:46+00:00","dateModified":"2014-06-12T06:55:41+00:00","author":{"@id":"https:\/\/reactivemusic.net\/#\/schema\/person\/56224d281582df7e5518e037ca63e571"},"breadcrumb":{"@id":"https:\/\/reactivemusic.net\/?p=6507#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/reactivemusic.net\/?p=6507"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/reactivemusic.net\/?p=6507#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/reactivemusic.net\/"},{"@type":"ListItem","position":2,"name":"controlling Parrot AR drone2 with Max"}]},{"@type":"WebSite","@id":"https:\/\/reactivemusic.net\/#website","url":"https:\/\/reactivemusic.net\/","name":"reactive music","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/reactivemusic.net\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/reactivemusic.net\/#\/schema\/person\/56224d281582df7e5518e037ca63e571","name":"Tom Zicarelli","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0da58cf21a2707dd335b204b8ed3cd9194dcbf9d9814ac5d71195a65c76c8a72?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0da58cf21a2707dd335b204b8ed3cd9194dcbf9d9814ac5d71195a65c76c8a72?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0da58cf21a2707dd335b204b8ed3cd9194dcbf9d9814ac5d71195a65c76c8a72?s=96&d=mm&r=g","caption":"Tom Zicarelli"},"sameAs":["http:\/\/tomzicarelli.com"],"url":"https:\/\/reactivemusic.net\/?author=2"}]}},"_links":{"self":[{"href":"https:\/\/reactivemusic.net\/index.php?rest_route=\/wp\/v2\/posts\/6507","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/reactivemusic.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/reactivemusic.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/reactivemusic.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/reactivemusic.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6507"}],"version-history":[{"count":18,"href":"https:\/\/reactivemusic.net\/index.php?rest_route=\/wp\/v2\/posts\/6507\/revisions"}],"predecessor-version":[{"id":6509,"href":"https:\/\/reactivemusic.net\/index.php?rest_route=\/wp\/v2\/posts\/6507\/revisions\/6509"}],"wp:attachment":[{"href":"https:\/\/reactivemusic.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6507"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/reactivemusic.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6507"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/reactivemusic.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6507"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}