Drones have been getting a lot of attention lately for both good and bad reasons. Regardless of what the reason may be the bottom line is there are a lot of untapped uses for drones. Everything from delivering your online packages to helping first responders at the scene of an accident. Whatever the use case may be there needs to be a robust infrastructure behind these drones to manage them. The cloud is an ideal choice in this use case because you will more than likely have many many drones and need a dynamic infrastructure to handle the varying needs of the drones and the applications controlling them. Obviously Bluemix is my cloud of choice but in addition to the infrastructure Bluemix provides we also have the IoT Foundation which provides you with the ability to manage your connected devices. I recently had the opportunity to work with some drones for a couple of weeks and decided to use Bluemix and IBM’s IoT foundation to see how you can control drones. Check out the short video below of what I have done so far
Some of the code I showed working in the video is located in this GitHub repository. The important code in that repository is drone-controller.js which actually listens for command from the IoT Foundation and then sends them to the drone. This code can easily be extended to accomplish many more things with the drone but right now it is a very basic sample. Take a look through the README in the repository which explains a lot about what is happening behind the scenes.