{"_id":"568ff8ed4719c119002ce637","__v":16,"project":"56009c541503430d007cc951","user":"5564f227f0f70f0d00a9ab20","category":{"_id":"56009c581503430d007cc955","__v":41,"project":"56009c541503430d007cc951","version":"56009c571503430d007cc954","pages":["56009c591503430d007cc957","56009c7f0c703d19009531c6","56009c911503430d007cc958","56009c9c1503430d007cc95a","56009ca697f69f1700f21a55","56009cb81503430d007cc95c","56009cc80c703d19009531c8","56009ce18c0c9d0d00dcaef8","56009cf21503430d007cc95e","56009cfe81a9670d006d146a","56009d0781a9670d006d146c","56009d1d81a9670d006d146e","56009d271503430d007cc960","56009d581503430d007cc962","56009d651503430d007cc964","56009d711503430d007cc966","56009d8d81a9670d006d1472","56009d970c703d19009531ce","56009da197f69f1700f21a5a","56009dae3aa0520d00da0bff","56009db83aa0520d00da0c01","56009dcf81a9670d006d1474","56009ddb3aa0520d00da0c04","56009de597f69f1700f21a5d","56009df80c703d19009531d0","56009e0d8c0c9d0d00dcaefa","56009e213aa0520d00da0c08","56009e2c81a9670d006d1476","5600a4971503430d007cc97d","561c5a6b01e1c417001f54f1","561d9845d712bc0d00777b72","563cfe55d8f2d20d00448d14","563d09d9913e650d00b65f92","566b3b8614c22f1900f00b7b","568ff8529ebef90d00872887","568ff8ed4719c119002ce637","5690922a208b910d00ed77b4","56a93fd311d0390d00a3d29a","56b25cc8a5a1020d00cf4cc3","56b25f02147e900d00d64990","56b291ed4e71701700232ea4"],"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-09-22T00:10:00.324Z","from_sync":false,"order":9999,"slug":"documentation","title":"Documentation"},"version":{"_id":"56009c571503430d007cc954","__v":1,"project":"56009c541503430d007cc951","createdAt":"2015-09-22T00:09:59.421Z","releaseDate":"2015-09-22T00:09:59.421Z","categories":["56009c581503430d007cc955"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"githubsync":"","updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-01-08T17:59:09.574Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":4,"body":"[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/pvvUlgg9Ss2X0INLx9cT_Screen%20Shot%202016-01-08%20at%2011.04.04%20AM.png\",\n        \"Screen Shot 2016-01-08 at 11.04.04 AM.png\",\n        \"608\",\n        \"199\",\n        \"#1181c7\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\nThis plugin uses your Gateblu host machine's BLE to interface to compatible Parrot BLE Minidrones (Airborner and Rolling Spider). You can use it to control a single drone or a swarm!\n\nInstall to a [Gateblu](http://gateblu.octoblu.com) or run as a separate connector using the [plugin independently](https://github.com/octoblu/meshblu-rolling-spider)\n\n## Steps\n\n1. [Satisfy pre-requisites for BLE](https://github.com/sandeepmistry/noble#prerequisites)\n2. Install the \"Parrot Minidrones\" Gateblu plugin.\n3. Configure Options\n4. Build a flow to send the \"connect\" command to initiate BLE connection.\n5. Control drones!\n6. ???\n7. Skynet takes over.\n\n## Configure Options \n\nTo get to the device options goto Things -> [Connected Things](https://app.octoblu.com/configure) - Drone Device\n\n### Control a Single Drone\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/UvdwzPGQQFSWQob9TVHL_Screen%20Shot%202016-01-08%20at%2011.06.03%20AM.png\",\n        \"Screen Shot 2016-01-08 at 11.06.03 AM.png\",\n        \"1004\",\n        \"186\",\n        \"\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n### Control Swarm of Specific Drones\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/0rUirUySGaddQR0V36hG_Screen%20Shot%202016-01-08%20at%2011.05.43%20AM.png\",\n        \"Screen Shot 2016-01-08 at 11.05.43 AM.png\",\n        \"996\",\n        \"335\",\n        \"#5da426\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n## Message Schema and Using the Plugin in a Flow\n\n\n#### Connect Drones\nIf your drones are disconnected, Send the \"connect\" command to them using the configuration shown in this image. \n\n** NOTE: A Swarm takes 10 seconds to connect.**\n\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/UCRRbVczS8CVeaePLJvI_Screen%20Shot%202016-01-08%20at%2011.22.52%20AM.png\",\n        \"Screen Shot 2016-01-08 at 11.22.52 AM.png\",\n        \"356\",\n        \"316\",\n        \"#2d565e\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n### Take Off!\nAfter a successful connect, send the takeOff command and your drone(s) should start flying!\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/bGWwjXTK2KeYsSH6dZgD_Screen%20Shot%202016-01-08%20at%2011.26.20%20AM.png\",\n        \"Screen Shot 2016-01-08 at 11.26.20 AM.png\",\n        \"356\",\n        \"311\",\n        \"#30585e\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n\n#### Available Commands\n```\n        'connect'\n        'disconnect'\n        'takeOff'\n        'land'\n        'up'\n        'down'\n        'forward'\n        'backward'\n        'turnLeft'\n        'turnRight'\n        'tiltLeft'\n        'tiltRight'\n        'frontFlip'\n        'backFlip'\n        'leftFlip'\n        'rightFlip'\n        'emergency'\n        'flatTrim'\n        'release'\n```\n\n## Control Interface\n\n1. For a quick and easy web-panel to control your drone go to [control.octoblu.com](http://control.octoblu.com) and connect one to your account. \n2. Then build a dashboard like the one shown\n3. Import this flow.\nhttps://app.octoblu.com/bluprints/import/e79a0c18-f1f6-470e-bb3c-ddd76e74fe3e\n\nThis flow takes the name of the button widget from control.octoblu as the command to send to your drone(s).\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/Ft9I7c5sTmy4NVg5M4kb_Screen%20Shot%202016-01-08%20at%2011.44.35%20AM.png\",\n        \"Screen Shot 2016-01-08 at 11.44.35 AM.png\",\n        \"794\",\n        \"356\",\n        \"#447389\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/YHXJy5QzqPBBEUVNvqNg_Screen%20Shot%202016-01-08%20at%2011.27.44%20AM.png\",\n        \"Screen Shot 2016-01-08 at 11.27.44 AM.png\",\n        \"841\",\n        \"665\",\n        \"#3b51ab\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"parrot-minidrones","type":"basic","title":"Parrot Minidrones"}
[block:image] { "images": [ { "image": [ "https://files.readme.io/pvvUlgg9Ss2X0INLx9cT_Screen%20Shot%202016-01-08%20at%2011.04.04%20AM.png", "Screen Shot 2016-01-08 at 11.04.04 AM.png", "608", "199", "#1181c7", "" ] } ] } [/block] This plugin uses your Gateblu host machine's BLE to interface to compatible Parrot BLE Minidrones (Airborner and Rolling Spider). You can use it to control a single drone or a swarm! Install to a [Gateblu](http://gateblu.octoblu.com) or run as a separate connector using the [plugin independently](https://github.com/octoblu/meshblu-rolling-spider) ## Steps 1. [Satisfy pre-requisites for BLE](https://github.com/sandeepmistry/noble#prerequisites) 2. Install the "Parrot Minidrones" Gateblu plugin. 3. Configure Options 4. Build a flow to send the "connect" command to initiate BLE connection. 5. Control drones! 6. ??? 7. Skynet takes over. ## Configure Options To get to the device options goto Things -> [Connected Things](https://app.octoblu.com/configure) - Drone Device ### Control a Single Drone [block:image] { "images": [ { "image": [ "https://files.readme.io/UvdwzPGQQFSWQob9TVHL_Screen%20Shot%202016-01-08%20at%2011.06.03%20AM.png", "Screen Shot 2016-01-08 at 11.06.03 AM.png", "1004", "186", "", "" ] } ] } [/block] ### Control Swarm of Specific Drones [block:image] { "images": [ { "image": [ "https://files.readme.io/0rUirUySGaddQR0V36hG_Screen%20Shot%202016-01-08%20at%2011.05.43%20AM.png", "Screen Shot 2016-01-08 at 11.05.43 AM.png", "996", "335", "#5da426", "" ] } ] } [/block] ## Message Schema and Using the Plugin in a Flow #### Connect Drones If your drones are disconnected, Send the "connect" command to them using the configuration shown in this image. ** NOTE: A Swarm takes 10 seconds to connect.** [block:image] { "images": [ { "image": [ "https://files.readme.io/UCRRbVczS8CVeaePLJvI_Screen%20Shot%202016-01-08%20at%2011.22.52%20AM.png", "Screen Shot 2016-01-08 at 11.22.52 AM.png", "356", "316", "#2d565e", "" ] } ] } [/block] ### Take Off! After a successful connect, send the takeOff command and your drone(s) should start flying! [block:image] { "images": [ { "image": [ "https://files.readme.io/bGWwjXTK2KeYsSH6dZgD_Screen%20Shot%202016-01-08%20at%2011.26.20%20AM.png", "Screen Shot 2016-01-08 at 11.26.20 AM.png", "356", "311", "#30585e", "" ] } ] } [/block] #### Available Commands ``` 'connect' 'disconnect' 'takeOff' 'land' 'up' 'down' 'forward' 'backward' 'turnLeft' 'turnRight' 'tiltLeft' 'tiltRight' 'frontFlip' 'backFlip' 'leftFlip' 'rightFlip' 'emergency' 'flatTrim' 'release' ``` ## Control Interface 1. For a quick and easy web-panel to control your drone go to [control.octoblu.com](http://control.octoblu.com) and connect one to your account. 2. Then build a dashboard like the one shown 3. Import this flow. https://app.octoblu.com/bluprints/import/e79a0c18-f1f6-470e-bb3c-ddd76e74fe3e This flow takes the name of the button widget from control.octoblu as the command to send to your drone(s). [block:image] { "images": [ { "image": [ "https://files.readme.io/Ft9I7c5sTmy4NVg5M4kb_Screen%20Shot%202016-01-08%20at%2011.44.35%20AM.png", "Screen Shot 2016-01-08 at 11.44.35 AM.png", "794", "356", "#447389", "" ] } ] } [/block] [block:image] { "images": [ { "image": [ "https://files.readme.io/YHXJy5QzqPBBEUVNvqNg_Screen%20Shot%202016-01-08%20at%2011.27.44%20AM.png", "Screen Shot 2016-01-08 at 11.27.44 AM.png", "841", "665", "#3b51ab", "" ] } ] } [/block]