<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Guido de Croon &#8211; Robohub</title>
	<atom:link href="https://robohub.org/author/guido-de-croon/feed/" rel="self" type="application/rss+xml" />
	<link>https://robohub.org</link>
	<description>Connecting the robotics community to the world</description>
	<lastBuildDate>Mon, 05 Oct 2026 00:51:07 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.3</generator>
	<item>
		<title>Sniffy Bug: a fully autonomous swarm of gas-seeking nano quadcopters in cluttered environments</title>
		<link>https://robohub.org/sniffy-bug-a-fully-autonomous-swarm-of-gas-seeking-nano-quadcopters-in-cluttered-environments/</link>
		
		<dc:creator><![CDATA[Guido de Croon]]></dc:creator>
		<pubDate>Thu, 15 Jul 2021 11:00:48 +0000</pubDate>
				<category><![CDATA[news]]></category>
		<category><![CDATA[bio-inspired]]></category>
		<category><![CDATA[research]]></category>
		<category><![CDATA[swarm]]></category>
		<category><![CDATA[UAVs & drones]]></category>
		<guid isPermaLink="false">https://robohub.org/sniffy-bug-a-fully-autonomous-swarm-of-gas-seeking-nano-quadcopters-in-cluttered-environments/</guid>

					<description><![CDATA[Tiny drones are ideal candidates for fully autonomous jobs that are too dangerous or time-consuming for humans. A commonly shared dream by engineers and fire &#038; rescue services, would be to have swarms of such drones help in search-and-rescue scenarios [1], for instance to localize gas leaks without endangering human lives. Tiny drones are ideal [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Tiny drones are ideal candidates for fully autonomous jobs that are too dangerous or time-consuming for humans. A commonly shared dream by engineers and fire &#038; rescue services, would be to have swarms of such drones help in search-and-rescue scenarios [1], for instance to localize gas leaks without endangering human lives. Tiny drones are ideal for such tasks, since they are small enough to navigate in narrow spaces, safe, agile, and very inexpensive. However, their small footprint also makes the design of an autonomous swarm extremely challenging, both from a software and hardware perspective.</p>
<p>From a software perspective, it is really challenging to come up with an algorithm capable of autonomous and collaborative navigation within such tight resource constraints. State-of-the-art solutions like Simultaneous Localization and Mapping (SLAM) require too much memory and processing power. A promising line of work is to use bug algorithms [2], which can be implemented as computationally efficient finite state machines (FSMs), and can navigate around obstacles without requiring a map.</p>
<p>A downside of using FSMs is that the resulting behavior can be very sensitive to their hyperparameters, and therefore may not generalize outside of the tested environments. This is especially true for the problem of gas source localization (GSL), as wind conditions and obstacle configurations drastically change the problem. In this article, we show how we tackled the complex problem of swarm GSL in cluttered environments by using a simple bug algorithm with evolved parameters, and then tested it onboard a fully autonomous swarm of tiny drones. We will focus on the problems that were encountered along the way, and the design choices we made as a result. At the end of this post, we will also add a short discussion about the future of tiny drones.</p>
<div class="keep-aspect"><iframe title="Sniffy Bug: A Fully Autonomous Swarm of Gas-Seeking Nano Quadcopters in Cluttered Environments" width="500" height="281" src="https://www.youtube-nocookie.com/embed/hj_SBSpK5qg?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></div>
<p></p>
<p><strong>Why gas source localization?</strong></p>
<p>Overall we are interested in finding novel ways to enable autonomy on constrained devices, like tiny drones. Two years ago, we showed that a swarm of tiny drones was able to <a href="https://www.youtube.com/watch?v=IgMKiIEbfN8" data-wpel-link="external" target="_blank" rel="follow external noopener noreferrer">explore unknown, cluttered environments</a> and come back to the base station. Since then, we have been working on an even more complex task: using such a swarm for Gas Source Localization (GSL). </p>
<p>There has been a lot of research focussing on autonomous GSL in robotics, since it is an important but very hard problem [3]. The difficulty of the task comes from the complexity of how odor can spread in an environment. In an empty room without wind, a gas will slowly diffuse from the source. This allows a robot to find the source by simply moving in the direction that makes the gas concentration go up, just like small bacteria like E. Coli do to find nutrients. However, if the environment becomes larger with many obstacles and walls, and wind comes into play, the spreading of gas is much less regular. Large parts of the environment may have no gas or wind at all, while at the same time there may be pockets of gas away from the source. Moreover, chemical sensors for robots are much less capable than the smelling organs of animals. Available chemical sensors for robots are typically less sensitive, noisier, and much slower.  </p>
<p>Due to these difficulties, most work in the GSL field has focused on a single robot that has to find a gas source in environments that are relatively small and without obstacles. Relatively recently, there have been studies in which groups of robots solve this task in a collaborative fashion, for example with Particle Swarm Optimization (PSO). PSO was first invented as a way to model the social behavior of foraging birds, in which the birds communicate with each other how good the food at their location is. The birds then follow a direction that is determined both by their own observations and the best observed location of the swarm. PSO turned out to be a great optimization algorithm for many different real-world problems. Thanks to the different particles in the swarm, it can escape local optima. In the case of GSL, PSO allows a swarm of robots to collaboratively seek a gas source, while ignoring pockets of gas away from the gas source. Until now this concept has been shown in simulation [4] and on large outdoor drones equipped with LiDAR and GPS [5], but never before on tiny drones in complex, GPS-denied, indoor environments.</p>
<p><strong>Required Infrastructure</strong></p>
<p>In our project, we introduce a new bug algorithm, Sniffy Bug, which uses PSO for gas source localization. In order to tune the FSM of Sniffy Bug, we used an evolutionary algorithm. This type of algorithm mimics the survival of the fittest in natural evolution, but now with “fitness” defined as being able to localize a gas source as efficiently as possible. The evolution starts out with random controllers for the swarm of robots, evaluates them in simulation, and selects the fittest controllers for reproduction. Over the generations, the controllers become increasingly good at the task. After evolution, the best controller is transferred to the real robots in the swarm.</p>
<p>Of course, for this evolution to work well, we need a good simulation of how gas spreads in a complex, indoor environment. However, early in the project, we realized that this would be a challenge, as no end-to-end gas modeling pipeline existed yet. It is important to have an easy-to-use pipeline that does not require any aerodynamics domain knowledge, such that as many researchers as possible can generate environments to test their algorithms. It would also make it easier to compare contributions and to better understand in which conditions certain algorithms work or don&#8217;t work. The GADEN ROS package [6] is a great open source tool for modelling gas distribution when you have an environment and flow field, but for our objective, we needed a fully automated tool that could generate a great variety of random environments on-demand with just a few parameters. Below is an overview of our simulation pipeline: AutoGDM.</p>
<div id="attachment_200795" style="width: 782px" class="wp-caption alignnone"><img fetchpriority="high" decoding="async" aria-describedby="caption-attachment-200795" src="https://robohub.org/wp-content/uploads/2021/07/Untitled.jpeg" alt="" width="772" height="539" class="size-full wp-image-200795" srcset="https://robohub.org/wp-content/uploads/2021/07/Untitled.jpeg 772w, https://robohub.org/wp-content/uploads/2021/07/Untitled-425x297.jpeg 425w, https://robohub.org/wp-content/uploads/2021/07/Untitled-768x536.jpeg 768w" sizes="(max-width: 772px) 100vw, 772px" /><p id="caption-attachment-200795" class="wp-caption-text">AutoGDM, a fully automated gas dispersion modeling (GDM) simulation pipeline.</p></div>
<p>First, we use a procedural environment generator proposed in [7] to generate random walls and obstacles inside of the environment. Then, gas dispersion modeling (GDM) is done by first modeling a 3D flow field, i.e., the direction and magnitude of wind velocity at every point in space. Next, a gas source location is chosen. Then, at the source, gas filaments are released in the flow field and randomly expanded over time.  This results in a time-varying gas concentration field. The 3D flow field is heavily impacted by something referred to as “boundary conditions”: the conditions at the walls in the environment that we feed into the computational fluid dynamics (CFD) solver. In our case, this means for some walls we tell the CFD to force a wind velocity of 0 m/s, while for others we may tell it to model an inlet or an outlet of air, like an open window. Determining the boundary conditions is done automatically by AutoGDM. </p>
<p>Since a hard requirement for us was that AutoGDM needed to be free to use, we chose to use the open-source CFD tool OpenFOAM. It&#8217;s used for cutting-edge aerodynamics research, and also the tool suggested by the authors of GADEN. Without AutoGDM, using OpenFOAM isn&#8217;t trivial, as a large number of parameters that require field expertise need to be selected, resulting in a complicated process. GADEN was used to take the environment definition (CAD files) and the flow field from OpenFOAM to generate the gas concentration field over time.</p>
<p>After we built this pipeline, we still needed a robot simulator. Since we weren&#8217;t planning on using a camera, our main requirement was for the simulator to be efficient (preferably in 2D) so that evolutions would take relatively little time. We decided to use Swarmulator [8], a computationally efficient C++ robot simulator designed for swarming and we plugged in our gas data.</p>
<p><strong>Algorithm Design</strong></p>
<p>Roughly speaking, we considered two categories of algorithms for controlling the drones: 1) a neural network, and 2) an FSM that included PSO, with evolved parameters. We first evolved neural networks in simulation. One of the first experiments is shown below.</p>
<div id="attachment_200797" style="width: 512px" class="wp-caption alignnone"><img decoding="async" aria-describedby="caption-attachment-200797" src="https://robohub.org/wp-content/uploads/2021/07/Sniffy-bug-GIF.gif" alt="" width="502" height="532" class="size-full wp-image-200797" /><p id="caption-attachment-200797" class="wp-caption-text">A single agent in simulation seeking a gas source using a tiny neural network.</p></div>
<p>While it worked pretty well in simple environments with few obstacles, it seemed challenging to make this work in real life with complex obstacles and multiple agents that need to collaborate. Given the time constraints of the project, we opted for evolving the FSM. This also facilitated crossing the <em>reality gap</em> (i.e., the difference between simulation and real-world behaviour), as the simulated evolution could build on basic behaviors that we developed and validated on the real platform, including obstacle avoidance with four tiny laser rangers, while communicating with and avoiding other drones. An additional advantage of PSO with respect to the reality gap is that it only needs gas concentration and no gradient of the gas concentration or wind direction (which many algorithms in literature use). On a real robot at this scale, estimating the gas concentration gradient or the direction of a light breeze is hard if not impossible.</p>
<p><strong>Hardware</strong></p>
<p>We deploy a 37.5g <a href="https://store.bitcraze.io/products/crazyflie-2-1" data-wpel-link="external" target="_blank" rel="follow external noopener noreferrer">Bitcraze CrazyFlie nano drone</a> that is capable of avoiding obstacles, executing velocity commands, sensing gas, and estimating the other agent&#8217;s position in its own frame. For navigation we added a down-facing optic flow sensor and four laser rangers, whereas for gas sensing we used a <a href="https://www.figarosensor.com/product/entry/tgs8100.html" data-wpel-link="external" target="_blank" rel="follow external noopener noreferrer">TGS8100 gas sensor</a> that was used on a CrazyFlie before in previous work [9]. The sensor is lightweight and inexpensive, but accurately estimating gas concentrations can be difficult because of its size. It tends to drift and needs time to recover after a spike in concentration is observed. Another thing we noticed is that it is possible to break them, a crash can definitely destroy the sensor.</p>
<p>To estimate the relative position between agents, we use a Decawave Ultra-Wideband (UWB) module and communicate states, as proposed in [10]. We also use the UWB module to communicate gas information between agents and collaboratively seek the source. The complete configuration is visible below.</p>
<div id="attachment_200798" style="width: 1160px" class="wp-caption alignnone"><img decoding="async" aria-describedby="caption-attachment-200798" src="https://robohub.org/wp-content/uploads/2021/07/pasted-image-0.jpeg" alt="" width="1150" height="767" class="size-full wp-image-200798" srcset="https://robohub.org/wp-content/uploads/2021/07/pasted-image-0.jpeg 1150w, https://robohub.org/wp-content/uploads/2021/07/pasted-image-0-425x283.jpeg 425w, https://robohub.org/wp-content/uploads/2021/07/pasted-image-0-1024x683.jpeg 1024w, https://robohub.org/wp-content/uploads/2021/07/pasted-image-0-768x512.jpeg 768w" sizes="(max-width: 1150px) 100vw, 1150px" /><p id="caption-attachment-200798" class="wp-caption-text">A 37.5 g nano quadcopter, capable of fully autonomous waypoint tracking, obstacle avoidance, relative localization, communication and gas sensing.</p></div>
<p><strong>Evaluation in Simulation</strong></p>
<p>After we optimized the parameters of our model using Swarmulator and AutoGDM, and of course trying many different versions of our algorithm, we ended up with the final Sniffy Bug algorithm. Below is a video that shows evolved Sniffy Bug evaluated in six different environments. </p>
<div class="keep-aspect"><iframe title="Simulation evaluation Sniffy Bug" width="500" height="281" src="https://www.youtube-nocookie.com/embed/ipoG9ExczbE?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></div>
<p></p>
<p>The red dots are an agent&#8217;s personal target waypoint, whereas the yellow dot is the best-known position for the swarm. Simulation shows that Sniffy Bug is effective at locating the gas source in randomly generated environments. The drones successfully collaborate by means of PSO.</p>
<p><strong>Real Flight Testing</strong></p>
<p>After observing Sniffy Bug in simulation we were optimistic, but unsure about performance in real life. First, inspired by previous works, we dispersed alcohol through the air by placing liquid alcohol into a can which was then dispersed using a computer fan.</p>
<div id="attachment_200800" style="width: 812px" class="wp-caption alignnone"><img decoding="async" aria-describedby="caption-attachment-200800" src="https://robohub.org/wp-content/uploads/2021/07/Untitled-1.jpeg" alt="" width="802" height="1599" class="size-full wp-image-200800" srcset="https://robohub.org/wp-content/uploads/2021/07/Untitled-1.jpeg 802w, https://robohub.org/wp-content/uploads/2021/07/Untitled-1-213x425.jpeg 213w, https://robohub.org/wp-content/uploads/2021/07/Untitled-1-514x1024.jpeg 514w, https://robohub.org/wp-content/uploads/2021/07/Untitled-1-768x1531.jpeg 768w, https://robohub.org/wp-content/uploads/2021/07/Untitled-1-770x1536.jpeg 770w" sizes="(max-width: 802px) 100vw, 802px" /><p id="caption-attachment-200800" class="wp-caption-text">Dispersion of liquid alcohol in flight tests.</p></div>
<p>We tested Sniffy Bug in our flight arena of size 10 x 10 meters with large obstacles that were shaped like walls and orange poles. The image below shows four flight tests of Sniffy Bug in cluttered environments, flying fully autonomously, i.e., without the help from any external infrastructure.</p>
<div id="attachment_200801" style="width: 961px" class="wp-caption alignnone"><img decoding="async" aria-describedby="caption-attachment-200801" src="https://robohub.org/wp-content/uploads/2021/07/Untitled-2.jpeg" alt="" width="951" height="936" class="size-full wp-image-200801" srcset="https://robohub.org/wp-content/uploads/2021/07/Untitled-2.jpeg 951w, https://robohub.org/wp-content/uploads/2021/07/Untitled-2-425x418.jpeg 425w, https://robohub.org/wp-content/uploads/2021/07/Untitled-2-768x756.jpeg 768w, https://robohub.org/wp-content/uploads/2021/07/Untitled-2-24x24.jpeg 24w, https://robohub.org/wp-content/uploads/2021/07/Untitled-2-48x48.jpeg 48w" sizes="(max-width: 951px) 100vw, 951px" /><p id="caption-attachment-200801" class="wp-caption-text">Time-lapse images of real-world experiments in our flight arena. Sniffy was evaluated on four distinct environments, 10 x 10 meters in size, seeking a real isopropyl alcohol source. The trajectories of the nano quadcopters are clearly visible due to their blue lights.</p></div>
<p>In the total of 24 runs we executed, we compared Sniffy Bug with manually selected and evolved parameters. The figure below shows that the evolved parameters are more efficient in locating the source as compared to the manual parameters.</p>
<div id="attachment_200802" style="width: 958px" class="wp-caption alignnone"><img decoding="async" aria-describedby="caption-attachment-200802" src="https://robohub.org/wp-content/uploads/2021/07/Untitled-1.png" alt="" width="948" height="648" class="size-full wp-image-200802" srcset="https://robohub.org/wp-content/uploads/2021/07/Untitled-1.png 948w, https://robohub.org/wp-content/uploads/2021/07/Untitled-1-425x291.png 425w, https://robohub.org/wp-content/uploads/2021/07/Untitled-1-768x525.png 768w" sizes="(max-width: 948px) 100vw, 948px" /><p id="caption-attachment-200802" class="wp-caption-text">Maximum recorded gas reading by the swarm, for each time step for each run.</p></div>
<p>This does not only show that our system can successfully locate a gas source in challenging environments, but it also demonstrates the usefulness of the simulation pipeline. The parameters that were learned in simulation yield a high-performance model, validating the environment generation, randomization, and gas modeling parts of our pipeline.</p>
<p><strong>Conclusion and Discussion</strong></p>
<p>With this work, we believe we have made an important step towards swarms of gas-seeking drones. The proposed solution has been shown to work in real flight tests with obstacles, and without any external systems to help in localization or communication. We believe this methodology can be extended to larger environments or even to 3 dimensions, since PSO is a robust, multi-dimensional heuristic search method. Moreover, we hope that AutoGDM will help the community to better compare gas seeking algorithms, and to more easily learn parameters or models in simulation, and deploy them in the real world.</p>
<p>To improve Sniffy Bug&#8217;s performance, adding more laser rangers will definitely help. When working with only four laser rangers you realize how little information they actually provide. If one of the rangers senses a low value, it is unclear if a slim pole or a massive wall is detected, adding inefficiency to the algorithm. Adding more laser rangers or using other sensor modalities like vision will help to avoid also more complex obstacles than walls and poles in a reliable manner.</p>
<p>Another interesting discussion can be held on the hardware required for real deployment. When working with 40 grams of maximum take-off weight, the sensors and actuators that can be selected are limited. For example, the low-power and lightweight flow deck works great but fails in low-light scenarios or with smoke. Future work exploring novel sensors for highly constrained nano robots could really help increase the Technological Readiness Level (TRL) of these systems.</p>
<p>Finally, this has been a really fun project to work on for us and we can&#8217;t wait to hear your thoughts on Sniffy Bug!</p>
<p><strong>References</strong></p>
<p>[1] <a href="https://www.frontiersin.org/articles/10.3389/frobt.2020.00053/full" data-wpel-link="external" target="_blank" rel="follow external noopener noreferrer">Carrillo-Zapata D, Milner E, Hird J, et al. Mutual Shaping in Swarm Robotics: User Studies in Fire and Rescue, Storage Organization, and Bridge Inspection. Front Robot AI. 2020;7:53. Published 2020 Apr 21. doi:10.3389/frobt.2020.00053</a></p>
<p>[2] <a href="https://robotics.sciencemag.org/content/4/35/eaaw9710?intcmp=trendmd-rob&#038;utm_medium=cpc&#038;utm_source=TrendMD&#038;utm_campaign=TrendMD_1" data-wpel-link="external" target="_blank" rel="follow external noopener noreferrer">K. N. McGuire, C. De Wagter, K. Tuyls, H. J. Kappen, and G. C. H. E.de Croon, “Minimal navigation solution for a swarm of tiny flying robotsto explore an unknown environment,”Science Robotics, vol. 4, no. 35,2019.</a></p>
<p>[3] <a href="https://onlinelibrary.wiley.com/doi/full/10.1002/tee.23364" data-wpel-link="external" target="_blank" rel="follow external noopener noreferrer">Jing T, Meng Q-H, Ishida H. Recent progress and trend of robot odor source localization. IEEJ trans electr electron eng. 2021;16(7):938-953</a></p>
<p>[4] <a href="https://ieeexplore.ieee.org/document/4168420" data-wpel-link="external" target="_blank" rel="follow external noopener noreferrer">W. Jatmiko, K. Sekiyama and T. Fukuda, &#8220;A pso-based mobile robot for odor source localization in dynamic advection-diffusion with obstacles environment: theory, simulation and measurement,&#8221; in IEEE Computational Intelligence Magazine, vol. 2, no. 2, pp. 37-51, May 2007, doi: 10.1109/MCI.2007.353419.</a></p>
<p>[5] <a href="https://doi.org/10.1115/DSCC2019-9099" data-wpel-link="external" target="_blank" rel="follow external noopener noreferrer">Steiner, JA, Bourne, JR, He, X, Cropek, DM, &#038; Leang, KK. &#8220;Chemical-Source Localization Using a Swarm of Decentralized Unmanned Aerial Vehicles for Urban/Suburban Environments.&#8221; Proceedings of the ASME 2019 Dynamic Systems and Control Conference. Volume 3, Park City, Utah, USA. October 8–11, 2019. V003T21A006. ASME. https://doi.org/10.1115/DSCC2019-9099</a></p>
<p>[6] <a href="https://www.mdpi.com/1424-8220/17/7/1479" data-wpel-link="external" target="_blank" rel="follow external noopener noreferrer">Monroy, V. Hernandez-Bennetts, H. Fan, A. Lilienthal, andJ. Gonzalez-Jimenez, “Gaden: A 3D gas dispersion simulator for mobilerobot olfaction in realistic environments,”MDPI Sensors, vol. 17, no.7: 1479, pp. 1–16, 2017.</a></p>
<p>[7] <a href="https://www.sciencedirect.com/science/article/abs/pii/S0921889018306687" data-wpel-link="external" target="_blank" rel="follow external noopener noreferrer">K. McGuire, G. de Croon, and K. Tuyls, “A comparative study of bug algorithms for robot navigation,”Robotics and Autonomous Systems, vol.121, p. 103261, 2019.</a></p>
<p>[8] <a href="https://github.com/coppolam/swarmulator" data-wpel-link="external" target="_blank" rel="follow external noopener noreferrer">https://github.com/coppolam/swarmulator</a></p>
<p>[9] <a href="https://www.mdpi.com/1424-8220/19/3/478" data-wpel-link="external" target="_blank" rel="follow external noopener noreferrer">J. Burgues, V. Hern ́andez, A. J. Lilienthal, and S. Marco, “Smelling nano aerial vehicle for gas source localization and mapping, ”Sensors(Switzerland), vol. 19, no. 3, 2019.</a></p>
<p>[10] <a href="https://arxiv.org/abs/2003.05853" data-wpel-link="external" target="_blank" rel="follow external noopener noreferrer">S. Li, M. Coppola, C. D. Wagter, and G. C. H. E. de Croon, “An autonomous swarm of micro flying robots with range-based relative localization,” Arxiv, 2020.</a></p>
<p><strong>Links</strong></p>
<p>ArXiv: <a href="https://arxiv.org/abs/2107.05490" data-wpel-link="external" target="_blank" rel="follow external noopener noreferrer">https://arxiv.org/abs/2107.05490</a></p>
<p>Video: <a href="https://www.youtube.com/watch?v=hj_SBSpK5qg" data-wpel-link="external" target="_blank" rel="follow external noopener noreferrer">https://www.youtube.com/watch?v=hj_SBSpK5qg</a></p>
<p>Code: <a href="https://github.com/tudelft/sniffy-bug" data-wpel-link="external" target="_blank" rel="follow external noopener noreferrer">https://github.com/tudelft/sniffy-bug</a></p>
<p>Please reach out if you have any questions or ideas, you can reach us at: <a href="mailto:b.p.duisterhof@gmail.com">b.p.duisterhof@gmail.com</a> or <a href="mailto:g.c.h.e.decroon@tudelft.nl">g.c.h.e.decroon@tudelft.nl</a> </p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Self-supervised learning of visual appearance solves fundamental problems of optical flow</title>
		<link>https://robohub.org/self-supervised-learning-of-visual-appearance-solves-fundamental-problems-of-optical-flow/</link>
		
		<dc:creator><![CDATA[Guido de Croon]]></dc:creator>
		<pubDate>Tue, 19 Jan 2021 16:00:32 +0000</pubDate>
				<category><![CDATA[articles]]></category>
		<category><![CDATA[bio-inspired]]></category>
		<category><![CDATA[research]]></category>
		<category><![CDATA[UAVs & drones]]></category>
		<guid isPermaLink="false">https://robohub.org/self-supervised-learning-of-visual-appearance-solves-fundamental-problems-of-optical-flow/</guid>

					<description><![CDATA[Flying insects as inspiration to AI for small drones How do honeybees land on flowers or avoid obstacles? One would expect such questions to be mostly of interest to biologists. However, the rise of small electronics and robotic systems has also made them relevant to robotics and Artificial Intelligence (AI). For example, small flying robots [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><strong>Flying insects as inspiration to AI for small drones</strong></p>
<p>How do honeybees land on flowers or avoid obstacles? One would expect such questions to be mostly of interest to biologists. However, the rise of small electronics and robotic systems has also made them relevant to robotics and Artificial Intelligence (AI). For example, small flying robots are extremely restricted in terms of the sensors and processing that they can carry onboard. If these robots are to be as autonomous as the much larger self-driving cars, they will have to use an extremely efficient type of artificial intelligence – similar to the highly developed intelligence possessed by flying insects. <span id="more-198722"></span></p>
<p><strong>Optical flow</strong></p>
<p>One of the main tricks up the insect’s sleeve is the extensive use of ‘optical flow’: the way in which objects move in their view. They use it to land on flowers and avoid obstacles or predators. Insects use surprisingly simple and elegant optical flow strategies to tackle complex tasks. For example, for landing, honeybees keep the optical flow divergence (how quickly things get bigger in view) constant when going down. By following this simple rule, they automatically make smooth, soft landings. </p>
<p>I started my work on optical flow control from enthusiasm about such elegant, simple strategies. However, developing the control methods to actually implement these strategies in flying robots turned out to be far from trivial. For example, when I first worked on optical flow landing my flying robots would not actually land, but they started to oscillate, continuously going up and down, just above the landing surface. </p>
<div id="attachment_198723" style="width: 1435px" class="wp-caption alignnone"><img decoding="async" aria-describedby="caption-attachment-198723" src="https://robohub.org/wp-content/uploads/2021/01/thumbnail_video_transparent_background.png" alt="Bees on the left, a drone on the right" width="1425" height="803" class="size-full wp-image-198723" srcset="https://robohub.org/wp-content/uploads/2021/01/thumbnail_video_transparent_background.png 1425w, https://robohub.org/wp-content/uploads/2021/01/thumbnail_video_transparent_background-425x239.png 425w, https://robohub.org/wp-content/uploads/2021/01/thumbnail_video_transparent_background-1024x577.png 1024w, https://robohub.org/wp-content/uploads/2021/01/thumbnail_video_transparent_background-768x433.png 768w, https://robohub.org/wp-content/uploads/2021/01/thumbnail_video_transparent_background-175x100.png 175w" sizes="(max-width: 1425px) 100vw, 1425px" /><p id="caption-attachment-198723" class="wp-caption-text">Honeybees are a fertile source of inspiration for the AI of small drones. They are able to perform an impressive repertoire of complex behaviors with very limited processing (~960,000 neurons). Drones are in their turn very interesting “models” for biology. Testing out hypotheses from biology on drones can bring novel insights into the problems faced and solved by flying insects like honeybees.</p></div>
<p><strong>Fundamental problems</strong></p>
<p>Optical flow has two fundamental problems that have been widely described in the growing literature on bio-inspired robotics. The first problem is that optical flow only provides mixed information on distances and velocities – and not on distance or velocity separately. To illustrate, if there are two landing drones and one of them flies twice as high and twice as fast as the other drone, then they experience exactly the same optical flow. However, for good control these two drones should actually react differently to deviations in the optical flow divergence. If a drone does not adapt its reactions to the height when landing, it will never arrive and start to oscillate above the landing surface. </p>
<p>The second problem is that optical flow is very small and little informative in the direction in which a robot is moving. This is very unfortunate for obstacle avoidance, because it means that the obstacles straight ahead of the robot are the hardest ones to detect! The problems are illustrated in the figures below. </p>
<div id="attachment_198733" style="width: 1210px" class="wp-caption alignnone"><img decoding="async" aria-describedby="caption-attachment-198733" src="https://robohub.org/wp-content/uploads/2021/01/joined.png" alt="Illustration of the two problems" width="1200" height="711" class="size-full wp-image-198733" srcset="https://robohub.org/wp-content/uploads/2021/01/joined.png 1200w, https://robohub.org/wp-content/uploads/2021/01/joined-425x252.png 425w, https://robohub.org/wp-content/uploads/2021/01/joined-1024x607.png 1024w, https://robohub.org/wp-content/uploads/2021/01/joined-768x455.png 768w" sizes="(max-width: 1200px) 100vw, 1200px" /><p id="caption-attachment-198733" class="wp-caption-text"><em>Left</em>: <strong>Problem 1</strong>: The white drone is twice as high and goes down twice as fast as the red drone. However, they both see the same optical flow divergence, as in both cases the object in view gets twice as big. This can be seen by the colored triangles – at the highest position it captures the full angle of the landing platform, at the lowest position it only covers half of the landing platform in the field of view.<br /><em>Right</em>:<strong> Problem 2</strong>: The drone moves straight forward, in the direction of its forward-looking camera. Hence, the focus of expansion is straight ahead. Objects close to this direction, like the red obstacle, have very little flow. This is illustrated by the red lines in the figure: The angles of these lines with respect to the camera are very similar. Objects further from this direction, like the green obstacle, have considerable flow. Indeed, the green lines show that the angle gets quickly bigger when the drone moves forward.</p></div>
<p><strong>Learning visual appearance as the solution</strong></p>
<p>In an article published in Nature Machine Intelligence today [1], we propose a solution to both problems. The main idea was that both problems of optical flow would disappear if the robots were able to interpret not only optical flow, but also the visual appearance of objects in their environment. This solution becomes evident from the above figures. The rectangular insets show the images captured by the drones. For the first problem it is evident that the image perfectly captures the difference in height between the white and red drone: The landing platform is simply larger in the red drone’s image. For the second problem the red obstacle is as large as the green one in the drone’s image. Given their identical size, the obstacles are equally close to the drone. </p>
<p>Exploiting visual appearance as captured by an image would allow robots to see distances to objects in the scene similarly to how we humans can estimate distances in a still picture. This would allow drones to immediately pick the right control gain for optical flow control and it would allow them to see obstacles in the flight direction. The only question was: How can a flying robot learn to see distances like that?</p>
<p>The key to this question lay in a theory I devised a few years back [2], which showed that flying robots can actively induce optical flow oscillations to perceive distances to objects in the scene. In the approach proposed in the Nature Machine Intelligence article the robots use such oscillations in order to learn what the objects in their environment look like at different distances. In this way, the robot can for example learn how fine the texture of grass is when looking at it from different heights during landing, or how thick tree barks are at different distances when navigating in a forest.</p>
<div class="keep-aspect"><iframe title="Enhancing optical-flow-based control by learning visual appearance cues for flying robots" width="500" height="281" src="https://www.youtube-nocookie.com/embed/A50Wl311rmU?list=PL_KSX9GOn2P_DPPvFfJ9iXuS_DFozvzfl" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></div>
<p></p>
<p><strong>Relevance to robotics and applications</strong></p>
<p>Implementing this learning process on flying robots led to much faster, smoother optical flow landings than we ever achieved before. Moreover, for obstacle avoidance, the robots were now also able to see obstacles in the flight direction very clearly. This did not only improve obstacle detection performance, but also allowed our robots to speed up. We believe that the proposed methods will be very relevant to resource-constrained flying robots, especially when they operate in a rather confined environment, such as flying in greenhouses to monitor crop or keeping track of the stock in warehouses.</p>
<p>It is interesting to compare our way of distance learning with recent methods in the computer vision domain for single camera (monocular) distance perception. In the field of computer vision, self-supervised learning of monocular distance perception is done with the help of projective geometry and the reconstruction of images. This results in impressively accurate, dense distance maps. However, these maps are still “unscaled” – they can show that one object is twice as far as another one but cannot convey distances in an absolute sense. </p>
<p>In contrast, our proposed method provides “scaled” distance estimates. Interestingly, the scaling is not in terms of meters but in terms of control gains that would lead the drone to oscillate. This makes it very relevant for control. This feels very much like the way in which we humans perceive distances. Also for us it may be more natural to reason in terms of actions (“Is an object within reach?”, “How many steps do I roughly need to get to a place?”) than in terms of meters. It hence reminds very much of the perception of “affordances”, a concept forwarded by Gibson, who introduced the concept of optical flow [3].</p>
<div id="attachment_198728" style="width: 1210px" class="wp-caption alignnone"><img decoding="async" aria-describedby="caption-attachment-198728" src="https://robohub.org/wp-content/uploads/2021/01/OA_1.jpg" alt="A drone flying" width="1200" height="900" class="size-full wp-image-198728" srcset="https://robohub.org/wp-content/uploads/2021/01/OA_1.jpg 1200w, https://robohub.org/wp-content/uploads/2021/01/OA_1-425x319.jpg 425w, https://robohub.org/wp-content/uploads/2021/01/OA_1-1024x768.jpg 1024w, https://robohub.org/wp-content/uploads/2021/01/OA_1-768x576.jpg 768w" sizes="(max-width: 1200px) 100vw, 1200px" /><p id="caption-attachment-198728" class="wp-caption-text">Picture of our drone during obstacle avoidance experiments. At first, the drone flies forward while trying to keep the height constant by keeping the vertical optical flow equal to zero. If it gets close to an obstacle, it will oscillate. The increasing oscillation when approaching an obstacle is used to learn how to see distance by means of visual appearance. After learning, the drone can fly faster and safer. For the experiments we used a Parrot Bebop 2 drone, replacing its onboard software with the <a href="https://github.com/paparazzi/paparazzi" data-wpel-link="external" target="_blank" rel="follow external noopener noreferrer">Paparazzi</a> open source autopilot – performing all computing onboard of the drone’s native processor.</p></div>
<p><strong>Relevance to biology</strong></p>
<p>The findings are not only relevant to robotics, but also provide a new hypothesis for insect intelligence. Typical honeybee experiments start with a learning phase, in which honeybees exhibit various oscillatory behaviors when they get acquainted with a new environment and related novel cues like artificial flowers. The final measurements presented in articles typically take place after this learning phase has finished and focus predominantly on the role of optical flow. The presented learning process forms a novel hypothesis on how flying insects improve their navigational skills over their lifetime. This suggests that we should set up more studies to investigate and report on this learning phase. </p>
<p><em>Guido de Croon, Christophe De Wagter, and Tobias Seid.</em></p>
<p><strong>References</strong></p>
<ul class="list-external-links">
<li><a href="https://www.nature.com/articles/s42256-020-00279-7" data-wpel-link="external" target="_blank" rel="follow external noopener noreferrer">Enhancing optical-flow-based control by learning visual appearance cues for flying robots. G.C.H.E. de Croon, C. De Wagter, and T. Seidl, Nature Machine Intelligence 3(1), 2021.</a></li>
<li><a href="https://iopscience.iop.org/article/10.1088/1748-3190/11/1/016004" data-wpel-link="external" target="_blank" rel="follow external noopener noreferrer">Monocular distance estimation with optical flow maneuvers and efference copies: a stability-based strategy. G.C.H.E. de Croon, Bioinspiration &#038; biomimetics, 11(1), 016004.</a></li>
<li><a href="https://onlinelibrary.wiley.com/doi/abs/10.1002/bs.3830260313" data-wpel-link="external" target="_blank" rel="follow external noopener noreferrer">The Ecological Approach to Visual Perception. J.J. Gibson (1979).</a></li>
</ul>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>A swarm of autonomous tiny flying robots</title>
		<link>https://robohub.org/a-swarm-of-autonomous-tiny-flying-robots/</link>
		
		<dc:creator><![CDATA[Guido de Croon]]></dc:creator>
		<pubDate>Mon, 04 Nov 2019 07:16:07 +0000</pubDate>
				<category><![CDATA[articles]]></category>
		<guid isPermaLink="false">https://robohub.org/a-swarm-of-autonomous-tiny-flying-robots/</guid>

					<description><![CDATA[By K.N. McGuire, C. De Wagter, K. Tuyls, H.J. Kappen, G.C.H.E. de Croon Greenhouses, search-and-rescue teams and warehouses are all looking for new methods to enable surveillance in a manner that is quick and safe for the objects and people surrounding them. Many of them already found their way into robotics, but wheeled ground-bound systems [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><strong>By K.N. McGuire, C. De Wagter, K. Tuyls, H.J. Kappen, G.C.H.E. de Croon</strong></p>
<p>Greenhouses, search-and-rescue teams and warehouses are all looking for new methods to enable surveillance in a manner that is quick and safe for the objects and people surrounding them. Many of them already found their way into robotics, but wheeled ground-bound systems have limited maneuverability. Ideally it would be great if flying robots, a.k.a. micro aerial vehicles (MAV) can take advantage of their 3rd dimension to perform surveillance.<span id="more-152921"></span> A group or a swarm of them should be ideal to cover as much ground as possible. The price of fully autonomous MAVs usually comes with the cost of weight and size. This is problematic in green- and warehouses in particular, as many of us would not be comfortable working with 3 kilo MAVs flying over our heads.</p>
<div id="attachment_152923" style="width: 910px" class="wp-caption aligncenter"><img decoding="async" aria-describedby="caption-attachment-152923" src="https://robohub.org/wp-content/uploads/2019/11/Delft1.png" alt="" width="900" height="546" class="size-full wp-image-152923" srcset="https://robohub.org/wp-content/uploads/2019/11/Delft1.png 900w, https://robohub.org/wp-content/uploads/2019/11/Delft1-425x258.png 425w, https://robohub.org/wp-content/uploads/2019/11/Delft1-768x466.png 768w" sizes="(max-width: 900px) 100vw, 900px" /><p id="caption-attachment-152923" class="wp-caption-text">Guus Schoonewille, TU Delft</p></div>
<p>There have been many advances already in artificial intelligence and navigation techniques to make MAVs fully autonomous navigators through these unknown areas. However, these techniques are computationally expensive and therefore need substantial on-board calculating power. A smaller MAV could rely on the aid of an external computer, but this will become a problem as soon as their numbers and the environment increase in size. Communication speeds through the inner structure of a building will degrade quickly, which makes any search-and-rescue scenario ill-fated. Ideally, a group of tiny MAVs would need to be independent and only use their onboard sensing and computing capabilities. Imagine making such tiny drones navigate in a GPS-deprived environment without the help of an external positioning system.</p>
<p>At the MAVLab of the TU Delft, we have tried to tackle this difficult problem by thinking of creative ways to solve the difficult issues surrounding autonomous indoor navigation. We try to look at nature for inspiration and have implemented that successfully in the past with the Delfly or optical flow-based control. So, if a swarm of bees can do it, why not a group of tiny MAVs?  That did not turn out as easy as it initially seemed, as we needed to solve the intermediate issues out from the ground up. An individual bee is very talented as it can already avoid trees, bushes and his peers as soon as it has a chance to spread its wings. These capabilities do not come naturally to an MAV, and this has to be implemented in a very robust manner, because a crashed MAV usually cannot recover by itself. A bee can already go out and explore a field of flowers, and return to its home hive once it’s done. This is something that an MAV weighing less then 50 grams has never done autonomously before, let alone a swarm.</p>
<div id="attachment_152924" style="width: 910px" class="wp-caption aligncenter"><img decoding="async" aria-describedby="caption-attachment-152924" src="https://robohub.org/wp-content/uploads/2019/11/Delft2.png" alt="" width="900" height="559" class="size-full wp-image-152924" srcset="https://robohub.org/wp-content/uploads/2019/11/Delft2.png 900w, https://robohub.org/wp-content/uploads/2019/11/Delft2-425x264.png 425w, https://robohub.org/wp-content/uploads/2019/11/Delft2-768x477.png 768w" sizes="(max-width: 900px) 100vw, 900px" /><p id="caption-attachment-152924" class="wp-caption-text">Guus Schoonewille, TU Delft</p></div>
<p>Since many navigation strategies are out of the question because of their complexity, we had to turn to other inspiration from the insect kingdom, namely a path planning technique called ‘Bug Algorithms’. Although the name suggests otherwise, bug algorithms are not really inspired by biology. These algorithms originated for mathematical path planning techniques, of which the core principles are that they require very little memory and are very simple in computation. The idea revolves around the fact that an agent has to go from A to B, and will deal with the intermediate obstacles on-the-fly by following their border (a.k.a. wall-following). Once the path towards the goal is clear, the agent will resume its way towards to goal again. By remembering some places along the way, it can make different decisions on locations it has encountered again to make sure it does not get stuck in an endless loop. By a set of very simple rules and memory blocks which only take a fraction of the computing power and memory, an agent can in most cases find its way to its goal. However, the main problem of most existing bug algorithms is that they rely on a known global location (as with GPS) or rely on perfect odometry. Hence, most existing bug algorithms are actually not so well suited for application to tiny robots that navigate in the real world.</p>
<div id="attachment_152925" style="width: 910px" class="wp-caption aligncenter"><img decoding="async" aria-describedby="caption-attachment-152925" src="https://robohub.org/wp-content/uploads/2019/11/Delft3.png" alt="" width="900" height="452" class="size-full wp-image-152925" srcset="https://robohub.org/wp-content/uploads/2019/11/Delft3.png 900w, https://robohub.org/wp-content/uploads/2019/11/Delft3-425x213.png 425w, https://robohub.org/wp-content/uploads/2019/11/Delft3-768x386.png 768w" sizes="(max-width: 900px) 100vw, 900px" /><p id="caption-attachment-152925" class="wp-caption-text">Guus Schoonewille, TU Delft<br /></p></div>
<p>We developed our own bug algorithm and extended it to make it suitable for a swarm of MAVs navigating in the real world. The swarm is leveraged by having the MAVs travel in different directions. The MAVs first fly away from the base station, exploring their environment. They are able to come back with the help of a wireless beacon located at the base station. Based on the signal strength of their connection with the beacon, they can evaluate the right direction to go back to. The MAVs are also communicating with each other for sharing their exploration preference and to avoid each other. We called this technique the Swarm Gradient Bug Algorithm (SGBA). </p>
<p>On the Faculty of Aerospace engineering of the Delft University of Technology, on the 11th floor of the highrise building, we used an empty office space for an ultimate system test of SGBA. We acquired 6 off-the-shelf MAVs, namely the Crazyflie 2.0’s of Bitcraze AB, equipped with the Flowdeck and Multirangerdeck.  Six of these are sent in different directions to cover as much ground as possible in the beginning, while they were coordinating and avoiding each other at the same time. Once their battery is at 60%, they navigate back to the home beacon. With this, the crazyflies explored 80 % of the open rooms, and on average 4 of the 6 were able to return out of the 5 flights performed. Next to this, we have also experimented with configurations with 2 and 4 crazyflies, which resulted in 15 test flights in the real-world environment, backed up with hundreds of simulated environment flights with greater quantities. </p>
<div class="keep-aspect"><iframe title="Swarm exploration by tiny flying robots" width="500" height="281" src="https://www.youtube-nocookie.com/embed/IgMKiIEbfN8?list=PL_KSX9GOn2P9okvQGaGMP7KdXmF-7_iSV" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></div>
<p> </p>
<p>Although we are very happy with the autonomous exploration by our swarm of MAVs, we see ample space for improvement, ranging from more robust obstacle detection and avoidance to more accurate intra-swarm distance sensing. On the long run, we envisage also vision-based navigation for small MAVs without a beacon at the base station. Still, for the time being, the proposed navigation method is already suitable for practical swarm navigation of small robots, as a single beacon at the base station is not a very limiting factor. Moreover, we hope that the main concept behind SGBA – trading off the accuracy of highly detailed navigation maps against substantially less computational requirements – will inspire others to tackle similarly complex missions with swarms of tiny robots. </p>
<p>For details on the experiments and SGBA, please check the paper:</p>
<p><a href="http://robotics.sciencemag.org/lookup/doi/10.1126/scirobotics.aaw9710" data-wpel-link="external" target="_blank" rel="follow external noopener noreferrer">Minimal navigation solution for a swarm of tiny flying robots to explore an unknown environment </a>K.N. McGuire, C. De Wagter, K. Tuyls, H.J. Kappen, G.C.H.E. de Croon<br />
Science Robotics, 23 October</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>The world’s smallest autonomous racing drone</title>
		<link>https://robohub.org/the-worlds-smallest-autonomous-racing-drone/</link>
		
		<dc:creator><![CDATA[Guido de Croon]]></dc:creator>
		<pubDate>Sat, 22 Jun 2019 09:21:02 +0000</pubDate>
				<category><![CDATA[articles]]></category>
		<guid isPermaLink="false">https://robohub.org/the-worlds-smallest-autonomous-racing-drone/</guid>

					<description><![CDATA[Racing team 2018-2019: Christophe De Wagter, Guido de Croon, Shuo Li, Phillipp Dürnay, Jiahao Lin, Simon Spronk Autonomous drone racing Drone racing is becoming a major e-sports. Enthusiasts – and now also professionals – transform drones into seriously fast racing platforms. Expert drone racers can reach speeds up to 190 km/h. They fly by looking [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><strong>Racing team 2018-2019: Christophe De Wagter, Guido de Croon, Shuo Li, Phillipp Dürnay, Jiahao Lin, Simon Spronk</strong></p>
<p><strong>Autonomous drone racing</strong><br />
Drone racing is becoming a major e-sports. Enthusiasts – and now also professionals – transform drones into seriously fast racing platforms. Expert drone racers can reach speeds up to 190 km/h. They fly by looking at a first-person view (FPV) of their drone, which has a camera transmitting images mounted on the front. <span id="more-135057"></span></p>
<p>In recent years, the advance in areas such as artificial intelligence, computer vision, and control has raised the question whether drones would not be able to fly faster than humans. The advantage for the drone could be that it can sense much more than the human pilot (like accelerations and rotation rates with its inertial sensors) and process all image data quicker on board of the drone. Moreover, its intelligence could be shaped purely for only one goal: racing as fast as possible.</p>
<p>In the quest for a fast-flying, autonomous racing drone, multiple autonomous racing drone competitions have been organized in the academic communit<a href="https://www.eachine.com/Eachine-TRASHCAN-75mm-Crazybee-F4-PRO-OSD-2S-Whoop-FPV-Racing-Drone-0803-16000KV-1200TVL-Adjustable-Camera-25-or-200mW-VTX-Swtichable-p-1328.html" data-wpel-link="external" target="_blank" rel="follow external noopener noreferrer"></a>y. These “IROS” drone races (where IROS stands for one of the most well-known world-wide robotics conferences) have been held from 2016 on. Over these years, the speed of the drones has been gradually improving, with the faster drones in the competition now moving at ~2 m/s.</p>
<div class="keep-aspect"><iframe title="Computationally Efficient Autonomous Racing of a 72-gram Drone" width="500" height="281" src="https://www.youtube-nocookie.com/embed/sOZJt35dIxM?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></div>
<p></p>
<p><strong>Smaller</strong><br />
Most of the autonomous racing drones are equipped with high-performance processors, with multiple, high-quality cameras and sometimes even with laser scanners. This allows these drones to use state-of-the-art solutions to visual perception, like building maps of the environment or tracking accurately how the drone is moving over time. However, it also makes the drones relatively heavy and expensive.</p>
<p>At the Micro Air Vehicle laboratory (MAVLab) of TU Delft, we have as aim to make light-weight and cheap autonomous racing drones. Such drones could be used by many drone racing enthusiasts to train with or fly against. If the drone becomes small enough, it could even be used for racing at home. Aiming for “small” means serious limitations to the sensors and processing that can be carried onboard. This is why in the IROS drone races we have always focused on monocular vision (a single camera) and on software algorithms for vision, state estimation, and control that are computationally highly efficient. </p>
<div id="attachment_135063" style="width: 910px" class="wp-caption aligncenter"><img decoding="async" aria-describedby="caption-attachment-135063" src="https://robohub.org/wp-content/uploads/2019/06/MAVLab1.png" alt="" width="900" height="599" class="size-full wp-image-135063" srcset="https://robohub.org/wp-content/uploads/2019/06/MAVLab1.png 900w, https://robohub.org/wp-content/uploads/2019/06/MAVLab1-425x283.png 425w, https://robohub.org/wp-content/uploads/2019/06/MAVLab1-768x511.png 768w" sizes="(max-width: 900px) 100vw, 900px" /><p id="caption-attachment-135063" class="wp-caption-text"><br />
With its 72 grams and 10 cm diameter, the modified “Trashcan” drone is currently the smallest autonomous racing drone in the world. In the background, Shuo Li, PhD student at working on autonomous drone racing at the MAVLab.<br /></p></div>
<p><strong>A 72-gram autonomous racing drone</strong><br />
Here, we report on how we made a tiny autonomous racing drone fly through a racing track with on average 2 m/s, which is competitive with other, larger state-of-the-art autonomous racing drones. </p>
<p>The drone, which is a modified <a href="https://www.eachine.com/Eachine-TRASHCAN-75mm-Crazybee-F4-PRO-OSD-2S-Whoop-FPV-Racing-Drone-0803-16000KV-1200TVL-Adjustable-Camera-25-or-200mW-VTX-Swtichable-p-1328.html" data-wpel-link="external" target="_blank" rel="follow external noopener noreferrer">Eachine “Trashcan”</a>, is 10 cm in diameter and weighs 72 grams. This weight includes a 17-gram <a href="http://jevois.org" data-wpel-link="external" target="_blank" rel="follow external noopener noreferrer">JeVois smart-camera</a>, which consists of a single, rolling shutter CMOS camera, a 4-core ARM v7 1.34 GHz processor with 256 MB RAM, and a 2-core Mali GPU. Although limited compared to the processors used on other drones, we consider it as more than powerful enough: With the algorithms we explain below, the drone actually only uses a single CPU core. The JeVois camera communicates with a 4.2gram Crazybee F4 Pro Flight Controller running <a href="https://wiki.paparazziuav.org/wiki/Main_Page" data-wpel-link="external" target="_blank" rel="follow external noopener noreferrer">Paparazzi autopilot</a>, via the MAVLink communication protocol. Both the JeVois code and Paparazzi code is open source and available to the community. </p>
<p>An important characteristic of our approach to drone racing is that we do not rely on accurate, but computationally expensive methods for visual Simultaneous Localization And Mapping (SLAM) or Visual Inertial Odometry (VIO). Instead, we focus on having the drone predict its motion as good as possible with an efficient prediction model and correct any drift of the model with vision-based gate detections.</p>
<p><strong>Prediction</strong><br />
A typical prediction model would involve the integration of the accelerometer readings. However, on small drones the Inertial Measurement Unit (IMU) is subject to a lot of vibration, leading to noisier accelerometer readings. Integrating such noisy measurements quickly leads to an enormous drift in both the velocity and position estimates of the drone. Therefore, we have opted for a simpler solution, in which the IMU is only used to determine the attitude of the drone. This attitude can then be used to predict the forward acceleration, as illustrated in the figure below. If one assumes the drone to fly at a constant height, the force in the z-direction has to equal the gravity force. Given a specific pitch angle, this relation leads to a specific forward force due to the thrust. The prediction model then updates the velocity based on this predicted forward force and the expected drag force given the estimated velocity. </p>
<div id="attachment_135064" style="width: 910px" class="wp-caption aligncenter"><img decoding="async" aria-describedby="caption-attachment-135064" src="https://robohub.org/wp-content/uploads/2019/06/MAVLab2.png" alt="" width="900" height="738" class="size-full wp-image-135064" srcset="https://robohub.org/wp-content/uploads/2019/06/MAVLab2.png 900w, https://robohub.org/wp-content/uploads/2019/06/MAVLab2-425x349.png 425w, https://robohub.org/wp-content/uploads/2019/06/MAVLab2-768x630.png 768w" sizes="(max-width: 900px) 100vw, 900px" /><p id="caption-attachment-135064" class="wp-caption-text">Prediction model for the tiny drone. The drone has an estimate of its attitude, including the pitch angle (ѳ). Assuming the drone to fly at a constant height, the force straight up (Tz) should equal gravity (g). Together, these two pieces allow us to calculate the thrust force that should be delivered by the drone’s four propellers (T), and, consequently also the force that is exerted forwards (Tx). The model uses this forward force, and resulting (backward) drag force (Dx), to update the velocity (vx) and position of the drone when not seeing gates.<br /></p></div>
<p><strong>Vision-based corrections</strong><br />
The prediction model is corrected with the help of vision-based position measurements. First, a snake-gate algorithm is used to detect the colored gate in the image. This algorithm is extremely efficient, as it only processes a small portion of the image’s pixels. It samples random image locations and when it finds the right color, it starts following it around to determine the shape. After a detection, the known size of the gate is used to determine the drone’s relative position to the gate (see the figure below). This is a standard perspective-N-point problem. The output of this process is a relative position to a gate. Subsequently, we figure out which gate on the racing track is most likely in our view, and transform the relative position to the gate to a global position measurement. Since our vision process often outputs quite precise position estimates but sometimes also produces significant outliers, we do not use a Kalman filter but a Moving Horizon Estimator for the state estimation. This leads to much more robust position and velocity estimates in the presence of outliers. </p>
<div id="attachment_135065" style="width: 910px" class="wp-caption aligncenter"><img decoding="async" aria-describedby="caption-attachment-135065" src="https://robohub.org/wp-content/uploads/2019/06/MAVLab3.png" alt="" width="900" height="685" class="size-full wp-image-135065" srcset="https://robohub.org/wp-content/uploads/2019/06/MAVLab3.png 900w, https://robohub.org/wp-content/uploads/2019/06/MAVLab3-425x323.png 425w, https://robohub.org/wp-content/uploads/2019/06/MAVLab3-768x585.png 768w" sizes="(max-width: 900px) 100vw, 900px" /><p id="caption-attachment-135065" class="wp-caption-text">The gates and their sizes are known. When the drone detects a gate, it can use this knowledge to calculate its relative position to a gate. The global layout of the track and current supposed position of the drone are used to determine which gate the drone is most likely looking at. This way, the relative position can be transformed to a global position estimate.</p></div>
<p><strong>Racing performance and future steps</strong><br />
The drone used the newly developed algorithms to race along a 4-gate race track in TU Delft’s Cyberzoo. It can fly multiple laps at an average speed of 2 m/s, which is competitive with larger, state-of-the-art autonomous racing drones (see the video at the top). Thanks to the central role of gate detections in the drone’s algorithms, the drone can cope with moderate displacements of the gates.<br />
Possible future directions of research are to make the drone smaller and fly faster. In principle, being small is an advantage, since the gates are relatively bigger. This allows the drone to choose its trajectory more freely than a big drone, which may allow for faster trajectories. In order to better exploit this characteristic, we would have to fit optimal control algorithms into the onboard processing. Moreover, we want to make the vision algorithms more robust – as the current color-based snake gate algorithm is quite dependent on lighting conditions. An obvious option here is to start using deep neural networks, which would have to fit within the dual-core Mali GPU on the JeVois. </p>
<p>Arxiv article: <a href="https://arxiv.org/abs/1905.10110" data-wpel-link="external" target="_blank" rel="follow external noopener noreferrer">Visual Model-predictive Localization for Computationally Efficient Autonomous Racing of a 72-gram Drone</a>, Shuo Li, Erik van der Horst, Philipp Duernay, Christophe De Wagter, Guido C.H.E. de Croon.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>DelFly Nimble mimics the high-speed escape of fruit flies</title>
		<link>https://robohub.org/delfly-nimble-mimics-the-high-speed-escape-of-fruit-flies/</link>
		
		<dc:creator><![CDATA[Guido de Croon]]></dc:creator>
		<pubDate>Wed, 26 Sep 2018 14:54:05 +0000</pubDate>
				<category><![CDATA[news]]></category>
		<guid isPermaLink="false">https://robohub.org/delfly-nimble-mimics-the-high-speed-escape-of-fruit-flies/</guid>

					<description><![CDATA[Bio-inspired flapping wing robots hold a great potential. The promise is that they can fly very efficiently even at smaller scales, while being able to fly fast, hover, and make quick maneuvers. We now present a new flapping wing robot, the DelFly Nimble, that is so agile that it can even accurately mimic the high-speed [&#8230;]]]></description>
										<content:encoded><![CDATA[<div id="attachment_108632" style="width: 910px" class="wp-caption aligncenter"><img decoding="async" aria-describedby="caption-attachment-108632" src="https://robohub.org/wp-content/uploads/2018/09/Delfly1.png" alt="" width="900" height="578" class="size-full wp-image-108632" srcset="https://robohub.org/wp-content/uploads/2018/09/Delfly1.png 900w, https://robohub.org/wp-content/uploads/2018/09/Delfly1-425x273.png 425w, https://robohub.org/wp-content/uploads/2018/09/Delfly1-768x493.png 768w" sizes="(max-width: 900px) 100vw, 900px" /><p id="caption-attachment-108632" class="wp-caption-text">DelFly Nimble in forward flight. Credits: TU Delft</p></div>
<p>Bio-inspired flapping wing robots hold a great potential. The promise is that they can fly very efficiently even at smaller scales, while being able to fly fast, hover, and make quick maneuvers. We now present a new flapping wing robot, the <a href="http://www.delfly.nl/" data-wpel-link="external" target="_blank" rel="follow external noopener noreferrer">DelFly Nimble</a>, that is so agile that it can even accurately mimic the high-speed escape maneuvers of fruit flies. In the scientific article, published in <a href="http://science.sciencemag.org/content/361/6407/1089/" data-wpel-link="external" target="_blank" rel="follow external noopener noreferrer">Science</a>, we show that the robot’s motion resembles so much that of the fruit fly that it allowed us to better understand the dynamics of fruit flies during escape maneuvers. Here at Robohub, we wish to give a bit more background about the motivation and process of how we got to the final design of this robot, and what we think the future may bring.<span id="more-108631"></span></p>
<p>At TU Delft, we have been working since 2005 on <a href="http://www.delfly.nl/" data-wpel-link="external" target="_blank" rel="follow external noopener noreferrer">flapping wing robots</a>. The first one, the DelFly I, was made by a group of students, guided by the lab staff. Already this first model, which had a wingspan of  50 cm and a weight of 21 grams, was designed to carry a camera for remote inspection. In fact, one of the defining aspects of the DelFly, the X-wing configuration, was chosen so that a camera attached to the body would not vibrate too much during flight. This configuration also really worked out well for the efficiency of flight, as the touching and parting of the wings (termed “clap-and-fling”) significantly increased lift production. DelFly I could be tele-piloted with First Person View to fly into a room, look around, and fly out again.<br />
Since the first DelFly design, we have been scaling the DelFly down (even down to the camera-equipped, 10cm wingspan and 3 gram DelFly Micro), but we have always kept a focus on keeping a fully operational platform with a camera (see video below). </p>
<div class="keep-aspect"><iframe title="DelFly Micro first test flight" width="500" height="375" src="https://www.youtube-nocookie.com/embed/L17Ox4FQTkM?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></div>
<p> </p>
<p>Moreover, we have made the DelFly smarter (e.g., the fully autonomous 20-gram DelFly Explorer in the video below), so that it can fly around in buildings if there is no video link to a human pilot. </p>
<div class="keep-aspect"><iframe title="Robot dragonfly DelFly Explorer flies autonomously" width="500" height="281" src="https://www.youtube-nocookie.com/embed/tNPfD9l14Js?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></div>
<p></p>
<p>However, when flying all these DelFly models in realistic real-world environments, we were often faced with the challenges of wind and wind gusts. This definitely is a challenge when flying outdoors, or from outdoors to indoors, but even a strong air conditioning could push the DelFly off its course, enough to cause trouble. The problem here is the fact that all these DelFly models steered by means of an airplane-like tail, with a rudder and elevator. When flying fast, the air would go very fast over these surfaces, providing quite some control authority, but when flying slower, most of the air would come from the flapping of the DelFly’s own wings, leading to less control authority. </p>
<p>The solution to this problem is to steer more like insects do: by changing the wing motion to introduce body rotations. This allows for much higher torques, and hence much more agile behavior. Removing the stabilizing tail does introduce the need for active attitude control. Steering with the wings was first used on a flapping wing robot by <a href="https://en.wikipedia.org/wiki/AeroVironment_Nano_Hummingbird" data-wpel-link="external" target="_blank" rel="follow external noopener noreferrer">AeroVironment’s Nano Hummingbird</a>, and – with a very different mechanical design &#8211; is also used on the tiny <a href="https://en.wikipedia.org/wiki/RoboBee" data-wpel-link="external" target="_blank" rel="follow external noopener noreferrer">Robobee</a>. For the DelFly design, we have made some different choices as we will explain below.</p>
<p>Looking at flying animals, there are many ways how the rotations around their three orthogonal body axes can be controlled. The wing motion patterns of flying insects show large differences among various species, and the changes in these patterns inducing the body rotations often involve many parameters. However, with robots, we are limited by the currently available actuators, and the current level of technology in general. We were thus searching for a solution that would: 1) require minimal number of actuators to generate the three torques inducing the respective body rotations, and the lift force keeping the robot airborne, 2) be able to generate these torques independently, ideally by mechanically decoupled mechanisms, 3) and that would be as simple as possible, to keep the system lightweight. Moreover, we wanted to reuse as much as possible of our previous, reliable and efficient, DelFly designs.</p>
<p><div id="attachment_108646" style="width: 910px" class="wp-caption aligncenter"><img decoding="async" aria-describedby="caption-attachment-108646" src="https://robohub.org/wp-content/uploads/2018/09/Delfly2.png" alt="" width="900" height="567" class="size-full wp-image-108646" srcset="https://robohub.org/wp-content/uploads/2018/09/Delfly2.png 900w, https://robohub.org/wp-content/uploads/2018/09/Delfly2-425x268.png 425w, https://robohub.org/wp-content/uploads/2018/09/Delfly2-768x484.png 768w" sizes="(max-width: 900px) 100vw, 900px" /><p id="caption-attachment-108646" class="wp-caption-text">DelFly Explorer with tail and ailerons. Credits: TU Delft</p></div><br />
<div id="attachment_108647" style="width: 910px" class="wp-caption aligncenter"><img decoding="async" aria-describedby="caption-attachment-108647" src="https://robohub.org/wp-content/uploads/2018/09/Delfly3.png" alt="" width="900" height="602" class="size-full wp-image-108647" srcset="https://robohub.org/wp-content/uploads/2018/09/Delfly3.png 900w, https://robohub.org/wp-content/uploads/2018/09/Delfly3-425x284.png 425w, https://robohub.org/wp-content/uploads/2018/09/Delfly3-768x514.png 768w" sizes="(max-width: 900px) 100vw, 900px" /><p id="caption-attachment-108647" class="wp-caption-text">The new, tailless DelFly Nimble. Credits: TU Delft</p></div> </p>
<p>We landed on a concept, which reuses two of the flapping wing mechanisms, each with two 14-cm wings installed only on one side. The two mechanisms, one of each side of the robot, can provide the thrust force but also roll moments, if one of the two wing pairs is driven at a higher frequency, and thus producing higher thrust force, than the other. These two mechanisms are not rigidly fixed to the body, but their relative orientation can be controlled by a simple, 3D-printed servo-actuator-driven gear mechanism. This allows to shift the flapping wings (and their thrust forces) more in front of, or behind the body, which results in a pitch moment, making the body tilt forward or backward. Finally, we have added a third servo actuator that deflects the bottoms of the wing roots asymmetrically; this tilts the thrust vectors clockwise or counter clockwise (when viewed from the top), and results in a yaw torque, making the body turn around its axis.<br />
Compared to previous tailless designs, this solution allows production with available and established manufacturing technologies, and relatively easy assembly. Moreover, the effectiveness of the control mechanisms is very high, allowing highly agile maneuvers. Importantly, this effectiveness is rather insensitive to the position of the center of gravity, which can shift when a battery is changed or when a camera is added to the system. Thanks to this insensitivity we can even play with the position of the center of gravity, either making the DelFly more agile or more stable in flight, without losing control authority. Finally, for high-speed forward flight, the DelFly has to move its wings backwards to pitch forward; this also introduces a positive dihedral effect that helps with the stabilization in this fast flight mode.</p>
<div class="keep-aspect"><iframe title="DelFly Nimble - an agile insect-inspired robot" width="500" height="281" src="https://www.youtube-nocookie.com/embed/CEhu-FePBC0?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></div>
<p></p>
<p>We think that the DelFly Nimble is a great starting point to start exploring real-world applications, such as flying in greenhouses to monitor the crop or flying in warehouses to scan the stock. It can hover for over 5 minutes and when flying fast forward it has a range of a kilometer. With its onboard computer – an open source 2.8 gram <a href="https://wiki.paparazziuav.org/wiki/Lisa/S" data-wpel-link="external" target="_blank" rel="follow external noopener noreferrer">Lisa S autopilot</a> that is used for actively stabilizing the robot – we can make it execute pre-programmed behaviors such as flips or rapid turns. Towards the future, we want to investigate ways to make it smaller and smarter, but we promise not to teach it how to lay eggs on the fruit in your kitchen. </p>
<p>Research team<br />
Matěj Karásek (1)<br />
Florian Muijres (2)<br />
Christophe De Wagter (1)<br />
Bart Remes (1)<br />
Guido de Croon (1)<br />
(1)	Micro Air Vehicle Laboratory, Control and Simulation, Delft University of Technology, Delft, Netherlands.<br />
(2)	Experimental Zoology Group, Wageningen University and Research, Wageningen, Netherlands.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Drone learns to see in zero-gravity</title>
		<link>https://robohub.org/drone-learns-to-see-in-zero-gravity/</link>
		
		<dc:creator><![CDATA[Guido de Croon]]></dc:creator>
		<pubDate>Mon, 03 Oct 2016 14:44:36 +0000</pubDate>
				<category><![CDATA[articles]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[space]]></category>
		<category><![CDATA[TU Delft]]></category>
		<guid isPermaLink="false">http://robohub.org/drone-learns-to-see-in-zero-gravity/</guid>

					<description><![CDATA[During an experiment performed on board of the International Space Station (ISS) a small drone successfully learned by itself to see distances using only one eye, reported scientists at the 67th International Astronautical Congress (IAC) in Guadalajara, Mexico. Although humans effortlessly estimate distances with one eye, it is not clear how we learn this capability, [&#8230;]]]></description>
										<content:encoded><![CDATA[<div id="attachment_66659" style="width: 862px" class="wp-caption aligncenter"><a href="http://robohub.org/wp-content/uploads/2016/10/SPHERE_internal.png" data-wpel-link="internal"><img decoding="async" aria-describedby="caption-attachment-66659" class="size-full wp-image-66659" src="http://robohub.org/wp-content/uploads/2016/10/SPHERE_internal.png" alt="Overview of the experiment and the internal sensor readings of the drone." width="852" height="440" srcset="https://robohub.org/wp-content/uploads/2016/10/SPHERE_internal.png 852w, https://robohub.org/wp-content/uploads/2016/10/SPHERE_internal-425x219.png 425w, https://robohub.org/wp-content/uploads/2016/10/SPHERE_internal-500x258.png 500w" sizes="(max-width: 852px) 100vw, 852px" /></a><p id="caption-attachment-66659" class="wp-caption-text">Overview of the experiment and the internal sensor readings of the drone.</p></div>
<p>During an experiment performed on board of the International Space Station (ISS) a small drone successfully learned by itself to see distances using only one eye, reported scientists at the 67th International Astronautical Congress (IAC) in Guadalajara, Mexico.<span id="more-66653"></span></p>
<p>Although humans effortlessly estimate distances with one eye, it is not clear how we learn this capability, nor how robots should learn the same. The experiment was designed in collaboration between the Advanced Concepts Team (ACT) of the European Space Agency (ESA), the Massachusetts Institute of Technology (MIT) and the Micro Air Vehicles lab (MAV-lab) of Delft University of Technology (TU Delft), and was the final step of a five-year research effort aimed at in-orbit testing of advanced artificial intelligence (AI) concepts.</p>
<p>https://www.youtube.com/watch?list=PL_KSX9GOn2P-U9mQKHf9Ul_cSteTw13CW&#038;v=GZHE0E6AsSE</p>
<p>The paper, <a href="http://www.esa.int/gsp/ACT/doc/AI/pub/ACT-RPR-AI-2016-IAF-selfsupervisedlearningontheISS.pdf" target="_blank" rel="noopener follow external noreferrer" data-wpel-link="external">“Self-supervised learning as an enabling technology for future space exploration robots: ISS experiments”</a>, describes how during the experiment a drone started navigating in the ISS while recording stereo vision information on its surroundings from its two ‘eyes’ (cameras). It then started to learn about the distances to walls and obstacles encountered so that when the stereo vision camera would be switched off, it could start an autonomous exploratory behaviour using only one ‘eye’ (a single camera).</p>
<p>While humans can close one eye and still be able to tell whether a particular object is far, in robotics many would consider it as being extremely hard. “It is a mathematical impossibility to extract distances to objects from one single image, as long as one has not experienced the objects before,” says Guido de Croon from Delft University of Technology and one of the principal investigators of the experiment. “But once we recognise something to be a car, we know its physical characteristics and we may use that information to estimate its distance from us. A similar logic is what we wanted the drones to learn during the experiments.&#8221; Only, in an environment with no gravity, where no particular direction is favourite and thus had also to overcome this difficulty.</p>
<p>The self-supervised learning algorithm developed and used during the in-orbit experiment was <a href="http://arxiv.org/abs/1603.08047" target="_blank" rel="noopener follow external noreferrer" data-wpel-link="external">thoroughly tested at the TU Delft CyberZoo on quadrotors</a>, proving its value and robustness.</p>
<div id="attachment_66658" style="width: 860px" class="wp-caption aligncenter"><a href="http://robohub.org/wp-content/uploads/2016/10/drone_earth.png" data-wpel-link="internal"><img decoding="async" aria-describedby="caption-attachment-66658" class="size-full wp-image-66658" src="http://robohub.org/wp-content/uploads/2016/10/drone_earth.png" alt="Drone learns to see distances with one camera on earth. " width="850" height="438" srcset="https://robohub.org/wp-content/uploads/2016/10/drone_earth.png 850w, https://robohub.org/wp-content/uploads/2016/10/drone_earth-425x219.png 425w, https://robohub.org/wp-content/uploads/2016/10/drone_earth-500x258.png 500w" sizes="(max-width: 850px) 100vw, 850px" /></a><p id="caption-attachment-66658" class="wp-caption-text">Drone learns to see distances with one camera on earth.</p></div>
<p>“It was very exciting to see, for the first time, a drone in space learning using cutting edge AI methods,&#8221; added Dario Izzo who coordinated the scientific contribution from <a href="http://www.esa.int/gsp/ACT/index.html" target="_blank" rel="noopener follow external noreferrer" data-wpel-link="external">ESA’s Advanced Concepts Team</a>.</p>
<p>“At ESA, and in particular here at the ACT, we worked towards this goal for the past 5 years. In space applications, machine learning is not considered as a reliable approach to autonomy: a ‘bad’ learning result may result in a catastrophic failure of the entire mission. Our approach, based on the self-supervised learning paradigm, has a high degree of reliability and helps the drone autonomy: a similar learning algorithm was successfully applied to self-driving cars, a task where reliability is also of paramount importance.”</p>
<p>https://youtu.be/tDS4SUR_Egs?list=PL_KSX9GOn2P-U9mQKHf9Ul_cSteTw13CW</p>
<p>The little drone that successfully learned “to see” was one of the SPHERES (Synchronized Position Hold Engage and Reorient Experimental Satellite) drones on board the ISS. The SPHERES are capable of rotation and translation in all directions. Twelve carbon dioxide thrusters are used for control and propulsion, and allow the satellites to manoeuvre with great precision in the zero gravity environment of the station. The MIT Space Systems Laboratory, in conjunction with NASA, DARPA, and Aurora Flight Sciences, developed and operates the SPHERES system to provide a safe and reusable zero gravity platform to test sensor, control and autonomy technologies for use in satellites. Developing these technologies is an enabler for new types of satellite systems.</p>
<p>The drone experiments on earth were performed by Kevin van Hecke for his MSc thesis. He also went to the MIT Space Systems Lab to translate the drone programs to the software required by the SPHERES: “It was my life-long dream to work on space technology, but that I would contribute to a learning robot in space even exceeds my wildest dreams!”</p>
<p>Indeed, the experiment seems to hold promise for the future: “This is a further step in our quest for truly autonomous space systems, increasingly needed for deep space exploration, complex operations, for reducing costs, and increasing capabilities and science opportunities,” comments Leopold Summerer, head of ESA’s Advanced Concepts Team.</p>
<h2>Team involved</h2>
<p><em>TU Delft MAV-Lab:</em> Guido de Croon, Laurens van der Maaten, Kevin van Hecke.<br />
<em>Massachusetts Institute of Technology:</em> Timothy P. Setterfield, Alvar Saenz-Otero.<br />
<em>Advanced Concepts Team:</em> Dario Izzo, Daniel Hennes.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>New insect-inspired vision strategy could hasten development of mini-drones</title>
		<link>https://robohub.org/new-insect-inspired-vision-strategy-could-hasten-mini-drone-development/</link>
		
		<dc:creator><![CDATA[Guido de Croon]]></dc:creator>
		<pubDate>Thu, 07 Jan 2016 13:48:42 +0000</pubDate>
				<category><![CDATA[news]]></category>
		<category><![CDATA[bio-inspired]]></category>
		<category><![CDATA[EU]]></category>
		<category><![CDATA[research]]></category>
		<category><![CDATA[TU Delft]]></category>
		<category><![CDATA[UAVs & drones]]></category>
		<guid isPermaLink="false">http://robohub.org/new-insect-inspired-vision-strategy-could-hasten-mini-drone-development/</guid>

					<description><![CDATA[New research published today in the Journal of Bioinspiration and Biomimetics by the Micro Air Vehicle laboratory of TU Delft shows that an insect-inspired vision strategy can help indoor flying drones to perceive distances with a single camera – a key requirement for controlled and safe landing. With indoor drones no longer needing to bear [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>New <a href="http://iopscience.iop.org/article/10.1088/1748-3190/11/1/016004" data-wpel-link="external" target="_blank" rel="follow external noopener noreferrer">research</a> published today in the Journal of Bioinspiration and Biomimetics by the <a href="http://mavlab.tudelft.nl/" data-wpel-link="external" target="_blank" rel="follow external noopener noreferrer">Micro Air Vehicle laboratory of TU Delft</a> shows that an insect-inspired vision strategy can help indoor flying drones to perceive distances with a single camera – a key requirement for controlled and safe landing. With indoor drones no longer needing to bear the weight of additional sonar equipment, the strategy should hasten the miniaturization of indoor autonomous drones.<span id="more-58495"></span></p>
<p>The research found that drones with an insect-inspired vision strategy become unstable as they approach an object, and that this happens at a specific distance. Turning this weakness into a strength, drones can use the timely detection of that emerging instability to estimate distance.</p>
<div id="attachment_58497" style="width: 1010px" class="wp-caption aligncenter"><img decoding="async" aria-describedby="caption-attachment-58497" class="wp-image-58497 size-full" src="http://robohub.org/wp-content/uploads/2016/01/gains_drones_image.jpg" alt="gains_drones_image" width="1000" height="563" srcset="https://robohub.org/wp-content/uploads/2016/01/gains_drones_image.jpg 1000w, https://robohub.org/wp-content/uploads/2016/01/gains_drones_image-425x239.jpg 425w, https://robohub.org/wp-content/uploads/2016/01/gains_drones_image-175x100.jpg 175w, https://robohub.org/wp-content/uploads/2016/01/gains_drones_image-500x282.jpg 500w" sizes="(max-width: 1000px) 100vw, 1000px" /><p id="caption-attachment-58497" class="wp-caption-text">Two landing trajectories over time, starting from 4 meters. The light blue drone has stronger reactions to optical flow deviations than the magenta drone, and hence starts to oscillate further away from the landing surface.</p></div>
<p>In an effort to make ever smaller drones navigate by themselves, researchers increasingly turn to flying insects for inspiration. For example, current consumer drones for indoor flight use an insect-inspired strategy for estimating their velocity. They use a downward looking camera that determines <em>optical flow </em>– the speed at which objects move through the camera’s field of view. However, optical flow only provides information on the ratio between distance and velocity. Hence, an additional sonar is generally added to indoor flying drones. The sonar provides the distance to the ground, after which the velocity can be calculated from the optical flow. With the new strategy it becomes possible to get rid of the sonar, allowing indoor flying drones to become even smaller.</p>
<div class="keep-aspect"><iframe title="Seeing distances with one eye" width="500" height="281" src="https://www.youtube-nocookie.com/embed/Fm7SMJp8EA4?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></div>
<p></p>
<p><strong>Soft landings</strong></p>
<p>Although flying insects such as honeybees have two facet eyes, these are placed so close together that they cannot use stereo vision to estimate distances useful for navigation. They heavily rely on the distance-less cue of optical flow, and yet they lack the sensors to retrieve the actual distance to objects in their environment. So how do insects navigate successfully? Previous research has shown that simple optical flow control laws ensure safe navigation. For instance, keeping the optical flow constant during descent ensures that a drone makes a soft landing.</p>
<blockquote></p>
<p><strong>Further reading:</strong></p>
<p><a title="A new artificial compound eye" href="http://robohub.org/a-new-artificial-compound-eye/" rel="bookmark" data-wpel-link="internal">A new artificial compound eye</a></p>
<p><a title="Permanent Link: Fully autonomous flapping-wing micro air vehicle weighs about as much as 4 sheets of A4 paper" href="http://robohub.org/fully-autonomous-flapping-wing-micro-air-vehicle-weighs-about-as-much-as-4-sheets-of-a4-paper/" rel="bookmark" data-wpel-link="internal">Fully autonomous flapping-wing micro air vehicle weighs about as much as 4 sheets of A4 paper</a></p>
<p><a title="Permanent Link: Parrot AR.Drone app harnesses crowd power to fast-track vision learning in robotic spacecraft" href="http://robohub.org/parrot-ar-drone-app-harnesses-crowd-power-to-fast-track-vision-learning-in-robotic-spacecraft/" rel="bookmark" data-wpel-link="internal">Parrot AR.Drone app harnesses crowd power to fast-track vision learning in robotic spacecraft</a></p>
<p><a title="DALER: A bio-inspired robot that can both fly and walk" href="http://robohub.org/daler-a-bio-inspired-robot-that-can-both-fly-and-walk/" rel="bookmark" data-wpel-link="internal">DALER: A bio-inspired robot that can both fly and walk</a></p>
<p><a title="Bioinspired robotics #2: Materials, manufacturing &amp; design, with Robert Wood" href="http://robohub.org/bioinspired-robotics-2-materials-manufacturing-design-with-robert-wood/" rel="bookmark" data-wpel-link="internal">Bioinspired robotics: Materials, manufacturing &amp; design, with Robert Wood</a></p>
<p>Sign up for our <a href="http://sign up for our weekly newsletter" data-wpel-link="external" target="_blank" rel="follow external noopener noreferrer">newsletter</a>.</p>
<p></blockquote>
<p>However, implementing this strategy on a real drone turned out to be very difficult as it is extremely difficult to recreate fast and smooth optical flow landings because the drones tend to oscillate up and down as they approach the ground when landing.</p>
<p>While I initially thought that this was due to the computer vision algorithms not working well enough when close to the ground, I eventually determined that the effect is still there even when the drone has perfect vision.</p>
<p><strong>Using instability</strong></p>
<p>In fact, theoretical analysis of the drone’s control laws showed that a robot that is trying to keep the optical flow constant will start to oscillate at a specific distance from the landing surface. The oscillations are induced by the robot itself, because a movement that occurs close to the ground has a much quicker and larger effect on the optical flow than a movement that occurs further away from the ground.</p>
<p>The core idea is that timely detection of such oscillations allows the drone to know how far it is from the landing surface. In other words, the robot exploits the impending <em>instability</em> of its control system to perceive distances. This could be used to determine when to switch off its propellers during landing, for instance.</p>
<p>Of course I had many strange looks in the flight arena when I was cheering on a flying robot that seemed to be on the verge of going out of control!</p>
<div id="attachment_58498" style="width: 1010px" class="wp-caption aligncenter"><img decoding="async" aria-describedby="caption-attachment-58498" class="wp-image-58498 size-full" src="http://robohub.org/wp-content/uploads/2016/01/drone_grass_movement_Guido_DeCroon_MAV_Delft.jpg" alt="drone_grass_movement_Guido_DeCroon_MAV_Delft" width="1000" height="550" srcset="https://robohub.org/wp-content/uploads/2016/01/drone_grass_movement_Guido_DeCroon_MAV_Delft.jpg 1000w, https://robohub.org/wp-content/uploads/2016/01/drone_grass_movement_Guido_DeCroon_MAV_Delft-425x234.jpg 425w, https://robohub.org/wp-content/uploads/2016/01/drone_grass_movement_Guido_DeCroon_MAV_Delft-500x275.jpg 500w" sizes="(max-width: 1000px) 100vw, 1000px" /><p id="caption-attachment-58498" class="wp-caption-text">A Parrot AR drone making a constant optical flow landing outdoors.</p></div>
<p><strong>Biological hypothesis</strong></p>
<p>A closer look at the biological literature shows that flying insects do have some behaviours that are triggered at specific distances. For example, both honeybees and fruitflies extend their legs at a fairly consistent distance from the landing surface [1,2]. The new theory provides a hypothesis on how insects may perceive the distances necessary for such behaviors.</p>
<p>&nbsp;</p>
<hr class="xh2  ">
<p><strong>More info<br />
</strong></p>
<p>‘<a href="http://iopscience.iop.org/article/10.1088/1748-3190/11/1/016004" data-wpel-link="external" target="_blank" rel="follow external noopener noreferrer">Monocular distance estimation with optical flow maneuvers and efference copies: a stability-based strategy</a>’ in <em><a href="http://iopscience.iop.org/1748-3190/" data-wpel-link="external" target="_blank" rel="follow external noopener noreferrer">Bioinspiration &amp; Biomimetics</a></em>, article published online on 7 January 2016.</p>
<p><a href="http://mavlab.tudelft.nl/" data-wpel-link="external" target="_blank" rel="follow external noopener noreferrer">http://mavlab.tudelft.nl/<br />
</a><a href="http://www.bene-guido.eu/" data-wpel-link="external" target="_blank" rel="follow external noopener noreferrer">http://www.bene-guido.eu/</a></p>
<p>&nbsp;</p>
<p><strong>Contact</strong><br />
Guido de Croon: +31 (0)15 278 1402, <a href="mailto:G.C.H.E.deCroon@tudelft.nl">G.C.H.E.deCroon@tudelft.nl</a></p>
<p>&nbsp;</p>
<hr class="xh2  ">
<p><strong>References </strong></p>
<p>[1] Van Breugel F and Dickinson M H 2012 The visual control of landing and obstacle avoidance in the fruit fly Drosophila melanogaster J. Exp. Biol. 215 1783–98</p>
<p>[2] Evangelista C, Kraft P, Dacke M, Reinhard J and Srinivasan M V 2010 The moment before touchdown: landing manoeuvres of the honeybee apis mellifera J. Exp. Biol. 213 262–70</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Fully autonomous flapping-wing micro air vehicle weighs about as much as 4 sheets of A4 paper</title>
		<link>https://robohub.org/fully-autonomous-flapping-wing-micro-air-vehicle-weighs-about-as-much-as-4-sheets-of-a4-paper/</link>
		
		<dc:creator><![CDATA[Guido de Croon]]></dc:creator>
		<pubDate>Mon, 16 Dec 2013 07:59:34 +0000</pubDate>
				<category><![CDATA[news]]></category>
		<category><![CDATA[control]]></category>
		<category><![CDATA[micro & nano]]></category>
		<category><![CDATA[prototype]]></category>
		<category><![CDATA[research]]></category>
		<category><![CDATA[TU Delft]]></category>
		<category><![CDATA[UAVs & drones]]></category>
		<guid isPermaLink="false">http://robohub.org/?p=24327</guid>

					<description><![CDATA[The DelFly Explorer, a flapping wing MAV equipped with a 4-gram stereo vision system that can fly completely by itself in unknown, cluttered environments. © Delft University of Technology. The DelFly Explorer is the first flapping wing Micro Air Vehicle (MAV) that is able to fly with complete autonomy in unknown environments. Weighing just 20 grams [&#8230;]]]></description>
										<content:encoded><![CDATA[<img decoding="async" class="alignright size-full wp-image-24329" alt="DelFlyExplorerInFlight" src="http://robohub.org/wp-content/uploads/2013/12/DelFlyExplorerInFlight.jpg" width="1000" height="631" srcset="https://robohub.org/wp-content/uploads/2013/12/DelFlyExplorerInFlight.jpg 1000w, https://robohub.org/wp-content/uploads/2013/12/DelFlyExplorerInFlight-300x189.jpg 300w, https://robohub.org/wp-content/uploads/2013/12/DelFlyExplorerInFlight-475x300.jpg 475w" sizes="(max-width: 1000px) 100vw, 1000px" />
<div class="minitext">The DelFly Explorer, a flapping wing MAV equipped with a 4-gram stereo vision system that can fly completely by itself in unknown, cluttered environments. © Delft University of Technology.</div>
<p>The DelFly Explorer is the first flapping wing Micro Air Vehicle (MAV) that is able to fly with complete autonomy in unknown environments. Weighing just 20 grams and with a wingspan of 28cm, it is equipped with an onboard stereo vision system. The DelFly Explorer can perform an autonomous take-off, keep its height, and avoid obstacles for as long as its battery lasts (~9 minutes). All sensing and processing is performed on board, so no human or offboard computer is in the loop.</p>
<p><span id="more-24327"></span></p>
<div class=" "><iframe title="Robot dragonfly DelFly Explorer flies autonomously" width="500" height="281" src="https://www.youtube-nocookie.com/embed/tNPfD9l14Js?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></div>
<p></p>
<p>Inspired by flying animals, flapping-wing MAVs are highly manoeuvrable, able to quickly transition between multiple flight regimes (such as between hover and forward flying), and are robust to collisions. Their low weight and unobtrusive appearance, as well their ability to fly at low speeds and operate quietly, make them more suitable for use indoors or in the presence of humans than many other aerial platforms. There are many future applications, such as the detection of ripe fruit in green houses, for which flapping wing MAVs would need to fly without human intervention.</p>
<p>However, designing flapping-wing MAVs that are capable of autonomous flight is challenging, because of their small scale and extremely limited payload capabilities. Therefore, previous work in this area either focused on sub-tasks (such as led-following) or out-sourced parts of the sensing and control to external cameras and/or computers.</p>
<p>We achieved the fully autonomous flight of the DelFly Explorer by resolving the following four main challenges:</p>
<ol>
<li><strong>Onboard sensing/processing:</strong> We have developed a 4-gram onboard stereo vision system (2 cameras + processor) and 1-gram onboard autopilot with processor, barometer, accelerometers and gyros.</li>
<li><strong>Vision algorithms:</strong> We developed a new approach to purposive vision, in which the vision algorithms make use of sub-sampling and extract only as many image samples as necessary for subsequent control. As a result, all vision algorithms run at frame rate. Specifically, we designed efficient vision algorithms that can cope with the absence of visual texture, as often happens in indoor environments (see the empty walls in the lecture room as an example). The algorithms also deal with the distortions that are introduced by the combination of the flapping motion and the rolling shutter cameras.</li>
<li><strong>Control algorithms: </strong>We devised a control algorithm that ensures obstacle-free flight by construction. It takes into account the fact that the DelFly Explorer cannot hover in place by always ensuring an obstacle-free region in which the DelFly can turn around. The height control is based on the onboard barometer.</li>
<li><strong>Payload capability:</strong> Compared to its predecessor (the 16-gram, 28cm wingspan flapping-wing <a href="http://www.delfly.nl/?site=DII&amp;menu=home&amp;lang=en" data-wpel-link="external" target="_blank" rel="follow external noopener noreferrer">DelFly II</a>), the Explorer&#8217;s payload capability was increased enough to carry the stereo vision system and autopilot. This was achieved both by a redesign of the wings and by a reduction in the number of coils in the brushless motors.</li>
</ol>
<p>We have performed experiments in various indoor spaces, ranging from lecture rooms to office rooms and lab spaces. Below, you see a part of an autonomous flight in a lecture room at TU Delft. The image has been made by retaining the motion regions every 10 frames in the experimental video. The original experimental video can be seen <a href="http://www.youtube.com/watch?v=JAxMbY20SfI" target="_blank" data-wpel-link="external" rel="follow external noopener noreferrer">here</a>.</p>
<img decoding="async" class="alignright size-full wp-image-24331" alt="DelFly_Collage" src="http://robohub.org/wp-content/uploads/2013/12/DelFly_Collage.jpg" width="1000" height="563" srcset="https://robohub.org/wp-content/uploads/2013/12/DelFly_Collage.jpg 1000w, https://robohub.org/wp-content/uploads/2013/12/DelFly_Collage-300x168.jpg 300w, https://robohub.org/wp-content/uploads/2013/12/DelFly_Collage-500x281.jpg 500w" sizes="(max-width: 1000px) 100vw, 1000px" />
<div class="minitext">A small part of the DelFly Explorer&#8217;s trajectory during a 9-minute autonomous flight. It runs efficient vision and control algorithms on board in order to avoid obstacles in the environment. © Delft University of Technology.</div>
<p>The current algorithms allow collision-free flight, but do not yet form a complete solution to autonomous exploration. We are working to extend the DelFly&#8217;s exploration capabilities so that it can pass through open doors or windows, which it currently avoids.</p>
<p>For more information and videos, please visit the <a href="http://www.delfly.nl/" target="_blank" data-wpel-link="external" rel="follow external noopener noreferrer">DelFly website</a>.</p>
<h2>Reference</h2>
<p>&#8220;Autonomous Flight of a 20-gram Flapping Wing MAV with a 4-gram Onboard Stereo Vision System&#8221;, by C. De Wagter, S. Tijmons, B.D.W. Remes, and G.C.H.E. de Croon, (submitted).</p>
<h2>Team</h2>
<p>Christophe De Wagter<br />
Sjoerd Tijmons<br />
Bart Remes<br />
Guido de Croon</p>
<h2>Contact</h2>
<p>g.c.h.e.decroon@tudelft.nl</p>
<div class="divideronpost"></div>
<p><em>If you liked this article, you may also be interested in:</em></p>
<ul>
<li><a href="http://robohub.org/insect-inspired-flying-robot-handles-collisions-goes-where-other-robots-cant/" data-wpel-link="internal">Insect-inspired flying robot handles collisions, goes where other robots can’t</a></li>
<li><a href="http://robohub.org/controlling-insect-sized-flying-robots/" data-wpel-link="internal">First controlled flight of an insect-sized robot</a></li>
<li><a href="http://robohub.org/parrot-ar-drone-app-harnesses-crowd-power-to-fast-track-vision-learning-in-robotic-spacecraft/" data-wpel-link="internal">Parrot AR.Drone app harnesses crowd power to fast-track vision learning in robotic spacecraft</a></li>
<li><a href="http://robohub.org/robots-podcast-origami-robots/" data-wpel-link="internal">Robots Podcast: Origami robots</a></li>
</ul>
<p><em>See all <a href="http://robohub.org/" data-wpel-link="internal">the latest robotics news</a> on Robohub, or <a href="http://eepurl.com/t-UEf" data-wpel-link="external" target="_blank" rel="follow external noopener noreferrer">sign up for our weekly newsletter</a>.</em></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Parrot AR.Drone app harnesses crowd power to fast-track vision learning in robotic spacecraft</title>
		<link>https://robohub.org/parrot-ar-drone-app-harnesses-crowd-power-to-fast-track-vision-learning-in-robotic-spacecraft/</link>
		
		<dc:creator><![CDATA[Guido de Croon]]></dc:creator>
		<pubDate>Tue, 26 Mar 2013 20:59:50 +0000</pubDate>
				<category><![CDATA[education]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[AR Drone]]></category>
		<category><![CDATA[ESA]]></category>
		<category><![CDATA[research]]></category>
		<category><![CDATA[UAVs & drones]]></category>
		<guid isPermaLink="false">http://robohub.org/?p=11390</guid>

					<description><![CDATA[Astrodrone is both a simulation game app for the Parrot AR.Drone and a scientific crowd-sourcing experiment that aims to improve landing, obstacle avoidance and docking capabilities in autonomous space probes. As researchers at the European Space Agency&#8217;s Advanced Concepts Team, we wanted to study how visual cues could be used by robotic spacecraft to help them [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><em>Astrodrone is both a simulation game app for the Parrot AR.Drone and a scientific crowd-sourcing experiment that aims to improve landing, obstacle avoidance and docking capabilities in autonomous space probes.</em></p>
<p>As researchers at the <a href="http://www.esa.int/gsp/ACT/ai/op/astrodrone.html" data-wpel-link="external" target="_blank" rel="follow external noopener noreferrer">European Space Agency&#8217;s Advanced Concepts Team</a>, we wanted to study how visual cues could be used by robotic spacecraft to help them navigate unknown, extraterrestrial environments. One of our main research goals was to explore how robots can share knowledge about their environments and behaviors to speed up this visual learning process.</p>
<p><span id="more-11390"></span></p>
<div id="attachment_11477" style="width: 635px" class="wp-caption alignnone"><img decoding="async" aria-describedby="caption-attachment-11477" class=" wp-image-11477" alt="Playing_AstroDrone_node_full_image" src="http://robohub.org/wp-content/uploads/2013/03/Playing_AstroDrone_node_full_image.jpg" width="625" height="417" srcset="https://robohub.org/wp-content/uploads/2013/03/Playing_AstroDrone_node_full_image.jpg 625w, https://robohub.org/wp-content/uploads/2013/03/Playing_AstroDrone_node_full_image-300x200.jpg 300w, https://robohub.org/wp-content/uploads/2013/03/Playing_AstroDrone_node_full_image-449x300.jpg 449w" sizes="(max-width: 625px) 100vw, 625px" /><p id="caption-attachment-11477" class="wp-caption-text">© European Space Agency, Anneke Le Floc&#8217;h</p></div>
<div style="clear: both;"></div>
<div class="calloutkeyl">
<h2><strong>KEY INFO</strong></h2>
<p><strong>Project name<br />
</strong>AstroDrone</p>
<p><strong>Research team</strong></p>
<ul>
<li>Paul K. Gerke<br />
(European Space Agency/Radboud University Nijmegen)</li>
<li>Ida Sprinkhuizen-Kuyper<br />
(Radboud University Nijmegen)</li>
<li>Guido de Croon<br />
(European Space Agency/Delft University of Technology)</li>
</ul>
<p><strong>Links</strong><br />
<a href="http://www.esa.int/gsp/ACT/ai/op/astrodrone.html" target="_blank" data-wpel-link="external" rel="follow external noopener noreferrer">AstroDrone/ESA website<br />
</a><a href="https://itunes.apple.com/us/app/astro-drone/id597477649?mt=8&amp;ign-mpt=uo%3D2" target="_blank" data-wpel-link="external" rel="follow external noopener noreferrer">AstroDrone iPhone App</a></p>
<p><strong>Status</strong><br />
Ongoing research project<br />
Android App in development</p>
</div>
<p>Similar to the <a style="font-style: normal; line-height: 24px;" href="http://www.roboearth.org" target="_blank" data-wpel-link="external" rel="follow external noopener noreferrer">RoboEarth</a> project, the central idea is that a group of robots sharing visual information such as raw camera images or abstracted mathematical image features would have a much broader visual experience to learn from than a single robot operating on its own.</p>
<p>We had already studied the use of motion-based cues in navigation, such as optic flow and the size changes of visually salient features like <a href="http://en.wikipedia.org/wiki/SURF" target="_blank" data-wpel-link="external" rel="follow external noopener noreferrer">SURF</a>, but we we wanted to verify our findings in this area and at the same time investigate if the appearance of visual features could be used to aid navigation as well. To this end, we needed a very large robotic data set of visually salient image features paired with corresponding robotic state estimates, and it was simply infeasible to gather all this data by ourselves.</p>
<p>That&#8217;s where the <a href="http://ardrone2.parrot.com/usa/" target="_blank" data-wpel-link="external" rel="follow external noopener noreferrer">Parrot AR.Drone</a> entered into play. The AR stands for Augmented Reality, and the drone is indeed a toy quad rotor meant for playing games. We thought we could develop a game for the Parrot that would serve as a means for crowd-sourcing the data we needed. And because the Parrot was designed to be used in augmented reality games and can be controlled by an iOS device, data-gathering could be done in a gaming context, making it fun for people to participate in the experiment.</p>
<p>To this end, we designed a mission-based game where players simulate docking the Parrot with the International Space Station as quickly as possible while maintaining good control. Bonus points are given for correct orientation and low speed on the final approach.</p>
<div class="calloutr">At the end of the mission, players can log their high scores on a score board, and at the same time contribute to the experiment by anonymously sharing abstract mathematical image features and velocity readings.</div>
<p>At the end of the mission, players can log their high scores on a score board, and at the same time contribute to the experiment by anonymously sharing abstract mathematical image features and velocity readings.</p>
<p>The Parrot AR.Drone is uniquely suitable for this purpose because:</p>
<ul>
<li>It is widely available to the public, with over a half-million units sold world-wide.</li>
<li>It is a real robot with many useful sensors, including two cameras (at the front and on the bottom), sonar, accelerometers, gyrometers, and (on the Parrot AR drone 2.0) a pressuremeter and magnetometer. Further, it already uses these sensors to achieve accurate onboard state estimation and (consequently) stable hovering.</li>
<li>It can be controlled by smart devices such as the iPhone or Android devices, which can be used send data over the internet.</li>
<li>The code for communicating with Parrot is open source.</li>
</ul>
<p><strong>Methodology<br />
</strong>The question we faced experimentally was how to couple the real-world object to the virtual space in which the drone would be flying. Having a reference object of known size was a goal since it would provide some form of ground-truth measurement. As it happens, the Parrot AR.Drone is delivered with a marker that is recognized in the images by the onboard firmware. The recognition gives an image position (x,y) and a distance to the marker. Note, however, that this information is not enough to disambiguate both the position and orientation of the drone with respect to the marker. Figure 1 shows two configurations that give exactly the same marker detection data. In the &#8216;red&#8217; case, the marker is in the left part of the image, because the drone is located on the right of the marker. In the &#8216;blue&#8217; case, the marker is in the left part of the image, because the drone has turned to the right. Note that the distances to the marker are the same.</p>
<div id="attachment_11479" style="width: 1721px" class="wp-caption alignnone"><img decoding="async" aria-describedby="caption-attachment-11479" class=" wp-image-11479" alt="marker_ambiguity_selection" src="http://robohub.org/wp-content/uploads/2013/03/marker_ambiguity_selection.png" width="1711" height="1508" srcset="https://robohub.org/wp-content/uploads/2013/03/marker_ambiguity_selection.png 1711w, https://robohub.org/wp-content/uploads/2013/03/marker_ambiguity_selection-300x264.png 300w, https://robohub.org/wp-content/uploads/2013/03/marker_ambiguity_selection-1024x902.png 1024w, https://robohub.org/wp-content/uploads/2013/03/marker_ambiguity_selection-340x300.png 340w" sizes="(max-width: 1711px) 100vw, 1711px" /><p id="caption-attachment-11479" class="wp-caption-text">Figure 1: Ambiguity of retrieved marker data. The angle β and distance d are the same for the red and the blue case, but their position / heading are different.</p></div>
<p>In order to render the virtual space environment, we perform state estimation on the basis of the drone&#8217;s estimates of its height, speeds, angles, and its detection of the marker. The docking port of the ISS (the marker) is assumed to be at location (0,0,0). The state estimation uses an Extended Kalman Filter (EKF), and in the light of the discussion of the marker&#8217;s ambiguity, we decided to only update the position on the basis of the marker&#8217;s readings, and not the heading. The heading is estimated quite well on board the drone, where the Parrot AR.Drone 2 also uses a magnetometer.</p>
<p>Figure 2 shows what computational processes are happening on which device during the game. The marker detection and the estimation of the drone&#8217;s attitude, height, and speeds are performed by the firmware on board the drone. The app is running the drone&#8217;s control interface, sending and receiving data from the drone, performing state estimation (X,Y,Z) with respect to the marker and rendering the 3D world.</p>
<div id="attachment_11478" style="width: 1986px" class="wp-caption alignnone"><img decoding="async" aria-describedby="caption-attachment-11478" class=" wp-image-11478 " alt="processing_distribution" src="http://robohub.org/wp-content/uploads/2013/03/processing_distribution.png" width="1976" height="702" srcset="https://robohub.org/wp-content/uploads/2013/03/processing_distribution.png 1976w, https://robohub.org/wp-content/uploads/2013/03/processing_distribution-300x106.png 300w, https://robohub.org/wp-content/uploads/2013/03/processing_distribution-1024x363.png 1024w, https://robohub.org/wp-content/uploads/2013/03/processing_distribution-500x177.png 500w" sizes="(max-width: 1976px) 100vw, 1976px" /><p id="caption-attachment-11478" class="wp-caption-text"><br />Figure 2: Distribution of processes over the devices involved in the game.</p></div>
<p>Of course, for the experiment we also need to process the drone&#8217;s onboard images. Because of the iPhone&#8217;s computational constraints, we decided to save 5 subsequent images while the player is trying to dock and to process the images after the flight. This processing now happens when the player visits the highscore table and agrees to join the experiment. After extracting the vision data and concatenating this with the state estimates, the data is encrypted for transmission. Finally, since some players may use 3G for sending their data, we considered that the data should be as compact as possible. Therefore, the data is compressed on board the iPhone before being sent. The data from 5 textured images on average takes around 77 kb.</p>
<div id="attachment_11480" style="width: 4190px" class="wp-caption alignnone"><img decoding="async" aria-describedby="caption-attachment-11480" class=" wp-image-11480" alt="2013.03.002-035" src="http://robohub.org/wp-content/uploads/2013/03/2013.03.002-035.jpg" width="4180" height="2786" srcset="https://robohub.org/wp-content/uploads/2013/03/2013.03.002-035.jpg 4180w, https://robohub.org/wp-content/uploads/2013/03/2013.03.002-035-300x199.jpg 300w, https://robohub.org/wp-content/uploads/2013/03/2013.03.002-035-1024x682.jpg 1024w, https://robohub.org/wp-content/uploads/2013/03/2013.03.002-035-450x300.jpg 450w" sizes="(max-width: 4180px) 100vw, 4180px" /><p id="caption-attachment-11480" class="wp-caption-text">© European Space Agency, Anneke Le Floc’h</p></div>
<div class="calloutkeyl">
<h2><strong>PROJECT TIMELINE</strong></h2>
<p><strong>Feb &#8211; Nov 2012</strong><br />
Game development</p>
<p><strong><strong>Nov 2012 &#8211; Jan 2013</strong><br />
</strong>Game testing</p>
<p><strong>Jan 2013</strong><br />
App review @ Apple</p>
<p><strong>March 15, 2013</strong><br />
App launch</p>
<p><strong>March 2013 &#8211; ongoing</strong><br />
Data collection<br />
Analysis</p>
</div>
<p><strong>Testing and Launch</strong><br />
Our original plan was to work on the game from February to April 2012, launch it in May or June, and analyze the data from August to September. In reality, we didn&#8217;t converge on the final code until November 2012.</p>
<p>Of course, when you are developing the app, you know the program inside out and by habit you may avoid playing the game in such a way that would make the program malfunction. So in November we invited other people try out and rate the app. The ratings and comments were used to perform some final adjustments, and we sent the app to the Apple store for review in January 2013. At the same time, we began to execute our plans for the launch and related PR-activities. We saw this as an essential part of the project, as the “crowd” first has to know about a project in order to contribute to it.</p>
<p>The app was launched on the 15<sup>th</sup> of March 2013, accompanied by <a href="http://www.esa.int/Our_Activities/Technology/Smartphone_app_turns_home_drone_into_spacecraft" target="_blank" data-wpel-link="external" rel="follow external noopener noreferrer">a press release about AstroDrone from the European Space Agency</a> and the video shown below. Parrot also promoted our app on their site. The news was soon picked up by BBC Technology, Wired, and the Verge, as well as news papers, and television shows such as ARD&#8217;s NachtMagazin. This (ongoing) media attention has helped us to reach the public: just one week after the launch, some 4,000 persons downloaded the AstroDrone app, and 458 of these people had already contributed to our experiment by sending their data. This is a nice start, but of course we hope there is more to come.</p>
<p><iframe width="600" height="340" src="https://www.youtube-nocookie.com/embed/NIb7-gVuV8k?feature=player_detailpage" frameborder="0" allowfullscreen></iframe></p>
<p><strong>Next Steps</strong><br />
We have not arrived at the end of this project, but rather at the beginning. We are first solving some small issues by means of app updates. For example, if an iPad or iPod is connected to the drone&#8217;s WiFi, it cannot send its data. There was no message that showed the absence of an internet connection (solved in version 1.2). At the same time, we have started analyzing all the data that is coming in.</p>
<p>In the future, we may also improve our crowd-sourcing game in various ways, in order to make it as fun and easy as possible for players, and as useful as possible for our research. In any case, it&#8217;s an adventure to work with this exciting new way of gathering robotic data!</p>
<p>[Ed. <a href="http://robohub.org/author/hallie/" data-wpel-link="internal">Hallie Siegel</a>]</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 

Served from: robohub.org @ 2026-10-11 09:04:48 by W3 Total Cache
-->