Motion Planning under Uncertainty for Autonomous Navigation of Mobile Robots and UAVs
Abstract
This thesis presents a reliable and efficient motion planning approach based on state lattices for the autonomous navigation of mobile robots and UAVs. The proposal retrieves optimal paths in terms of safety and traversal time, and deals with the kinematic constraints and the motion and sensing uncertainty at planning time. The efficiency is improved by a novel graduated fidelity state lattice which adapts to the obstacles in the map and the maneuverability of the robot, and by a new multi-resolution heuristic which reduces the computational complexity. The motion planner also includes a novel method to reliably estimate the probability of collision of the paths considering the uncertainty in heading and the robot dimensions.
Full text
TESIS DE DOCTORADO MOTION PLANNING UNDER UNCERTAINTY FOR AUTONOMOUS NAVIGATION OF MOBILE ROBOTS AND UAVS Presentada por: Adri ´ an Gonz ´ alez Sieira Dirigida por: Manuel Mucientes Molina Alberto J. Bugar´ ın Diz ESCUELA DE DOCTORADO INTERNACIONAL PROGRAMA DE DOCTORADO EN INVESTIGACI ´ ON EN TECNOLOG´ IAS DE LA INFORMACI ´ ON Centro Singular de Investigaci´ on en Tecnolox´ ıas Intelixentes (CiTIUS) SANTIAGO DE COMPOSTELA Septiembre de 2019
DECLARACI ´ ON DEL AUTOR DE LA TESIS Motion Planning under Uncertainty for Autonomous Navigation of Mobile Robots and UAVs Adri´ an Gonz´ alez Sieira Presento mi tesis, siguiendo el procedimiento adecuado al Reglamento, y declaro que: 1. La tesis abarca los resultados de la elaboraci´ on de mi trabajo. 2. En su caso, en la tesis se hace referencia a las colaboraciones que tuvo este trabajo. 3. La tesis es la versi´ on definitiva presentada para su defensa y coincide con la versi´ on enviada en formato electr´ onico. 4. Confirmo que la tesis no incurre en ning´ un tipo de plagio de otros autores ni de trabajos presentados por m´ ı para la obtenci´ on de otros t´ ıtulos. En Santiago de Compostela, Septiembre de 2019 Fdo. Adri´ an Gonz´ alez Sieira
AUTORIZACI ´ ON DEL DIRECTOR/TUTOR DE LA TESIS Motion Planning under Uncertainty for Autonomous Navigation of Mobile Robots and UAVs Dr. Manuel Mucientes Molina, Profesor Contratado Doctor del ´ Area de Ciencia de la Computaci´ on e Inteligencia Artificial de la Universidade de Santiago de Compostela Dr. Alberto J. Bugar´ ın Diz, Catedr´ atico de Universidad del ´ Area de Ciencia de la Computaci´ on e Inteligencia Artificial de la Universidade de Santiago de Compostela INFORMAN: Que la presente tesis, corresponde con el trabajo realizado por Adri´ an Gonz´ alez Sieira bajo nuestra direcci´ on, y autorizamos su presentaci´ on, considerando que re´ une los requisitos exigidos en el Reglamento de Estudios de Doctorado de la USC, y que como directores de ´ esta no incurre en las causas de abstenci´ on establecidas en Ley 40/2015. En Santiago de Compostela, Septiembre de 2019 Fdo. Manuel Mucientes Molina Director de la tesis Fdo. Alberto J. Bugar´ ın Diz Director de la tesis
There’s nothing quite as frightening as someone who knows they are right. Michael Faraday
Agradecimientos Me gustar´ ıa empezar con el mayor de los agradecimientos a mis directores, Manuel Mucientes y Alberto Bugar´ ın, tanto por todas las horas de dedicaci´ on, de esfuerzo y de implicaci´ on en este proyecto, como por la confianza que han depositado en m´ ı al ofrecerme la oportunidad de iniciarme en la investigaci´ on. Sin ellos esta tesis no habr´ ıa sido posible. Quisiera agradecer tambi´ en al Departamento de Electr´ onica y Computaci´ on, as´ ı como al Centro de Investigaci´ on en Tecnolox´ ıas Intelixentes (CiTIUS), de la Universidade de Santiago de Compostela, por el excelente entorno de trabajo, as´ ı como por todos los recursos que han hecho posible el desarrollo de esta tesis. Gracias tambi´ en al director adjunto del CiTIUS, Paulo F´ elix, por sus consejos y palabras de aliento, as´ ı como a las unidades de apoyo del centro por su constante esfuerzo. Tambi´ en me gustar´ ıa mencionar al Prof. Dr. Dirk Heylen, a la Prof. Dr. Vanessa Evers, y a todo el grupo del HMI (Human Media Interaction) de la Universidad de Twente por hacerme un hueco entre ellos durante mi estancia. Del mismo modo, quiero agradecerle a Alejandro Catal´ a el haber facilitado el primer contacto con ellos, as´ ı como su implicaci´ on y su ayuda. No pod´ ıa faltar un agradecimiento especial a todos los amigos y compa˜ neros del CiTIUS, sobre todo a Teffa, Arturo, Pablo, Jorge, Tom´ as, Tino, ´ Angel, ´ Alvaro, Ismael, Borja, David, Jano, V´ ıctor, Chapela, Andrea, Yago, Lorenzo y Efr´ en, por todas las risas y decibelios que hacen del LS2 un sitio ´ unico. Gracias tambi´ en a Ricardo Alonso y —una vez m´ as— a Jorge por todo el trabajo que hicieron para preparar las pruebas con el UAV, as´ ı como a Dani Cores por su gran ayuda durante los experimentos de vuelo y por no dejarse llevar por el p´ anico en los momentos de tensi´ on. Por supuesto, me gustar´ ıa agradecer tambi´ en a todas las entidades que han hecho posible el desarrollo de esta tesis con su financiaci´ on. As´ ı, me gustar´ ıa mencionar en primer lugar al programa de Formaci´ on de Profesorado Universitario (FPU) del Ministerio de Educaci´ on,
entorno. Por lo tanto, su eficiencia resulta particularmente relevante para no comprometer los tiempos de obtenci´ on de las soluciones. Una estrategia eficaz es construir una malla de baja dimensionalidad para estimar el coste debido a los obst´ aculos del mapa, que puede obtenerse en tiempo real para la mayor´ ıa de problemas bidimensionales y entornos peque˜ nos. Sin embargo, dicha estrategia sufre los mismos problemas de escalabilidad que el propio problema de planificaci´ on del movimiento y, por tanto, no puede aplicarse directamente a problemas de gran tama˜ no o de mayor dimensionalidad. A pesar de esto, la mejora de los tiempos de obtenci´ on de este tipo de heur´ ısticas es algo que todav´ ıa no se ha abordado en la bibliograf´ ıa. El aumento de popularidad que muchos tipos de robots m´ oviles han experimentado en los ´ ultimos a˜ nos hace que cada vez sean m´ as las aplicaciones pr´ acticas de la planificaci´ on del movimiento y de los sistemas de navegaci´ on aut´ onoma. M´ as recientemente, esto ha venido de la mano del significativo incremento en el uso de Veh´ ıculos A´ ereos No Tripulados (UAVs). Aunque bajo esta denominaci´ on se pueden englobar muchos tipos de plataformas rob´ oticas, esta tesis se centra en sistemas multi-rotor debido a su maniobrabilidad y al grado de precisi´ on de sus movimientos. Adem´ as, dada su flexibilidad, pueden utilizarse en una gran variedad de entornos complejos, lo que abre la puerta a un n´ umero de aplicaciones a´ un mayor. En algunos contextos es particularmente interesante automatizar ciertas tareas con el fin de evitar la intervenci´ on humana en la medida de lo posible. El beneficio es a´ un mayor en lo que respecta a trabajos repetitivos, con riesgos para la salud o peligrosos. T´ ıpicamente, los primeros pasos en pro de la automatizaci´ on se consiguen introduciendo plataformas rob´ oticas controladas manualmente. En el caso de los UAVs, lo habitual es que un operador humano est´ e a cargo tanto de la supervisi´ on como del control del vuelo. Sin embargo, en algunos casos dicho control manual no es posible, o no resulta adecuado, ya sea por la distancia entre el operador y el aparato o la precisi´ on que requieren algunas maniobras, que pueden estar fuera del alcance del piloto. En esos casos, es claramente beneficioso contar con un sistema de navegaci´ on aut´ onoma que ayude al operador a cumplir algunas misiones. Algunos ejemplos de tareas repetitivas son la exploraci´ on de entornos [172], vigilancia de tr´ afico [34, 164] o la reconstrucci´ on de escenas 3D [146]. Normalmente, este tipo de misiones incluye la ejecuci´ on de distintas rutas y mantenerse en el aire durante la toma de datos, por lo que navegar de forma aut´ onoma ser´ ıa interesante para liberar al operador del control normal del UAV y dejarlo a cargo de analizar los datos recibidos y tomar el control s´ olo en situaciones que lo requieran. En cuanto a las tareas con riesgos para la salud, tenemos ejemplos como la detecci´ on y control de incendios forestales [209], la detecci´ on de escapes en tuber´ ıas de gas xvi
[173, 186] o el pintado con t´ ecnicas de spray en superficies inaccesibles [200]. Entre las tareas peligrosas, tal vez la m´ as notable sea la inspecci´ on de infraestructuras [31, 189, 204, 207], que normalmente involucra a trabajadores humanos, ha de ser realizada de forma peri´ odica y requiere llegar a zonas de dif´ ıcil acceso. Aqu´ ı, el beneficio de introducir un UAV es claro, no s´ olo para reducir el riesgo personal de dichas operaciones, sino tambi´ en porque pueden recoger datos que permitan alertar de los problemas que se vayan encontrando. Debido a la variedad de sensores que pueden llevar a bordo este tipo de veh´ ıculos, la informaci´ on que pueden recoger es muy variada y este tipo de inspecciones pueden, en muchos casos, mejorar los resultados de una inspecci´ on visual. Otro contexto en el que la aplicaci´ on de UAVs se ha popularizado en los ´ ultimos a˜ nos es el transporte de ciertas mercanc´ ıas. Algunas compa˜ n´ ıas como Amazon, DHL, Google o Swiss Post han lanzado distintas iniciativas en este sentido [4, 57, 81, 82], algunas de las cuales se han centrado en el env´ ıo urgente de material m´ edico [4, 57, 192]. Tal es el inter´ es de este tipo de aplicaciones que algunas Administraciones P´ ublicas han tenido sus propias ideas de aplicaci´ on en este ´ ambito. Por ejemplo, la Xunta de Galicia lanzar´ a en el futuro un sistema que utilizar´ a UAVs para la entrega r´ apida de desfribriladores con el fin de mejorar la atenci´ on temprana de paradas cardiorrespiratorias en el Camino de Santiago [35]. Dada la complejidad del modelo cinem´ atico de los UAVs, es indispensable tenerlo en cuenta para obtener rutas realistas. Adem´ as, para muchas de las aplicaciones mencionadas previamente, garantizar la seguridad del vuelo es especialmente relevante. Todo esto debe hacerse sin comprometer la eficiencia del planificador, ya que de otro modo su integraci´ on en sistemas reales no ser´ ıa posible. Teniendo en cuenta este contexto, el principal objetivo de esta tesis es el desarrollo de una aproximaci´ on de planificaci´ on del movimiento que, de forma fiable y eficiente, permita la navegaci´ on aut´ onoma de robots m´ oviles y UAVs. Este objetivo general se concreta en los siguientes objetivos espec´ ıficos: •Desarrollar una aproximaci´ on capaz de obtener caminos ´ optimos en t´ erminos de seguridad y tiempo de ejecuci´ on, que incluya en tiempo de planificaci´ on las restricciones cinem´ aticas del robot y la incertidumbre asociada al movimiento y a las observaciones. •Mejorar la eficiencia de los algoritmos de planificaci´ on del movimiento mediante la introducci´ on de t´ ecnicas multi-resoluci´ on que permitan reducir la complejidad computacional del problema, as´ ı como analizar el impacto de dichas t´ ecnicas en los resultados. xvii
•Integrar los algoritmos desarrollados en una arquitectura para la navegaci´ on aut´ onoma de robots m´ oviles y UAVs, y validar la propuesta con experimentos reales en distintos tipos de sistemas. El trabajo que se ha desarrollado en esta tesis ha dado lugar a diversas publicaciones, entre las que destacan un art´ ıculo en la revista Robotics and Autonomous Systems, Q1 en el ranking SJR 2018, y un trabajo presentado en el congreso International Conference on Robotics and Automation (ICRA), actualmente clasificado como Tipo A, Clase 2 en el ranking GII-GRIN- SCIE (GGS). En esta memoria se detallan las contribuciones del trabajo desarrollado y los resultados m´ as relevantes de la experimentaci´ on. En concreto, el Cap´ ıtulo 2 analiza la investigaci´ on previa relacionada con la tesis. En primer lugar se detallan las aproximaciones cl´ asicas que abordaron la planificaci´ on del movimiento teniendo en cuenta las restricciones cinem´ aticas, as´ ı como la generaci´ on de soluciones ´ optimas. A continuaci´ on, este cap´ ıtulo detalla los trabajos centrados en planificaci´ on con incertidumbre, as´ ı como las distintas t´ ecnicas que hacen posible la obtenci´ on de soluciones adaptadas a la incertidumbre que se ha estimado a priori, o su probabilidad de colisi´ on. Finalmente, se analizan las distintas propuestas para mejorar la eficiencia de la planificaci´ on, as´ ı como aquellos trabajos que se centraron en obtener rutas para UAVs. En esta revisi´ on del estado del arte se ha identificado la necesidad de mejorar la eficiencia de los m´ etodos existentes para planificar con incertidumbre, as´ ı como su fiabilidad. Esto proporciona el contexto en el que se encuadran las contribuciones de esta tesis, que se detallan en los dos cap´ ıtulos siguientes. El Cap´ ıtulo 3 describe la estrategia de planificaci´ on desarrollada en esta tesis. Nuestra propuesta combina de forma novedosa distintos m´ etodos del estado del arte, con el fin de obtener un planificador fiable, eficiente y escalable. En primer lugar, se ha utilizado una ret´ ıcula de estados que representa el problema y permite tener en cuenta las restricciones cinem´ aticas del robot de forma eficiente. Dada la estructura de la ret´ ıcula, se ha formulado el problema de la planificaci´ on como una b´ usqueda sobre grafos, para la que se ha utilizado el algoritmo Anytime Dynamic A* (AD*) [125]. Dicho algoritmo permite obtener soluciones ´ optimas respecto a una funci´ on de coste que utiliza distintos criterios con un orden de prioridad definido. As´ ı, primero se minimiza la probabilidad de colisi´ on de las soluciones, luego el tiempo de ejecuci´ on de dichos caminos, y finalmente la incertidumbre final. De esta forma se obtienen caminos que son seguros y r´ apidos para navegar de forma aut´ onoma. En segundo lugar, para estimar la probabilidad de colisi´ on, nuestro m´ etodo predice primero la incertidumbre tenienxviii
do en cuenta las imprecisiones tanto del movimiento como de las observaciones, as´ ı como el tipo de controlador. Por ´ ultimo, nuestra propuesta introduce una nueva aproximaci´ on que permite obtener una ret´ ıcula de estados con fidelidad graduada, y tambi´ en utiliza heur´ ısticas que permiten obtener soluciones de una forma muy eficiente. Por un lado, la fidelidad graduada permite reducir el n´ umero de estados y de posibles caminos de la ret´ ıcula, al tiempo que conserva la potencia del planificador y la calidad de las soluciones. Por otro lado, se han combinado dos heur´ ısticas diferentes que estiman el coste a la meta teniendo en cuenta tanto las restricciones cinem´ aticas del robot como los obst´ aculos en el mapa. Adem´ as de esta estrategia de planificaci´ on, el Cap´ ıtulo 3 tambi´ en detalla las principales contribuciones de esta tesis en el ´ ambito de la planificaci´ on del movimiento. En primer lugar, presentamos un m´ etodo para estimar la probabilidad de colisi´ on de las rutas de forma realista. Dicho m´ etodo muestrea de forma determinista las distribuciones de probabilidad predichas, teniendo en cuenta tanto la incertidumbre en la orientaci´ on del robot como sus dimensiones reales. La validaci´ on se ha realizado en 15 experimentos diferentes, variando el entorno, el tipo de robot y las condiciones de incertidumbre. Los resultados muestran que la probabilidad de colisi´ on se ha estimado de forma fiable en todos los casos, y los caminos planificados no registraron ninguna colisi´ on durante la ejecuci´ on de las rutas planificadas. En segundo lugar, este cap´ ıtulo presenta una aproximaci´ on para la obtenci´ on de una ret´ ıcula de estados con fidelidad graduada que tiene en cuenta los obst´ aculos del mapa, la maniobrabilidad del robot y la incertidumbre predicha. As´ ı, las ´ areas del mapa en las que la planificaci´ on resulta sencilla, como los espacios abiertos, se representan en la ret´ ıcula con un menor n´ umero de estados y acciones entre ellos. Dicho m´ etodo se ha validado con varios modelos de movimiento y entornos con diferentes configuraciones de obst´ aculos, y los resultados muestran que el tiempo de planificaci´ on se ha reducido en promedio un 88,5% con respecto a una ret´ ıcula de estados cl´ asica. Finalmente, en este cap´ ıtulo se detalla una heur´ ıstica multi-resoluci´ on que estima el coste a la meta teniendo en cuenta los obst´ aculos en el mapa, para lo que se construye una malla que representa una versi´ on simplificada del problema de planificaci´ on. La resoluci´ on de esta malla var´ ıa en funci´ on de los obst´ aculos, y los resultados muestran que su tiempo de c´ omputo es en promedio un 65,5% mejor que con una malla de resoluci´ on fija, mientras que su precisi´ on es un 4% mayor. En el cap´ ıtulo 4 se detalla la aplicaci´ on del m´ etodo de planificaci´ on propuesto para la navegaci´ on aut´ onoma de UAVs. Esto incluye: i) los nuevos algoritmos que permiten tratar xix
con la mayor dimensionalidad de este problema; ii) su integraci´ on en una arquitectura flexible compuesta por el planificador, un controlador y un sistema para estimar el estado actual del robot; y iii) su validaci´ on en experimentos reales. Concretamente, en este cap´ ıtulo se describe una nueva heur´ ıstica que permite operar en entornos 3D, cuya conectividad entre las distintas posiciones de la malla ha sido redise˜ nada para reducir su densidad y mejorar su eficiencia. Tambi´ en se introduce un nuevo m´ etodo para estimar la probabilidad de colisi´ on en el que las distribuciones de probabilidad predichas se muestrean evitando la obtenci´ on de poses poco representativas que puedan penalizar el rendimiento del planificador. Estos nuevos algoritmos se han validado en tres experimentos reales de navegaci´ on aut´ onoma utilizando un UAV modelo AscTec Pelican1, cuyos resultados muestran la fiabilidad y la eficiencia del sistema. Dichos experimentos se realizaron en entornos diferentes y bajo distintas restricciones de movimiento. En el ´ ultimo de ellos se ha utilizado el sistema de navegaci´ on aut´ onoma propuesto para una aplicaci´ on pr´ actica real, la reconstrucci´ on de escenas 3D con una c´ amara RGB-D. Los resultados muestran que en dicho experimento se ha obtenido de forma aut´ onoma un modelo en el que el error promedio de la reconstrucci´ on 3D es de tan solo del 1,08%. Por ´ ultimo, el Cap´ ıtulo 5 resume las conclusiones de la investigaci´ on realizada en esta tesis, adem´ as de discutir posibles l´ ıneas de trabajo futuro que permitir´ ıan mejorar los resultados de planificaci´ on en ciertos contextos. Tambi´ en se discute la posibilidad de extender los algoritmos de planificaci´ on propuestos para tener en cuenta las din´ amicas de navegaci´ on en entornos sociales, lo que har´ ıa posible que los robots tuviesen un movimiento m´ as natural, o “socialmente aceptable”, en presencia de personas. Esto dar´ ıa lugar a que el robot realizase movimientos m´ as predecibles, lo que mejorar´ ıa la aceptaci´ on del comportamiento del robot por parte de los humanos. La idea es que las rutas puedan obtenerse teniendo en cuenta no s´ olo la distancia entre el robot y las personas [109, 133, 190, 202, 203], sino tambi´ en la incertidumbre en el movimien- to, que afecta a la ejecuci´ on de las soluciones. En este sentido, hemos iniciado la extensi´ on de nuestra t´ ecnica de muestreo que estima la probabilidad de colisi´ on, de tal forma que pueda tambi´ en medir la idoneidad de un determinado contexto persona-robot. Esta medida se obtiene a partir de las poses muestreadas utilizando la teor´ ıa de las distancias prox´ emicas [104, 170, 183], que estudia c´ omo se percibe una interacci´ on seg´ un la distancia entre dos sujetos. Dicho criterio de coste puede integrarse de forma f´ acil en la estrategia de planificaci´ on 1http://www.asctec.de/en/uav-uas-drones-rpas-roav/asctec-pelican/ xx
propuesta, al ser un elemento m´ as a minimizar por el algoritmo Anytime Dynamic A*. Como l´ ıneas de trabajo futuro se podr´ ıa extender el modelo para considerar las dimensiones del robot adem´ as de la incertidumbre, ya que algunos estudios afirman que puede afectar a c´ omo las personas perciben su movimiento [109, 190]. Tambi´ en se podr´ ıa tener en cuenta la direcci´ on en la que se mueve el robot respecto a la gente, ya que en la bibliograf´ ıa [201] se indica que las personas reaccionan de manera distinta en funci´ on de dicha direcci´ on, algo que podr´ ıa utilizarse en beneficio de la navegaci´ on en entornos sociales [105]. El objetivo final de estas l´ ıneas de trabajo futuro ser´ ıa la obtenci´ on de planes que, adem´ as de priorizar la seguridad del movimiento respecto a los obst´ aculos del entorno, tambi´ en permitiesen al robot tener un movimiento que pudiese describirse como natural. Como resultado de planificar teniendo en cuenta la incertidumbre, la distancia persona-robot estar´ ıa adaptada a las circunstancias del entorno y a las condiciones de incertidumbre a lo largo de la ruta. xxi
Contents 1 Introduction 1 1.1 Motivation.................................... 1 1.2 Objectives.................................... 11 1.3 Contributions .................................. 12 1.4 Dissertationstructure.............................. 14 2 Related work 15 2.1 Planning with kinematic constraints . . . . . . . . . . . . . . . . . . . . . . 17 2.2 Approaches to motion planning . . . . . . . . . . . . . . . . . . . . . . . . . 20 2.3 Optimal motion planning . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 2.4 Motion planning under uncertainty . . . . . . . . . . . . . . . . . . . . . . . 31 2.5 Efficiency improvements . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 2.6 Autonomous navigation for UAVs . . . . . . . . . . . . . . . . . . . . . . . 41 3 Motion planning under uncertainty in graduated fidelity lattices 47 3.1 Planning on state lattices . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 3.2 Improving the reliability and the efficiency of the motion planner . . . . . . . 53 3.3 Results...................................... 64 3.4 Discussion and final remarks . . . . . . . . . . . . . . . . . . . . . . . . . . 88 4 Autonomous navigation for UAVs managing motion and sensing uncertainty 91 4.1 Systemoverview ................................ 92 4.2 Motion planning for UAVs . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 4.3 Results...................................... 103 4.4 Finalremarks .................................. 115
Contents 5 Conclusions 117 5.1 Currentandfuturework............................. 121 5.2 Socially aware motion planning . . . . . . . . . . . . . . . . . . . . . . . . 122 Bibliography 125 List of Figures 147 List of Tables 153 List of Acronyms 155 xxiv
CHAPTER 1 INTRODUCTION 1.1 Motivation Developing autonomous robots is one of the ultimate goals in robotics, which is of great interest for many practical applications, among which environment exploration, manufacturing, surveillance or scene reconstruction are only a few examples of the wide range of tasks that could benefit from some sort of automatization. In this regard, one of the basic features that anybody would expect from an autonomous robot is being able to successfully navigate in environments of different natures. Thus, the problem of obtaining a set of actions to drive a mobile robot while avoiding the obstacles has received significant attention from the research community [111, 115]. Obtaining plans that result in motions adapted to the robot kinematics is especially relevant to take full advantage of its capabilities and, at the same time, to deal with the limitations of each robotic platform. The motion planning problem is known to be challenging due to the need of considering constraints of different kinds, such that the feasibility of the obtained paths is guaranteed. The classical Piano Mover’s Problem [168] describes a simple version of motion planning in which, given the starting and goal poses, an algorithm must obtain the set of motions to move a piano through an indoor environment without colliding with the obstacles around it, as shown in Figure 1.1. While motion planning for mobile robots has been formulated in similar terms, there are many factors that contribute to increase the difficulty of the problem, such as the motion restrictions, the different sources of uncertainty or the partial knowledge about the environment. Notwithstanding, not all the existing approaches that address motion planning take into account or deal with these elements in the same way.
1.1. Motivation low planning runtimes. An approach which is commonly used to estimate the cost due to the obstacles is to build a low-dimensional grid, which can be computed in real time for most small environments and bidimensional problems. However, the scalability issues of this operation are similar to those of the general motion planning problem. Hence, the efficiency might be compromised when coping with a high number of dimensions or large environments. Despite this, improving the obtention times of such heuristics is something that has not yet been addressed in the state of the art. We try to fill this gap by proposing a multi-resolution heuristic that copes with the obstacles in the map and which, instead of a fixed resolution grid, it uses different resolutions throughout the environment in accordance with the information given by the multi-resolution map. In spite of the differences between both methods, this approach compares to the approach for the obtention of the graduated fidelity lattice. In addition to improving the overall planning efficiency, this heuristic also benefits the scalability in large environments. As result of all these improvements, the efficiency of the motion planning approach we propose makes it possible its integration in real systems. In this context, its applicability to mobile robots of different kinds can be achieved almost effortlessly due to the fact that the only vehicle-specific component is the set of motion primitives used for generating the connectivity of the state lattice. Moreover, the motion planner prioritizes the minimization of the probability of collision, which is reliably estimated in such a way that takes into account the robot real dimensions and the predicted uncertainty, also in heading. All of the above makes this approach suitable for navigating autonomously in a safe manner, which inevitably forms part of many robotic tasks. 1.1.1 Unmanned Aerial Vehicles (UAVs) In addition to the increasing attention that mobile robots have received in the last years, the raise in popularity of the Unmanned Aerial Vehicles (UAVs) has been particularly significant due to the hardware advances that have opened the door to more and more practical applications. Although under the denomination of UAVs different kinds of aerial vehicles are encompassed, this thesis focuses on multi-rotor systems like that shown in Figure 1.3. Their motion capabilities allow them to execute maneuvers that require a certain level of precision, and they have enough flexibility to operate in challenging environments. The widely extended American neologism “the Three Ds” —dull, dirty and dangerous— accurately describes the kind of operations that are more interesting for having some degree 8
Chapter 1. Introduction Figure 1.3: The AscTec Pelican, manufactured by Ascending Technologies, is an example of multi-rotor UAV, which is capable of executing a great variety of precise motions and was used in some practical experiments of this thesis. of automatization with the goal of avoiding human intervention as much as possible. A first step in this direction can be achieved introducing manually controlled platforms that prevent human workers from doing certain kinds of tasks. Thus, in the case of UAVs a human operator is in charge of supervising and usually controlling the flight. However, the possibility or the suitability of manual control may be in some cases limited, for example due to the loss of communication with the aerial vehicle or the high precision that is required for executing some maneuvers, which might be outside the pilot capabilities —especially if having direct sight to the UAV is not possible. In these cases, the benefit of being able to navigate autonomously is clear when it comes to help the operator to accomplish certain missions. Dull tasks are characterized for being repetitive and tedious. Some examples include exploration [172], surveillance [184], traffic monitoring [34, 164] or the reconstruction of 3D scenarios [146]. These kind of missions usually include executing several routes and hovering for a certain amount of time while gathering information with an on-board camera. In this context, navigating autonomously would be interesting because the operators would only be in charge of analyzing the received images and their intervention would be limited to taking control of the UAV to address situations that require any further actions, if necessary. 9
1.1. Motivation Any unsanitary or hazardous job is named as dirty. Examples of tasks of this kind would include operating the UAV in circumstances that might affect human health, like forest fire detection and tracking [209]. Similarly, addressing gas leaking detection in pipelines [173, 186], or spray painting in inaccessible 3D structures [200] would avoid the exposure to toxic substances. The interest of being able to navigate autonomously is even clearer in other contexts in which human intervention is too hazardous. These are the so called dangerous tasks, among which infrastructure inspection is noteworthy because it has to be done in a routine manner either by human workers themselves, or helped by a variety of robotic systems [5]. In this regard, the benefit of introducing UAVs is clear because they prevent humans from attempting to access areas that might be unsafe. Moreover, they can be used to collect high fidelity visual and depth data and use this information to raise alerts when issues are identified. Due to the great variety of sensors that UAVs can carry, they can gather extensive information about the status of the infrastructure that might outperform visual inspection, like thermal or infrared imaging. In this context, UAVs have been applied to avoid human intervention as far as possible in bridge [31, 207] or wind turbine inspection [189, 204]. Post disaster assessment and management [40, 43] is another interesting scenario which poses particular challenges in regards to the safety of the UAV during the flight, especially in environments where the operator cannot easily have direct sight to the aerial vehicle. Finally, another practical application which has received an increasing attention in the last years is the usage of UAVs to deliver goods, and many companies have launched different proposals in this sense, like Amazon [82], DHL [57], Google [81] or Swiss Post [4]. Some of these approaches have focused so far on the delivery of small medical supplies [4, 57, 192]. Such is the interest in this practical application that some administrations have their own proposals in this sense. For example, the Regional Government of Galicia will launch a system to deliver defibrillators with UAVs for the rapid response to cases of cardiorespiratory arrest in the Way of St. James [35]. UAVs are a clear example of system with complex dynamics, for which taking into account their kinematic constraints when planning routes for flying autonomously becomes especially important. More importantly, in all the contexts mentioned above it is particularly relevant to have a motion planner that is able to retrieve solutions as reliably as possible. In addition to this, the efficiency of the approach is equally important to make it possible its integration in practical applications, like those mentioned before. In this regard, the motion 10
Chapter 1. Introduction planning strategy we propose in this thesis is able to deal with the UAV severe kinematic constraints and produce feasible paths. The state lattice based planning strategy achieves this very efficiently, since the UAV dynamics are encoded in the motion primitives that connect the sampled states. Moreover, by taking into account the uncertainty at planning time, the inaccuracies that might occur as a result of the differences between the dynamics model and the UAV real behavior are taken into account. Despite the fact that this model can be obtained from real navigation data that accurately represents the UAV real behavior to most control commands, significant deviations might still occur due to unmodeled disturbances. The method we propose also copes with the imprecisions or the temporary unavailability of the information about the UAV own state. For example, outdoor missions usually rely on satellite based localization systems, like the Global Positioning System (GPS), which may be not accessible in certain areas of the environment like in the proximity of buildings, below bridges, etc. Instead, in indoor environments other localization approaches are used, e.g., motion capture systems, or Simultaneous Localization and Mapping (SLAM) algorithms which use the information of an on-board camera to estimate the UAV motions [46, 121, 122], although these may suffer from similar coverage issues. In this connection, sensor fusion techniques can be used in combination with all the mentioned above methods for the sake of the precision and robustness of the results. Despite the differences between all these strategies, the motion planning approach we propose adapts to the uncertainty of each case, and it is able to cope with partial or missing observations as well. Due to the high computational complexity of the problem, prior works in the field of motion planning for UAVs made simplifications of different natures —in most cases disregarding the uncertainty and sometimes the kinematic restrictions as well— to guarantee low planning runtimes. However, the efficiency improvements we propose in this thesis make it possible to obtain plans fast enough to allow operating the UAV without noticeable delays while dealing with the uncertainty conditions and kinematic restrictions described above. 1.2 Objectives The main goal of this thesis is to develop a reliable and efficient motion planning approach for the autonomous navigation of mobile robots in general and, more specifically, UAVs. This general objective is divided into these specific ones: O1. To develop a reliable motion planning approach capable of retrieving optimal paths in 11
1.3. Contributions terms of safety and traversal time and deal with the vehicle kinematic constraints and the motion and sensing uncertainty at planning time. O2. To improve the efficiency of the motion planning algorithms by introducing multiresolution techniques in order to reduce the computational complexity of the problem and analyze their impact in the planning results. O3. To integrate the developed algorithms into an architecture for the autonomous navigation of mobile robots and UAVs and validate the proposed system with real experiments in different platforms. 1.3 Contributions The research developed in this thesis has led to the following contributions: C1. A deterministic method for estimating the probability of collision of the paths, given the robot state predicted uncertainty, that takes into account the vehicle real shape and also deals with the uncertainty in heading. C2. A novel strategy for obtaining a graduated fidelity lattice, which adapts to the obstacles in the map and the robot maneuverability, that significantly improves the efficiency of the motion planner while retaining its performance. C3. An efficient and scalable heuristic that relies on a multi-resolution, low dimensional grid to estimate the cost from the current robot state to the goal taking into account the obstacles. C4. A motion planning approach adapted to the requirements of the autonomous navigation of UAVs which deals with the motion and sensing uncertainty and obtains optimal paths prioritizing their safety. C5. The application of the developed motion planning algorithms for the obtention of plans for the autonomous reconstruction of 3D scenes with a RGB-D camera. Publications All the contributions detailed above are included in the following publications, which constitute the scientific output of the research developed during the development of this thesis: 12
Chapter 1. Introduction Journals •A. Gonz´ alez-Sieira, M. Mucientes and A. Bugar´ ın, Motion Planning under Uncertainty in Graduated Fidelity Lattices. Robotics and Autonomous Systems, vol. 109, pp. 168- 182, 2018. Impact factor: 2.928 (JCR 2018); 0.83 (SJR 2018). Journal ranked Q1 in SJR 2018, in categories: Computer Science Applications (136/553), Control and Systems Engineering (59/222). •A. Gonz´ alez-Sieira, M. Mucientes and A. Bugar´ ın, Autonomous navigation for UAVs managing motion and sensing uncertainty. Article submitted to Robotics And Autonomous Systems in September, 2019. Impact factor: 2.928 (JCR 2018); 0.83 (SJR 2018). Journal ranked Q1 in SJR 2018, in categories: Computer Science Applications (136/553), Control and Systems Engineering (59/222). Conferences •A. Gonz´ alez-Sieira, M. Mucientes and A. Bugar´ ın. Graduated Fidelity Lattices for Motion Planning under Uncertainty. In proceedings of the 2019 IEEE International Conference on Robotics and Automation (ICRA), pp. 5908-5914, Montreal (Canada), 2019. Conference ranking (GRIN-SCIE): A, Class 2. •A. Gonz´ alez-Sieira, M. Mucientes and A. Bugar´ ın. An Adaptive Multi-resolution State Lattice Approach for Motion Planning with Uncertainty. In proceedings of the Second Iberian Robotics Conference (ROBOT2015), pp. 257-268, Lisbon (Portugal), 2015. •P. Rodr´ ıguez-Mier, A. Gonz´ alez-Sieira, M. Mucientes, M. Lama and A. Bugar´ ın. Hipster: An Open Source Java Library for Heuristic Search. In proceedings of the 9th Iberian Conference on Information Systems and Technologies (CISTI2014), pp. 481- 486, Barcelona (Spain), 2014. •A. Gonz´ alez-Sieira, M. Mucientes and A. Bugar´ ın. A State Lattice Approach for Motion Planning under Control and Sensor Uncertainty. In proceedings of the First Iberian Robotics Conference (ROBOT2013), pp. 247-260, Madrid (Spain), 2013. 13
1.4. Dissertation structure •A. Gonz´ alez-Sieira, M. Mucientes and A. Bugar´ ın. Anytime Motion Replanning in State Lattices for Wheeled Robots. In Proceedings of the XIII Workshop of Physical Agents 2012, pp. 217-224, Santiago de Compostela (Spain), 2012. 1.4 Dissertation structure This dissertation is divided into five chapters that analyze the related prior work, describe in detail the contributions and experimental results, and present the conclusions of this research. More concretely, the document structure is as follows: •First, in Chapter 2 the different approaches that addressed the motion planning problem are analyzed. This includes a review of the existing techniques for the generation of trajectories that observe the vehicle kinematic constraints, the algorithms that obtain feasible and optimal global plans, and the different methods that deal with motion planning under uncertainty. Prior research that focused on the autonomous navigation of UAVs is also analyzed. •Chapter 3 describes the proposed motion planning approach for obtaining optimal paths in terms of probability of collision and traversal time, detailing the contributions regarding the reliable estimation of the safety of the paths —contribution C1— and the efficiency improvements —contributions C2 and C3— that result in reasonable planning times, making it possible the integration of the planner in real systems. •Chapter 4 details the new algorithms for the obtention of plans for the autonomous navigation of UAVs —contribution C4. Furthermore, results for the experiments conducted on a real platform are reported. This includes the generation of trajectories for a real application: the autonomous reconstruction of 3D scenes —contribution C5. •Finally, in Chapter 5 the contributions of the research developed in this thesis are summarized. Moreover, this chapter discusses future lines of work that could allow improving the results, and also the possibility of extending the developed motion planning algorithms to take into account the restrictions due to navigating in social environments, making it possible for the robots to have a more “human-like” behavior when navigating near people. 14
CHAPTER 2 RELATED WORK The problem of finding optimal and collision-free paths for mobile robots has received significant attention from the research community [112, 114, 119]. Constant developments have been achieved in the motion planning field since the first solutions to the problem were proposed in the late 1960’s [182], especially after the notable contributions that arised in the 1980’s [78]. As a result of the increasing interest in autonomous vehicles [59, 153], subsequent advances in this field have focused on planning taking into account the kinematic restrictions, which opened the door to the obtention of solutions adapted to the motion capabilities of the different robotic platforms. Thus, nowadays mobile robots can navigate dealing with obstacle avoidance in a great variety of situations. However, in many real world applications safety and accuracy are critical, and motion uncertainty influences on which path is best. This raised new challenges and opened new lines of research, among which dealing with the uncertainty at planning time stands out for its relevance. The most recent advances in this field take into account the uncertainty due to the inaccuracies in the controls and the noisy or missing measurements from the sensors, which makes it possible to obtain solutions that minimize the probability of collision of the robot during the execution of the plans. In this sense, estimating the safety of the paths in a realistic manner, taking into account as much information as possible about the robot and its predicted uncertainty, is key for achieving a reliable motion planning approach. However, the runtimes of these strategies are significantly higher due to the increased overhead which is caused by having to estimate the probabilities of collision of all the candidate paths, which is a major concern that needs to be addressed for integrating them in real systems. Despite the constant
hardware improvements that have allowed a significant increase of the computing power in the last years, the efficiency of the motion planning algorithms is essential for the obtention of reasonable runtimes that make it possible to react to changes in the environment and, additionally, to increase the amount of resources that are left available to other components of the robotic system. Part of the research conducted in this direction was related to the heuristics that are used for estimating the cost of the paths, while others focused on obtaining more lightweight representations of the robot state and action spaces. The autonomous navigation of mobile robots is a challenging task due to a number of factors which include mapping, localization and path planning for avoiding obstacles in complex environments. The safety requirements of this task are high and demand reliable motion plans which, at the same time, have to be efficiently obtained to avoid noticeable waiting times before the robot can start moving. In this sense, managing the trade off between planning efficiency and performance is key for satisfying the restrictions on these both ends. The autonomous navigation of UAVs presents a number of additional challenges due to the impact that the dynamics model and the motion uncertainty have in the accuracy of the executions of the obtained plans. Moreover, the increased problem dimensionality due to planning in 3D space increments the computational complexity in a significant manner. This chapter reviews in detail prior work related to the topics of this thesis, and it is organized in six sections. In Section 2.1 the different methods for generating trajectories for mobile robots observing the vehicle kinematic constraints are analyzed. Section 2.2 reviews the existing approaches that addressed motion planning, focusing on the state space representation, their main features and limitations. The obtention of optimal solutions for the motion planning problem is addressed in Section 2.3, where the different strategies to obtain paths with the lowest cost are detailed. Section 2.4 reviews the approaches for planning taking into account the motion and sensing uncertainty, focusing on their suitability for dealing with the different kinds of inaccuracies. The different methods for addressing the high computational complexity of planning in high dimensional spaces and the increased overhead of dealing with complex systems are described in Section 2.5. Finally, Section 2.6 focuses on prior work that addressed the autonomous navigation of UAVs, a motion planning problem which is challenging due to the complex dynamics of this kind of systems. 16
Chapter 2. Related work 2.1 Planning with kinematic constraints The generation of trajectories that accurately represent the motion of a robot taking into account its kinematic constraints is a necessary step to obtain suitable solutions for motion planning. In this sense, a significant amount of research has been done to efficiently find trajectories that observe these restrictions. The problem of obtaining a collision free path between two points in the free space is especially challenging for nonholonomic vehicles, whose trajectories were first analyzed by Dubins [39] —which described a model for a car that only moves forward— and Reeds and Shepp [167] —which addressed forward and backwards motions. These models limited the vehicle steering angle, resulting in constant curvature motions, as shown in Figure 2.1. However, their research opened the door to further developments in the characterization of nonholonomic trajectories, which allowed the precision of the models used as basis for trajectory generation to improve. In this sense, a more flexible representation for these kind of paths was introduced in [179] for the Dubins car, and in [48] for the Reeds and Shepp case. Instead of considering curvature constrained paths, their models combined straight lines, arcs and clothoids —segments with curvatures which are function of their length— to obtain trajectories with continuous curvature profiles. These improvements in the representation of the vehicle motions leaded to the obtention of smoother trajectories and to a lower error in tracking. At the same time, the issue of needing to stop the robot for redirecting the wheels with every change in the curvature of the path was overcome. However, these advantages came at the expense of the efficiency due to the lack of a closed form solution for the clothoids. For this reason, further research developed in this direction [49, 110, 180] focused on improving the flexibility and the efficiency of these representations. In addition to coping with the robot kinematic restrictions, taking into account the obstacles in the environment is essential for obtaining suitable paths for the autonomous navigation of mobile robots. In this sense, despite being local planning solutions, some mentioned above methods were combined with higher level strategies [92, 113, 132] with the goal of obtaining paths that were suitable for navigating autonomously in environments with complex obstacle configurations. Most of the resulting approaches relied on building a roadmap, using the local planner to connect the points that were distributed throughout the free space. In this regard, in [179] the authors proposed first obtaining a set of simple candidate paths, and then selecting as local planning solution the shortest collision free path. Conversely, in [48, 49, 180] the collisions were directly checked when the roadmap was built. However, since clothoids are not 17
2.2. Approaches to motion planning which is similar to the PRM approach. However, both algorithms construct the graph representing the robot trajectories in a different manner. RRT is a single-query approach which, unlike PRM, avoids exhaustively exploring the robot state space and focuses only on computing the possible trajectories from a single point, as shown in Figure 2.3. When a new configuration is added to the graph, RRT connects it only with its nearest neighbor in the search tree. The cause beyond the rapid exploration of RRT is its Voronoi bias [127]. Due to the way in which the state space is explored, the probability that a node is selected goes in accordance with the volume of its Voronoi region. Thus, the search is biased towards regions of the state space which have lower levels of exploration, and strategies to take advantage of that bias and improve the planning efficiency were developed [128, 206]. The efficiency of randomized planners like RRT and PRM relies on avoiding to explicitly represent the robot state space as such. Despite not being complete approaches, they have proven to be probabilistically complete [12, 14, 75, 94, 108]. This concept describes those planners whose probability of failing in retrieving a valid solution if it exists decays to zero when the number of samples tends to infinity. But more importantly, the decay of the probability of failure is exponential under the assumption of good visibility properties of the environment free space [12]. In that work these visibility properties were characterized under the concept of expansiveness, that is tied to the rate at which the set of samples successfully connected to the roadmap grows with its size. It also measures the difficulty of sampling in multi-dimensional narrow passages —see [76]— and also captures the issue of using randomized planners under these conditions, already studied in [72]. The study conducted in [74] revealed that this assumption was reasonable for most practical applications, and tied this to the empirical success of randomized algorithms. Due to the increasing popularity of randomized motion planners, the research community also focused on studying the different available techniques for sampling the state space. In this regard, two concepts that are commonly used for evaluating such techniques are the discrepancy and dispersion. Generally speaking, the lower the discrepancy of a sequence, the more proportional the number of samples that fall into an arbitrary volume to its size. On the other hand, the lower the dispersion of the samples, the smaller the maximum area which is left uncovered by them. Prior research in [21] showed that similar or improved performance can be achieved with quasi-random sampling techniques due to the more uniform sampling that is attributed to this kind of methods. Moreover, they introduced a couple of sampling techniques which were used for planning purposes: one based on low discrepancy sequences, 24
Chapter 2. Related work Figure 2.3: Structure of a Rapidly-Exploring Random Tree (RRT). The sampled configurations are represented as circles, while the lines are the paths connecting them. Unlike PRM, RRT computes only the paths from the starting point, shown in green. The goal is in blue, and the path connecting them is highlighted in red. 25
2.3. Optimal motion planning named Quasi-PRM, and another based on regular lattices, the Lattice Roadmap (LRM). These two methods are resolution complete, and the main advantages of LRM are its properties of near-optimal discrepancy and optimal dispersion. More recent studies have shown that the efficiency of randomized planning approaches like PRM and RRT is not due to the stochasticity itself [117]. In fact, in that work the authors pointed out that the obtention of stochastic samples via random number generators has a certain degree of determinism. Another line of research focused on proposing lazy variants of the existing planning algorithms based on roadmaps which avoided checking collisions during the construction phase [18, 19, 177, 178]. This way the collision check operations were left to the query phase and the obtained roadmaps could be re-used with other configurations, such as robots with different dimensions or changes in the obstacle locations. In this regard, [21] suggested that having an initial representation of the possible robot motions —e.g. a roadmap, a tree or a graph— was not even necessary since its construction could be done during the search. All the planning techniques we analyzed in this section addressed the problem of finding a global solution to drive the robot from an initial state to another one. However, there are notable differences in the way they achieve that. The high complexity of the problem has motivated the development of sampling based methods in order to efficiently deal with high dimensional search spaces. In this regard, the existing techniques can be divided into those which compute a roadmap for the whole environment, allowing to solve multi-query problems, and those which build a search tree and solve a single query instead. Another way of classifying prior works could be by the method used for obtaining the sampled states. While randomized techniques have proven their suitability for dealing with problems of different natures, when it comes to comparing the sampling properties the techniques which are quasirandom or deterministic have better dispersion and discrepancy. 2.3 Optimal motion planning In most robotic applications, obtaining a good solution in terms of a measurable cost —e.g. the length of the path or the traversal time— is highly relevant. However, computing optimal motion plans is challenging even for the most basic problems [30], and despite the fact that some authors pointed out the relevance of this topic [119], the most noteworthy research efforts in this direction started in the mid-2000s. Although sampling the state space comes at the expense of sacrificing the optimality of the planned paths, asymptotic optimality may be 26
Chapter 2. Related work retained under certain conditions [84, 90]. In this regard, in the literature there are approaches both based on randomized algorithms and deterministic sampling in combination with graph search algorithms. One of the first randomized approaches is the Heuristically-guided RRT (hRRT) [196], which addressed the generation of low cost paths focusing on biasing the RRT growth using heuristics. Such behavior was achieved weighting the probability density function used for obtaining the random samples in accordance with the value of the heuristic. Thus, the trees obtained by hRRT are biased towards the low cost paths. In their experiments they also compared the performance of different heuristics in terms of the cost of the obtained solutions. In [45] running RRT several times for the same planning problem was proposed. They showed that, despite not having optimality convergence guarantees, this method allowed the cost of the solutions to decrease with every new execution. In this regard, [205] studied the performance of RRT in problems of different nature and analyzed the convenience of restarting the algorithm for achieving a reduction in the cost of the solutions. Although it is not applicable to all kind of problems, their results showed the tendency for restarts to be more useful in highly difficult planning problems. The different approach of T-RRT, Transition-based RRT [83], combined the rapid exploration properties of RRT with stochastic optimization methods, which use transition tests to determine the acceptance or not of a new potential state. The difficulty of these tests was adapted on-line depending on the failure rate during the search process in order control its exploratory behavior. However, since the exploration of T-RRT only relied on sampling the state space, it had difficulties to deal with cost functions characterized by having narrow low cost areas surrounded by others with higher costs. This was addressed in [16], which combined T-RRT with a gradient function to bias the exploration towards the lower cost regions of the state space. However, despite the good results obtained, the applicability of these two methods is limited to planning problems with continuous cost functions. Perhaps one of the most important contributions in the obtention of optimal paths using randomized algorithms is the research presented in [90]. The authors first provided an extensive analysis of the optimality and complexity of the different variants of PRM and RRT, showing that of all existing algorithms of this kind, only the simplified version of PRM — Simple PRM (sPRM) [93, 94]— offers asymptotically optimal guarantees, but at the expense of a high computational complexity. Apart from their valuable analysis, in their research the authors also proposed several algorithms: the Optimal Probabilistic Roadmap (PRM*), the 27
2.3. Optimal motion planning Rapidly Exploring Random Graph (RRG) and the Optimal Rapidly Exploring Random Tree (RRT*); which they proven to be asymptotically optimal, probabilistic complete and efficient in terms of computational complexity. PRM* is a variant of PRM which uses a distance threshold that depends on the dimensionality of the problem and decays with the number of samples to generate an efficient representation of the robot possible motions in the free space. RRG incrementally builds a roadmap in a similar manner to RRT, with the main difference that RRT only attempts to connect the new samples to the nearest existing ones, and RRG also attempts to connect other nodes within a distance threshold if the first attempt was successful. Thus, it is clear that RRG is a version of RRT with an improved connectivity, since for the same sampling sequence the result of the RRT graph is a subset of the one obtained by RRG. Moreover, while the first is a directed tree, the second is an undirected graph that might contain cycles. Finally, RRT* is similar to RRG but it maintains the structure of a tree, which results in improved memory requirements. This is achieved limiting the increased connectivity of RRG by removing the cycles caused by redundant edges —those that do not belong to the shortest path between each vertex and the root of the tree. This representation is more suitable for some practical applications and it is more easily extensible to problems with differential constraints. The trees obtained by RRT* share with those of RRT the same structure of vertices, although they have different edge sets. In the former it is guaranteed that each node is connected to the root of the tree by a minimum cost path. 2.3.1 State lattices State lattices, introduced by [158], are noteworthy among the approaches based on deterministic sampling for their efficient representation of the state space due to using a regular discretization scheme. Their regularity comes with substantial benefits like optimal dispersion and low discrepancy [115]. Like LRM [21], state lattices are a resolution complete approach, since increasing the fidelity —the resolution of the sampled states— makes the number of samples to increase as well, such that for sufficiently high values the state space representation approaches the continuum. In fact, state lattices can be seen as an extension of LRM which also allows coping with the robot motion constraints. This is because the state lattice resembles a graph in which the sampled states are connected by feasible motions of the robot, so that these constraints are by construction encoded in its structure. While building the state lattice might seem computationally expensive, the regular sam- 28
Chapter 2. Related work pling strategy has the benefit of providing translational invariance, as shown in Figure 2.4. Thus, the same motion can be used to connect every pair of states equally arranged. This is extensible to the low level controls that allow executing each motion, which are the same for all instances regardless their initial position. This way the connectivity of the state lattice can be pre-computed offline and stored in terms of a canonical set of motions —the canonical control set, or motion primitives—, which constitutes one of the main advantages of this representation. These actions are obtained from the vehicle motion model, e.g. using an inverse trajectory generator —see Section 2.1. Moreover, unlike in randomized approaches, the unfeasible motions are already discarded when the motion primitives are built. For all these Figure 2.4: Motion planning based on state lattices. Due to the regular sampling, the motion primitives can be obtained offline and replicated to connect the sampled states. Then, an informed search algorithm can be used to find optimal paths in the lattice. 29
2.3. Optimal motion planning reasons, state lattices are a very efficient representation of the robot state and action spaces. The efficiency and performance of state lattice based motion planners highly rely on the set of motion primitives used for search. Prior works [42, 161] have analyzed the relevance of having a good quality representation of the robot action space, while some authors also noted its relevance in reactive obstacle avoidance [20, 62]. In this regard, the problem of building a set of motion primitives properly representing the vehicle motion constraints while leading to an efficient search was addressed in [160], which introduced rules for designing a good state space discretization scheme and for generating a representative set of canonical actions. In that work a method for removing redundant actions for an improved search efficiency was also introduced. The obtention of optimal paths in state lattice based representations has been addressed using graph search algorithms. The planned paths are optimal for the discretization scheme used to represent the state space —e.g. resolution of the sampled states, arrangement, etc. In this regard, different algorithms have been described in the literature, but perhaps the most commonly used for robotic applications are: A* [66, 67], D* [187] and its variants [101, 188]. More recent research in the field of graph search algorithms proposed alternative solutions to deal with complex motion planning problems. In this regard, in [125] they presented Anytime Dynamic A* (AD*), a search algorithm featuring replanning and anytime search —the capacity of obtaining sub-optimal solutions which are incrementally refined reusing the information that has already been computed. As shown in this section, many approaches have focused on the obtention of optimal plans. Many of these proposals are modified versions of prior algorithms that have been improved to explore and represent the search space in such a way that optimality guarantees are provided. Similarly as in Section 2.2, the analyzed proposals can be classified in randomized and deterministic techniques. Among the latter, state lattices stand out for their efficient representation of the robot state space. This is due to obtaining offline a set of canonical actions which can be replicated to generate the connectivity between all the sampled states that are equally arranged. By doing so, the vehicle kinematic restrictions can be managed almost effortlessly. State lattices also stand out for their good properties in terms of discrepancy and dispersion of the sampled states, as well as their resolution completeness guarantees. Moreover, when used in combination with a graph search algorithm, optimal solutions between any two lattice states can be obtained. In this regard, different alternative algorithms exist, although AD* has desirable features to deal with complex motion planning problems. 30
Chapter 2. Related work 2.4 Motion planning under uncertainty For many robotic applications, safety and accuracy are of critical importance, and in these cases the most suitable path is not always the one with the lowest traversal time or the minimal length. Instead, it might be more interesting to prioritize other criteria, like the safety of the plan or the accuracy in its execution. Measuring these features, so that the best path can be selected accordingly, requires managing the motion uncertainty at planning time. However, classical motion planning approaches assume systems with deterministic dynamics and full knowledge about the robot state, leaving the issues regarding the uncertainty to the managed by a feedback controller [210]. To overcome this, the approaches that explicitly take into account the uncertainty have received an increasing attention in recent years, and extensive research that addressed this problem from different points of view has been conducted. Since motion uncertainty arises from different sources, like the inaccuracies in the executed controls and noisy or partial measurements, it evolves differently for each path. This makes planning under uncertainty a challenging problem due to its high computational complexity. One family of methods addresses motion motion planning under uncertainty using the theoretical framework provided by the Markov Decision Processes (MDPs) [15]. MDPs allow modeling problems for which the stochasticity in the controls is addressed, but the robot state is assumed to be fully observable. In this regard, in [6] they presented a motion planning algorithm that combined a PRM with the MDP theory to maximize the probability of collision avoidance and successfully reaching the goal. The authors reported results for a variety of practical applications for which their approach, the Stochastic Motion Roadmap (SMRM), was suitable. This included the steering of medical needles, and motion planning for a nonholonomic robot. Their method, however, is limited to applications for which the robot state can be precisely estimated from the sensor measurements, since MDPs only cope with the uncertainty in the controls. For problems for which the robot state is not fully observable due to the stochasticity in the measurements, the use of Partially Observable MDPs (POMDPs) [8] becomes necessary to also deal with the sensing noise. However, solving POMDPs in an exact manner is known to be of extreme computational complexity [154], and they can only be directly applied to problems with low-dimensional state spaces and limited size [89, 174]. Instead, in recent years approximate-based solutions, which rely on discretizing the state and action spaces, have been developed [11, 107, 151]. However, while these approaches partially addressed the scalability issues of solving POMDPs, further research is still needed to make them applicable 31
2.4. Motion planning under uncertainty to high dimensional problems. The later proposals of [23, 29, 68] were able to handle continuous state and action spaces in reasonable time, although they maintained a discrete representation of the reward function in belief space. This issue was overcome in [199], which presented a continuous approach that approximated the reward function in parametric form only in the areas of the environment which were relevant for planning —due to the proximity to the obstacles—, achieving polynomial runtimes in the dimensionality of the state. However, despite the good results obtained by their approach, further research is still needed to improve the computational complexity of the algorithm and make it suitable for high-dimensional systems with complex dynamics. In this regard, later research conducted by the authors suggested that it was possible to reduce the computational complexity even more [198]. Besides that, their method requires the dynamics, observation and cost functions to be smooth due to the use of gradients to compute a solution. Thus, in its current state their approach is not suitable for domains in which this formulation is not possible, for example in systems equipped with sensors with abrupt boundaries, e.g. cameras, GPS, etc. Extending POMDPs for systems with mixed observability, in which the state can be measured only in part, is possible by factoring the model into the components which can be fully and partially measured [151]. Thus, Mixed Observable MDPs (MOMDPs) models allow improving the POMDP planning efficiency when using approximate-based algorithms, although like in prior approaches of this family of methods, scaling it up to complex robotic systems remains an open challenge. There are approaches similar to [199] that also focused on obtaining locally optimal control policies [41, 87, 195], although unlike the former they assumed maximum likelihood observations to predict the robot uncertainty in a deterministic manner. Due to this, the resulting probability density functions (PDFs) measure the capability of inferring the robot state from the observations, instead of representing the true robot state during the execution of the paths. Moreover, a common drawback of POMPD based approaches is that they focus on computing locally optimal control policies. Obtaining globally optimal solutions would be possible, but this would scale very poorly with the complexity of the environment, increasing the computational complexity of a family of solutions that already suffers from issues in this sense even more. Another family of methods that allows planning under uncertainty is based on combining classical planning solutions, already analyzed in Sections 2.2 and 2.3, with the prediction of the uncertainty along the different candidate paths. This allows selecting the best solution 32
Chapter 2. Related work according to different criteria, but also the uncertainty is managed differently in each proposal. The Belief Roadmap planner (BRM) [163] addressed planning in belief space focusing on systems with linear dynamics and Gaussian noise. With that method an initial uncertainty was propagated throughout all the candidate paths in a roadmap, which had been built a priori, and the path which maximized the information gain about the robot state was obtained. This was achieved using the Extended Kalman Filter (EKF) theory and simulating the measurements that the robot would receive in each point of the roadmap. While this was computationally expensive, they proposed a method that factorized the covariance matrix and combined the multiple EKF update steps into a single one. That way, computing the uncertainties throughout the entire roadmap became a substantially faster operation and reasonable planning times on large-scale environments were achieved. However, BRM disregards the vehicle motion constraints and the uncertainty due to the controls, assuming that the controller is able to accurately track the planned path, which is not reasonable for most robotic applications. In [77] a trajectory optimization method [194] was combined with the outcome of the BRM algorithm. That method produced a control policy which satisfied the information constraints of the planned path at the same time that its feasibility was ensured. However, the solutions were not guaranteed to be optimal due to using PRM as basis for planning. Moreover, these approaches propagated the uncertainty assuming maximum likelihood observations, for which the predicted PDFs do not represent the true robot state. This issue was overcome by the algorithm proposed in [197], named Linear Quadratic Gaussian Motion Planning (LQG-MP). They relied on RRT to find the path which minimized the predicted probability of collision, estimated from the PDFs taking into account the uncertainty due to the controls and due to the measurements. Their method achieved that at the same time that it avoided to simulate maximum-likelihood observations during the propagation of the uncertainties along the candidate paths that were generated by the search algorithm. Moreover, under the assumption that the solutions would be executed with a Linear Quadratic Gaussian (LQG) controller [17], their method used this prior knowledge to accurately predict the distributions of the robot true state in a realistic manner. In this sense, good results were reported for a variety of robotic platforms. The main drawback of their strategy is that the uncertainty was only predicted for a set of candidate paths which were obtained from running RRT several times. Then, among those with a bounded probability of collision the one which minimized the cost criterion was chosen. However, it had been demonstrated that RRT was not asymptotically optimal [90], so that 33
2.5. Efficiency improvements therefore the runtime of the motion planning algorithm. Using different fidelities in arbitrary regions of the environment would be particularly interesting in order to manage the trade off between planning efficiency and performance. In this regard, state lattices with graduated fidelity were introduced in [159] as part of a hierarchical planning concept in which search spaces of different fidelities were combined and unified under the same graph representation. More specifically, their approach relied on using high fidelity only in the immediate vicinity of the robot, while elsewhere a low dimensional representation which disregarded the robot dynamics model was used instead. The main drawback on that method is that it constantly updates the solution as the robot moves along the planned path. This is because the high fidelity areas change with the robot position, causing modifications in the state space representation which have to be managed online. Moreover, with that approach the robot kinematic constraints are considered only locally around the robot, so the feasibility and the optimality guarantees of the global plan cannot be retained. These drawbacks were addressed in [123], where the authors presented a similar approach which, instead of using a lower dimensional representation outside the high fidelity areas, relied on using a subset of the motion primitives to reduce the connectivity between the sampled states. With this method fully feasible solutions were obtained, although as the strategy of using high fidelity in the vicinity of the robot and low fidelity elsewhere was maintained, replanning is still needed to manage the modifications in the connectivity of the lattice that are produced by the robot position changes. Although some approaches mentioned above reported good results for classical motion planning problems, when dealing with the uncertainty at planning time there are some issues that have to be considered. In this regard, heuristics still can be used for reducing the computational effort of addressing motion planning under uncertainty. However, their informative value will depend on the cost function to optimize. For example, since no good heuristic is known for estimating the evolution of the uncertainty from the current robot state, the motion planning approaches that attempt to minimize this criterion will not be able to benefit from heuristics as much as other approaches that try to minimize, among other criteria, the cost of the path. Regarding the graduated fidelity approaches described above, using any strategy which relies on changing the state space representation in execution time might be difficult to combine with uncertainty management. This is because every time the lattice or its connectivity are modified, the uncertainty of all the affected paths must be re-computed and, if necessary, 40
Chapter 2. Related work their probabilities of collision updated. These are non trivial operations and further research would be needed to solve them in real time. Thus, the existing graduated fidelity lattice approaches [123, 159], which rely on obtaining an initial solution that is updated as the robot moves along it, cannot be directly applied for planning under uncertainty. Moreover, those strategies assume that the cost of the path monotonically decreases when the fidelity of the representation is augmented. There is no guarantee, however, that the new candidate paths that appear as a result of increasing the fidelity will lead to better solutions neither in terms of motion uncertainty nor for the probability of collision, since they depend on the executed controls and the expected measurements. To address the drawbacks of prior works in this topic, in this thesis a novel graduated fidelity strategy is presented. To avoid the need of replanning in real time and make the approach suitable for managing motion uncertainty, the method relies on varying the connectivity of the state lattice in accordance with the obstacles in the map and the maneuverability of the robot. More concretely, subsets of motion primitives —the actions which connect the lattice states— are obtained, so that each group contains the maneuvers of the same kind but with different lengths. Then, the fidelity is selected at the action level in accordance with the predicted uncertainty and the obstacles in the map, in such a way that the fidelity decreases only if the probability of collision of the candidate paths is not affected. By doing so, the trade-off between the computational complexity and the quality of the solution is managed, causing a significant reduction in the planning runtimes. Moreover, our method does not require updating the solution unless the map changes, since the fidelity does not depend on the position of the robot. Thus, some of the prior work drawbacks mentioned above are solved. 2.6 Autonomous navigation for UAVs Up to this point, the different techniques that can be used for motion planning have been analyzed. There is a great variety of methods that have proven successful in problems of different domains and, in this regard, most of the prior research focused on mobile robots of different kinds. The ultimate goal of those planning algorithms is integrating them in real systems for the purpose of navigating autonomously. However, this problem does not only involve the obtention of a suitable plan, but also other relevant aspects like the robot localization [52] and control [3, 17, 22]. The popularity increase that the Unmanned Aerial Vehicles (UAVs) have experienced in 41
2.6. Autonomous navigation for UAVs recent years has motivated a growing interest from the research community in increasing their autonomous navigation capabilities. Many different kinds of vehicles may fall under the denomination of UAV, such as which fixed-wing platforms, helicopters or multi-rotors. However, the latter stand out for their versatility and their notable maneuvering capabilities, which make them suitable for addressing a variety of real world problems. Another reason for their popularity is their affordable cost. Thus, it is not surprising that many proposals in this field have reported results on multi-rotors. Besides motion planning, many prior works have focused on addressing specific issues of UAV navigation, especially in GPS-denied environments. Among others, some noteworthy examples are visual SLAM techniques [140, 145], robust control [176] or landing in hazardous conditions [150]. Although these related problems are of great relevance as well, given the connection with the topics of this thesis, the analysis of the state of the art proposals will focus on those related to the problem of planning routes for the autonomous navigation of UAVs. Due the computational complexity of the problem, many methods that make important simplifications and that allow coping with the limited computing resources of most on-board computers have been proposed. In this regard, some authors addressed autonomous navigation using strategies with very low computational complexity, but with certain limitations in their functionalities. Thus, in [211] the authors presented an approach focused on navigation in indoor corridors only with the information of an on-board camera. Their method obtains the most suitable action with a Proportional-Derivative (PD) controller and, although the UAV is able to navigate autonomously, the absence of a high level planner constraints this strategy to environments with the specific features for which it was developed. The approach of [60] relied on the FM2method to generate navigation plans in a non uniform terrain at a fixed altitude from the ground. Despite not considering the UAV kinematic constraints, their method can be adjusted in terms of the smoothness of the paths and the restrictions of the flight altitude, so the obtained solutions might be feasible depending on the parameter tuning. Another kind of approaches use hybrid architectures consisting in a high level planning algorithm which computes collision-free paths for obstacle avoidance, and then using a lowlevel local planner which obtains the appropriate control commands for tracking the desired path. A variety of solutions of this kind have been described in the literature. In [148] they used a grid A* based planner which relied on a multi-resolution representation for the sake of efficiency, and which was constantly updating the solution based on the 42
Chapter 2. Related work map updates. That obtained path was used by a lower level planner based on Potential Fields which dealt with the obstacle avoidance locally around the UAV, and computed the appropriate controls to follow the provided path. A drawback of this method is that the UAV might get stuck in local minimums if the plans obtained by A* end up being unfeasible due to the obstacles. This might occur due to the fact that, while the low level planner takes into account the UAV shape to cope with the obstacles in a safe manner, the high level path is computed considering a punctual robot. In those cases replanning is necessary to reach the goal using an alternative path, if it exists. Similarly, in [80] they used the A* algorithm as high level planning solution. In that work, the authors proposed using Artificial Potential Fields to deal with the local minimums instead of relying on updating the high level plan to overcome blocking situations. However, the method needs to compute the control commands in real time and, therefore, its suitability in large environments might be compromised due to the scalability issues. The two-level planner approach presented in [149] relied on Informed RRT* [53] to obtain optimistic high level paths comprised by straight lines. This was combined with a low level planner which represented the UAV dynamic constraints as polynomials to generate a smooth and feasible plan which was constantly updated. The main drawback of their method is that it requires a continuous defined cost function to deal with collision avoidance. In addition to this, they relied on a map representation in which the unknown space has to be treated either as occupied or free. Both options have different drawbacks that affect the obtention of the low level trajectories. As pointed out by the authors, this is especially relevant in real experiments, as the sensors rarely provide dense measurements, and this results in map representations that might have areas without information. Treating them as free areas might result in unwanted collisions if the sensor cannot observe the environment entirely, e.g. colliding with the ceiling due to not measuring the space above the UAV during the flight. Conversely, if those spaces are treated as occupied the difficulty of finding collision free trajectories increases substantially. Another hybrid strategy was presented in [156], based on a variant of the Lazy Theta* algorithm [143, 144] which computed a high level path used for guiding the UAV to the next waypoint. Their high level planner obtains paths comprised by any-angle straight lines that are not constrained to the grid edges, which allows to minimize their smoothness issues. Moreover, it deals with the restrictions imposed by the placement of the on-board camera by preventing the UAV to be in poses for which the optical sensor has occlusions. However, 43
2.6. Autonomous navigation for UAVs since the planner disregards the vehicle kinematic restrictions, the velocity commands are calculated by a low level strategy that deals with the kinematic restrictions and the accuracy of the trajectory tracking. Despite the good results obtained by this kind of approaches, a common drawback shared by all of them is that due to disregarding the vehicle dynamics at planning time, they are unable to retrieve optimal paths that might be of critical importance for some tasks. Nevertheless, for some practical applications it might be indispensable to compute the low level trajectories separately. For example, aerial videography requires obtaining plans which are constrained in different ways —e.g. desired viewpoints, mutual visibility of cameras, people tracking, etc.— and that have to be adapted in real time to the environment conditions. In this regard, the hybrid approach of [142] achieved remarkable results by taking a user-specified high level plan and using a low level trajectory generator based on the Model Predictive Control (MPC) [44] framework. Another family of methods addressed the generation of feasible paths for the autonomous navigation of UAVs taking into account the kinematic restrictions at planning time instead of using hierarchical approaches. In this regard, in [166] a method based on the POMDP framework which incorporated the UAV dynamic constraints at planning time was presented. The trajectory tracking error and the proximity of obstacles were taken into account as a cost criterion, and the most appropriate command was computed in real time according to the current state of the UAV, following a horizon control strategy. Although they proposed solving the POMDPs using an approximation method based on nominal belief-state optimization (NBO) [139] to address the efficiency issues of that framework, they worked with a limited motion model which assumed flying at a constant altitude. Prior research has also reported results applied to UAVs using both randomized and deterministic sampling based methods for planning. Among the former, the approach of [208] represented the planning space in cylindrical coordinates and used RRT to plan feasible paths using the Dubins model. The authors also derived the conditions under which collision free paths for the UAV could be obtained and global convergence could be achieved. Despite this, the paths obtained by RRT usually have smoothness issues and require post-processing them to avoid undesirable maneuvers during flight. Moreover, as analyzed in Section 2.2, RRT is not asymptotically optimal. State lattice based approaches have also been applied to the autonomous navigation of UAVs. In this regard, in [162] a state lattice based motion planner which coped with the 44
Chapter 2. Related work complex UAV motion constraints was presented. In that work they detailed the strategies for sampling the state and action spaces in accordance with the particularities of motion planning for UAVs. Experimental results showed the efficiency of their method compared to other approaches, while no further post-processing of the obtained paths was required. In [131] they also used a state lattice representation combined with the AD* algorithm [125] for an UAV with an asymmetric footprint. In addition to the general planning approach, they described a 3D heuristic based on grid search and Breadth First Search (BFS) for planning with improved efficiency. Despite the high informative value of the heuristic, it suffered from scalability issues in large environments, for which the authors introduced some optimizations that partially addressed them. They also analyzed their approach against RRT and RRT* based planners for the same problem, and showed that they achieved better efficiency and performance both in known and partially unknown environments. Despite the good results of some hybrid planning approaches when dealing with partially unknown environments, they cannot offer guarantees regarding the optimality of the planned paths due to not taking into account the kinematic restrictions at planning time. This issue was overcome by the approaches based on sampling the state space which are able to retrieve solutions with the minimal cost observing these restrictions. However, no prior research taking into account the motion and sensing uncertainty at planning time has been applied to UAVs due to the high computational complexity of this planning problem. Yet, in some real world problems it is desirable to compute the best path in accordance with other measures than the cost of the path. In certain situations it might be interesting to compute solutions that maximize the probability of collision avoidance, e.g. for navigating in highly cluttered environments. Moreover, depending on the system setup the uncertainty that arises from the imprecise motions of the UAVs or the sensing inaccuracies might affect the reliability of the planning solution. In this thesis we address these issues by presenting a motion planning approach which manages the motion and sensing uncertainty at planning time and selects the best path in terms of safety and traversal time. To achieve a reasonable planning efficiency, a state lattice with graduated fidelity representation —which is able to deal with the overhead caused by taking into account the uncertainty— is presented. Moreover, a novel multi-resolution heuristic which adapts to the obstacles in the map is described. Our approach makes it possible to obtain reliable solutions very efficiently, for which it is suitable for UAV autonomous navigation. 45
CHAPTER 3 MOTION PLANNING UNDER UNCERTAINTY IN GRADUATED FIDELITY LATTICES In this chapter we detail our proposal for motion planning under uncertainty. In Section 3.1 we address the problem formulation, including how the motion primitives are obtained —Section 3.1.1—, an overview of the search algorithm main operations —in Section 3.1.2— and how the uncertainty is propagated throughout the candidate paths —Section 3.1.3. Section 3.2 details the contributions of this thesis to the motion planning research field, which focus on improving the reliability and the efficiency. More concretely, this section introduces a method for estimating the probability of collision of the paths reliably —contribution C1, Section 3.2.1—, an approach for obtaining a graduated fidelity state lattice which adapts to the obstacles in the environment —contribution C2, Section 3.2.2— and a multi-resolution heuristic that estimates the cost to the goal due to the map occupancy information —contribution C3, Section 3.2.3. Section 3.3 discusses the experimental results in different scenarios, showing the performance of the proposed methods for robots of different shapes and with a variety of motion models and uncertainty conditions. More concretely, Section 3.3.1 shows the reliability of the probability of collision estimation, and Section 3.3.2 the planning efficiency due to the graduated fidelity approach. Section 3.3.3 discusses the results regarding anytime search, and in Section 3.3.4 we report planning results for experiments in real scenarios. Section 3.3.5 analyzes the efficiency of the proposed multi-resolution heuristic. Finally, Section 3.4 ends the chapter with a discussion and some final remarks.
3.1. Planning on state lattices 3.1 Planning on state lattices 3.1.1 Motion primitives The motion planner presented in this thesis relies on a state lattice to sample the state space, X, in a deterministic and regular manner. We have chosen a rectangular arrangement of the samples, although other configurations are possible. The states belonging to the lattice, Xlat , are connected by a set of actions —U, also called motion primitives— extracted from the dynamics model. Due to the regular arrangement of the sampled states, these actions can be computed offline and efficiently stored. As they are position-independent, the same motion primitive connects every pair of states equally arranged. Figure 2.4 illustrates the regularity of the states belonging to the lattice and the connectivity obtained via replication of the set of actions U. It is straightforward that using the motion primitives to connect the lattice states ensures that, by construction, this structure is generated in accordance with the robot dynamics. Since the kinematic restrictions are observed, all paths contained in it are feasible. In our model, the control set was obtained applying a numerical optimization technique based on the Newton-Raphson method, introduced by [70]. The resulting actions are optimal in terms of cost, given the constraints: the initial an final states —which belong to Xlat — and the dynamics model. The motion primitives have been parametrized via cubic spline interpolation [38] to represent the evolution of the controls over time. The parameters are the knot points of the splines, a set of equally spaced values —k1,k2,...,kn— from which the rest of the function is interpolated, as shown in Figure 3.1. Each control variable is represented by a different spline, which might be given by a different number of knots. Hence, the parameter vector for a motion primitive is defined as follows: p= [(k1 0,k1 1,...,k1 n1),(k2 0,k2 1,...,k2 n2),...,t](3.1) where kj iis the i-th knot belonging to the spline of the j-th control variable, and tis the duration of the motion primitive. Finally, the parameter vector pis optimized with respect to an error function, e(p), which measures the difference between the desired final state and the one given by the parameters 48
Chapter 3. Motion planning under uncertainty in graduated fidelity lattices Figure 3.1: Parametrization of the control function via cubic spline interpolation. k0and knare given by the initial and final states connected by the motion primitive, while kiare the knot points defining the rest of the function. —obtained from the dynamics model. The parameter vector is modified following: ∆p=−!∂e(p) ∂p"−1 ·e(p)(3.2) This is repeated until the constraints are satisfied, typically when e(p)is under a threshold. The dynamics model is learned from motion data of the robot, as described in [1]. The approach relies on parametrizing the equations for all linear and angular velocities in this manner: vt+1=βv 1·vt+βv 2·uv t+βv 0(3.3) ωt+1=βω 1·ωt+βω 2·uω t+βω 0(3.4) 49
3.2. Improving the reliability and the efficiency of the motion planner Figure 3.2: Estimation of the probability of collision taking into account the real shape of the robot, via sampling the PDF using the strategy of an UKF. probability —function pd f , in Alg. 3:10. wtis the sum of weights of all samples, while wcis the sum of those in which the real shape collides —Alg. 3:11 and Alg. 3:13, respectively. The quotient between them is the probability of collision of the distribution, pc, in Algorithm 3:14. Finally, the individual estimations are combined in a logarithmic scale to obtain a cost related to the probability of collision of the entire path, as detailed in Algorithm 3:15. By doing so we assume that the probabilities of collision in different stages of the path are independent, in the same way that most approaches in the state of the art. Although this is not the case, it is a reasonable assumption for practical purposes. Each element returned by the cost function —Alg. 3:16— represents an objective to be minimized by the motion planner, and therefore an order of priority was introduced when 56
Chapter 3. Motion planning under uncertainty in graduated fidelity lattices comparing the cost of two paths, which is done as follows: cost(xa:b)<cost(xa:c)⇔(ca:b<ca:c)∨ (ca:b=ca:c∧ta:b<ta:c)∨ (ca:b=ca:c∧ta:b=ta:c∧Σb<Σc) (3.10) Thus, the motion planner first minimizes the cost related to the probability of collision, prioritizing the safety of the planned paths. Among all the safe paths, it selects the one minimizing the traversal time and, finally, the uncertainty at the goal. Therefore, the planned paths are safe and optimal. Moreover, since the probability of collision is estimated taking into account the real dimensions of the robot, it is reliable for all kinds of shapes. 3.2.2 Graduated fidelity lattice The efficiency of the planner strongly depends on the fidelity of the state lattice. While a higher fidelity allows more precision in representing the state space and the maneuvering of the robot, decreasing it significantly diminishes the runtime of the search. Although the latter might result in paths with higher costs, the use of a graduated fidelity lattice can balance precision and efficiency adequately. Moreover, if the fidelity adapts to the obstacles in the environment and the maneuverability of the robot, the efficiency can be improved with minimal impact in the planning results, as shown in Section 3.3. Figure 3.3 depicts a state lattice with graduated fidelity, in which only those areas which require complex maneuvering to avoid obstacles in the environment are represented with high fidelity. The proposed approach is to select, whenever possible, the longest maneuver of each type to move between states. To achieve this, those motion primitives in Uwhich are similar maneuvers of different lengths are grouped. Then, the longest primitive of each group which does not affect the probability of collision is selected, and the rest discarded. This allows to diminish the number of states belonging to the lattice, and at the same time the number of candidate paths connecting them, therefore simplifying the state space. This technique is applied when generating the successors of the state xaexplored by the search algorithm, in Algorithm 1:10. Algorithm 4 details how the outgoing trajectories of a state xaare selected using the proposed graduated fidelity technique. As mentioned before, this procedure first requires grouping the motion primitives from Uin maneuvers of the same kind but different length. Those trajectories with the same values for orientations, linear and angular speeds both at the begin- 57
3.2. Improving the reliability and the efficiency of the motion planner ning —θi,vi,ωi— and at the end —θf,vf,ωf— belong to the same group —U(θi,vi,ωi,θf,vf,ωf). The union of all groups is the whole set of primitives —U=!U(θi,vi,ωi,θf,vf,ωf),∀(θ,v,ω)∈ Xlat —, whereas the intersection of any two of them is empty. Figure 3.3: Example of graduated fidelity lattice. Trajectories in red are those with highest fidelity, required to maneuver near the obstacle —in black. The rest of trajectories have lower fidelities —in blue—, since the obstacles do not affect the maneuverability. Algorithm 4 Successor generation for a graduated fidelity state lattice Require: U={U(θi,vi,ωi,θf,vf,ωf)},∀(θ,v,ω)∈Xlat 1: function SUCCESSORS(xa) 2: θi=xa θ;vi=xa v;ωi=xa ω 3: Γ=/0 4: for U∈{U(θi,vi,ωi,θf,vf,ωf)},∀(θf,vf,ωf)do 5: repeat 6: Uc=argmaxta:b(U)⊲Get longest 7: U=U\Uc 8: until CHECK(Uc xa,Uc xb)∨U== /0 9: Γ=Γ∪Uc 10: return Γ 11: function CHECK(xa,xb) 12: κa=cell(xa);κb=cell(xb)⊲Get map cells 13: sa=size(κa);sb=size(κb)⊲Get size of cells 14: ca:b=COST(xa,xb)[0]⊲Alg. 3 15: return (sa+sb!+ +xa−xb+ +)∧(ca:b== 0) 58
Chapter 3. Motion planning under uncertainty in graduated fidelity lattices The successors of a state, Γ, are generated as follows: First, those groups of trajectories with the same initial speeds —viand ωi— and orientations —θi—asxaare selected, in Algorithm 4:4. Then, the algorithm chooses a primitive of each group to be part of the successors and discards the rest. The candidates, Uc, are evaluated in descending order by length until one that fulfills the restrictions is found, as Algorithm 4:5-8 details. If none of the trajectories in the group fulfills the restrictions, the shortest one is selected. With regard to the evaluation of candidates, two conditions must be fulfilled to select them: the resolution of both the source and destination octree cells, saand sb, and the probability of collision of the candidate trajectory Uc. The former is related to the structure of the octree: in the vicinity of the obstacles the cells contain different occupancy information and cannot be compacted in higher level cells, so the higher the cluttering the lower the size of the cells in the map. Thus, limiting the length of the maneuvers in accordance with the size of the cells —Alg. 4:12-13— results in a lattice with high fidelity only in those areas challenging for the planner. The second condition is introduced to maintain the safety of the solutions. Those maneuvers which affect the probability of collision —ca:b, in Alg. 4:14— are discarded. This is obtained from the cost of the trajectory, as detailed in Algorithm 3. Figure 3.4 illustrates how this approach discards the longest maneuvers in the vicinity of obstacles due to their probability of collision, while navigating in uncluttered areas causes the acceptance of the first explored candidates. This graduated fidelity approach results in a lattice with a considerably lower density of states and maneuvers except in those areas in which complex maneuvering is required for obstacle avoidance. Consequently, the efficiency of the planner is considerably improved, while its performance —the cost of solutions— is barely affected. 59
3.2. Improving the reliability and the efficiency of the motion planner Figure 3.4: Example of the selected candidates with the graduated fidelity approach in different situations —in green. Long trajectories are discarded when they affect the probability of collision with obstacles —in black—, while in free space they are selected to have a lower fidelity. 60
Chapter 3. Motion planning under uncertainty in graduated fidelity lattices 3.2.3 Multi-resolution heuristic As mentioned in Section 3.1, our approach combines two heuristics: one takes into account the kinematic restrictions in free space, FSH, while the other only considers the obstacles in the environment, H2D. In this section H2DMR, a multi-resolution heuristic based on the latter, is proposed. Unlike H2D, this novel heuristic takes advantage of the octree structure of the map to obtain a multi-resolution grid, resulting in improved efficiency and scalability. Algorithm 5 details how H2DMR is calculated. The process is done applying Dijkstra’s algorithm to obtain a multi-resolution grid. The inputs are the initial state of the robot and the goal, x0and xG. Since the heuristic uses positions instead of states, their counterparts —p0 and pG— are obtained in Algorithm 5:4-5. The grid is generated backwards, starting in pG. Thus, the resulting grid will contain the estimated cost between each point and the goal, which is used as the heuristic value for planning. Iteratively, the point with the lowest cost from the start —p, in Alg. 5:9— is selected and its successors obtained. κis the cell of the map containing the selected point —Alg. 5:10. To generate its successors in accordance with the resolution of the map, the adjacent cells of κ —adjacent(κ), in Alg. 5:11— are explored. Figure 3.5 details how the resolution of the octree is taken into account when obtaining the neighbors of p. Given the size of a cell —s, in Alg. 5:12— and the highest fidelity of the motion primitives, f+, two situations are considered: on the one hand, a cell is split into subcells when f+exceeds the resolution of the map, in order to keep the accuracy of the heuristic —Alg. 5:14-17. On the other hand an upper bound in the resolution was introduced to avoid generating neighbors with a distance lower than f+—Alg. 5:19-22. Therefore, the size of the cells this heuristic works with is in fact limited according to f+—Alg. 5:19. In both cases the resulting neighbors are obtained from the center of the selected cells — position(κ′′), in Alg. 5:15 and Alg. 5:20. Finally, the cost between pand each neighbor p′—the distance between them— is obtained and p′is introduced into the OPEN queue to be explored by the algorithm later. Collisions are checked using the inscribed circle in the robot shape, also called optimistic shape, in Algorithm 5:25. Thus, the optimistic nature of the heuristic is maintained. The stopping condition of the algorithm is to expand a point with a cost which doubles the one between p0and pG—Alg. 5:23. Those areas of the map left outside the generated grid are not interesting for planning due to their distance to the most promising path. H2D uses this same stopping condition, which was introduced by [123] for efficiency purposes. 61
3.2. Improving the reliability and the efficiency of the motion planner Figure 3.5: Neighborhood of H2DMR —in blue. Given a point —in green—, those cells adjacent to the one containing it are explored —in gray. When a cell is smaller than the highest fidelity of the lattice — f+—, a bigger one containing it is selected. On the contrary, a cell is split into subcells when its size exceeds f+. This algorithm allows the obtention of a multi-resolution grid which contains the cost between each point and the goal, which is used by AD* as heuristic. Unlike H2D, this grid takes into account both the resolution of the octree map and the highest fidelity of the motion primitives. Thus, this approach outperforms H2D in the number of iterations required to explore the map, and consequently the time spent in initializing the heuristic. This is specially noticeable in large environments, since H2DMR scales better than H2D due to its capability to use lower resolutions in uncluttered areas. Since the positions of the multi-resolution grid and the states in the lattice do not directly match, obtaining the heuristic value for a state xais done as follows: first, the octree cell containing it is retrieved, and then all positions of the grid within this cell and the adjacent 62
Chapter 3. Motion planning under uncertainty in graduated fidelity lattices Algorithm 5 Obtention of H2DMR Require: f+, highest fidelity of the lattice 1: function HEURISTIC(x) 2: return max(h2dmr(x),fsh(x)) 3: function INITIALIZEHEURISTIC(x0,xG) 4: p0=position(x0)⊲Initial position 5: pG=position(xG)⊲Goal position 6: c(pG)=0 7: OPEN ={pG} 8: repeat 9: p=argminp∈OPEN c(p) 10: κ=cell(p)⊲Get map cell containing p 11: for all κ′∈adjacent(κ)do ⊲Iterate over those cells adjacent to κ 12: s=size(κ′)⊲Size of cell κ′ 13: if s>f+then 14: for all κ′′ ∈subcells(κ′)do ⊲Split κ′into subcells 15: p′=position(κ′′)⊲Get center of cell κ′′ 16: c(p′)=c(p)+ COSTH(p,p′) 17: OPEN =OPEN ∪{p′} 18: else 19: κ′′ =adjust(κ′,f+)⊲Adjust size of κ′to f+ 20: p′=position(κ′′)⊲Get center of cell κ′′ 21: c(p′)=c(p)+ COSTH(p,p′) 22: OPEN =OPEN ∪{p′} 23: until c(p)>2·c(p0) 24: function COSTH ( p,p′) 25: if collision0(p′)then ⊲Optimistic shape 26: return ∞ 27: else 28: return +p′−p+ 63
3.3. Results ones are explored. The heuristic of the state is given by the position —p— which minimizes the sum of its cost —c(p)— and the distance to xa: h2dmr(xa)=argmin p(+xa−p++c(p)) (3.11) Heuristics play a significant role in the anytime search capabilities of AD*, since their value is scaled by the parameter ε. By doing so, a sub-optimal solution can be retrieved faster and then improved iteratively until the optimal one is found or the available computing time is used up. The planner takes advantage of this possibility by adjusting the quality of the solution in terms of traversal time. However, the safety of the solutions is not affected by the use of anytime search. This is because the heuristic only estimates the traversal time of the path, even though the cost function has three elements —probability of collision, traversal time and uncertainty at the goal. Since anytime search works inflating the heuristic and these elements are compared hierarchically —see Eq. 3.10—, the probability of collision is always minimal regardless the value of ε. 3.3 Results In this section results of the proposed motion planner in different scenarios and uncertainty conditions are reported. Moreover, tests varying the robot shape were run, showing the relevance of taking it into account to predict the probability of collision along the paths. Also, results for the proposed graduated fidelity approach are detailed, comparing them with those of a standard state lattice planner. Thus, we show the ability of the proposed method to improve the efficiency while maintaining the performance —the cost of the solutions. Finally, we detail results for H2DMR, the proposed multi-resolution heuristic, focusing on its validity and the improved efficiency, specially in large scenarios. Runtimes reported in this section are for a computer with a CPU Intel CoreTM i7-4790 at 3.6 GHz and 16 GB of RAM. All tests were run on a 2D world and a robot with Ackermann dynamics, in which Mt= 0.01 ·I. Robot dimensions are 3.0×0.75 m, with the rotation center located at 0.9 m from its back side, centered in the short axis. Linear speed ranges between 0 and 0.5 m/s, and the angular speed is between -30 and 30 deg/s. The state vector is 5-dimensional and contains the pose of the rotation center of the robot, and also the linear and angular speeds: [x,y,θ,v,ω](3.12) 64
Chapter 3. Motion planning under uncertainty in graduated fidelity lattices The control vector contains the linear and angular speeds. These commands are sent to the robot at 3 Hz. The measurements are the position and the heading, with an uncertainty of Nt= 0.01 ·Iin normal conditions. However, there are location denied areas in the environments in which the robot does not receive any measurement. Within them, sensing uncertainty is Nt=∞·I. With regard to the dynamics model, it was learned from 183 s of navigation data for a simulated robot in Gazebo. Then, a set of 336 motion primitives was obtained —shown in Figure 3.6. These primitives connect states of distances 1, 2, 4, 8 and 16 in a lattice with a highest fidelity, f+, of 0.5 m. Figure 3.6: Control set used in the experiments: 336 trajectories connecting neighbors of levels 1, 2, 4, 8 and 16 —in red, blue, pink, gray and yellow, respectively. The highest fidelity, f+, is 0.5 m. 65
3.3. Results policy. The convergence of their method took 3.65 s, and the 93% of the simulated executions were collision free. On the contrary, for the plans obtained with our proposal the simulations showed that in all cases the robot was able to safely cross the narrow passage, also varying the starting point. Their method does not assume a fixed control gain along each section of the planned path. However, with their approach a different control policy has to be obtained for each homotopy class of trajectory in order to find the globally optimal solution. As a consequence, the planning times would be higher in more complex environments —i.e. the map of Figure 3.8 already contains 4 homotopy classes for the given start and goal points. Table 3.1 contains the detailed results for all the environments in this section. In all cases the planner finds the optimal solution in a few seconds. Table 3.1: Planning results for the experiments in Section 3.3 using the graduated fidelity lattice and the heuristic H2DMR. Robot dimensions are 3.0 ×0.75 m. The planner was run with ε0=1.5 and decreasing it iteratively. Column εhas the value for which the optimal solution was found. Columns “Iterations”, “Insertions” and “Time” detail the planning efficiency —nodes expanded by AD*, nodes inserted in the OPEN queue and planning time. “Cost” is the traversal time. The estimated probability of collision ( ˆpc) and the real one (pc), obtained from 1,000 simulations, are 0 in all cases. All times are in seconds. Planning Solution Problem εIterations Insertions Time (s) Cost (s) Fig. 3.7 1.05 228 1,043 0.38 68.66 Fig. 3.8(a) 1.5 252 639 0.32 132.02 Fig. 3.8(b) 1.5 659 2194 0.85 157.37 Fig. 3.8(c) 1.5 799 1,872 2.26 172.28 Fig. 3.9 1.03 684 2,595 2.18 108.27 Fig. 3.10(b) 1.06 611 1,559 0.96 131.14 3.3.1 Reliable collision check The capability of the planner to work with different robot shapes is shown in Figure 3.10. In this example the planner was run in the same environment and uncertainty conditions, but using two different shapes, a squared one with size 0.75 ×0.75 m, and another one with size 3.0×0.75 m. Approximating the former by a circle could be a reasonable assumption, but for the latter this cannot be done without drawbacks. The proposed method accurately estimates the probability of collision of the path in accordance with the real shape, which leads to the obtention of different paths in the example of Figure 3.10. Figure 3.10(a) shows the motion plan obtained for a squared robot of 72
Chapter 3. Motion planning under uncertainty in graduated fidelity lattices (a) Plan for a shape of 0.75 ×0.75 m. Figure 3.10: Influence of the robot shape in the planned paths. 73
3.3. Results (b) In blue, the path for a larger robot, of 3.0 ×0.75 m, is shown. The path that this robot would follow if its real dimensions were not taken into account is depicted is shown in orange and, in red, the most probable collisions in that situation are highlighted. The diamonds in green and red are the start and the goal points. 74
Chapter 3. Motion planning under uncertainty in graduated fidelity lattices 0.75 ×0.75 m. This robot can safely pass through the room at the center of the map after maneuvering in the narrow passage. However, for the robot of 3.0×0.75 m this maneuver would be too risky due to its dimensions. In fact, the robot collides with its right front corner even before crossing the door, while afterwards the collision involves all its right side. Our motion planner manages that and obtains for this robot a slightly longer path, but with the minimal probability of collision, shown in blue in Figure 3.10(b). Table 3.1 details the planning results for the 3.0×0.75 m shape. This example shows the relevance of taking into account the real shape, which is systematically disregarded in the state of the art. In this environment, approximating the large robot by the inscribed circle —with a diameter of 0.75 m— would result in underestimating the probability of collision, which would lead to unplanned collisions, as shown in red in Figure 3.10(b). The same happens to chance-constraint planning only using the PDFs. On the contrary, with the outer circle the probability of collision of the paths would be highly overestimated. In Figure 3.11 we show that our approach is able to reliably estimate the probability of collision and find safe paths regardless the robot shape. In this experiment the robot shape is a “T”, which makes more difficult to maneuver in narrow spaces. The planned path is similar to that of Figure 3.10(b), since the robot cannot enter through the first door due to its dimensions. However, in this case the robot has to enter the corridor completely aligned with the walls to avoid collisions with them. Similarly, the robot has to take the curve wide before crossing the doors at the top of the map. The planner finds the optimal solution in 1.38 s —525 iterations. The cost is 136.89 s, slightly higher than in the experiment of Figure 3.10(b). Whatever the kind of environment, the uncertainty in heading clearly influences the probability of collision for those robots with non-circular shapes. This is aggravated if, due to the robot dimensions, like the one in the example, slight changes in heading cause large variations in the distance to the obstacles. This is managed by the proposed method, since the probability of collision is obtained by sampling PDFs in a way that not only takes into account deviations in position, but also in heading. The estimated probability of collision, ˆpc, is correct regardless the robot dimensions, and it approximates well the real value, pc, obtained from 1,000 simulations of the planned path. Thus, reliable and safe paths are found for any shape. Fig 3.12 compares the estimation error of our method with that of other approaches [120, 197] which approximate the robot by its bounding circle. They estimate the probability of collision using the regularized gamma function, Γ(n/2,r2/2), which gives the probability 75
3.3. Results Figure 3.11: Planned path for a robot with “T” shape, of 3.0 ×2.2 m, shown in blue. The diamonds in green and red are the start and the goal points. 76
Chapter 3. Motion planning under uncertainty in graduated fidelity lattices that a sample is within rstandard deviations for a multivariate Gaussian distribution of dimension n. A challenging situation for planning is when a non-circular robot is approaching a diagonally placed obstacle —i.e. entering a corridor or turning a corner. In these situations, the reliability of the gamma function decreases due to the fact that the robot was approximated by a circle and the uncertainty in heading was not taken into account. This results in a significant error of the estimated probability of collision with respect to the real one. Instead, our method accurately approximates it with only a 1.5% of average error. Figure 3.12: Error of the probability of collision estimated with our method compared with that of the gamma function. The error was measured varying the distance between a robot with shape 3.0 ×0.75 m and a single obstacle placed diagonally with it, and for Σ=I. 3.3.2 Graduated fidelity lattice Most of the planning time, approximately a 80%, is spent in propagating the PDFs through the candidate paths and estimating their probability of collision. Diminishing the fidelity of the lattice allows to reduce the number of paths contained in the state lattice, obtaining better computation times. However, doing it in a general way affects the robustness of the system 77
3.3. Results and its capability to find near-optimal solutions. On the contrary, the proposed graduated fidelity approach allows to drastically reduce the number of analyzed paths, highly increasing the efficiency of the planner while keeping nearly the same performance. Figure 3.13 shows the lattice for the motion plan in Figure 3.7 and the results of the graduated fidelity approach. The highest fidelity is selected in those areas with more density of obstacles, such as the corridors. In those areas the octree cannot be compacted due to the different occupancy information of adjacent cells, and therefore cells tend to be small. This leads to the selection of the highest fidelity, f+, using the motion primitives with the minimum length, 0.5 m. Similarly, higher fidelities are selected when the uncertainty affects the probability of collision of the paths —i.e. maneuvering in the vicinity of obstacles. The opposite occurs in the uncluttered areas of the map. In those regions lower fidelities are selected, which significantly reduces the density of states in the lattice. Moreover, Figure 3.13: Graduated fidelity selection for an environment combining cluttered and non-cluttered areas. Areas making use of the highest fidelity are in red, while those with lower ones are in blue. This lattice corresponds to the motion plan of Figure 3.7. 78
Chapter 3. Motion planning under uncertainty in graduated fidelity lattices reducing the maneuverability in those areas has a limited influence in the cost of the solutions retrieved, while saving significant computational resources. Only near the goal an exception is made, and the whole set of actions Uis used to facilitate maneuvering in this area regardless the density of obstacles. Table 3.2 shows a comparison between the executions of the proposed planner with graduated fidelity, GF, and those of a standard state lattice planner. For the latter, the connectivity is given by the whole set of primitives. This comparison shows a significant reduction in the number of iterations of the search algorithm —an average decrease of 83.3%—, but more importantly in the number of insertions in the OPEN queue —reduced in a 88.1%. The latter highly influences the planning time, as the insertions involve propagating the PDFs and estimating the probability of collision along the candidate paths. Thus, the planning time diminished on average by 88.5% when making use of the graduated fidelity lattice. Conversely, the cost of the solutions slightly increases —an average of 6.2%— due to the selection of longer maneuvers for turning. However, when compared with the solutions provided without the graduated fidelity approach, the differences are minimal. Table 3.2: Performance comparison between the planner using the graduated fidelity lattice (GF) and a standard one. All tests were run with ε=1.0. Robot shape is 3.0 ×0.75 m. Columns “Iterations”, “Insertions” and “Time” detail the planning efficiency —nodes expanded by AD*, nodes inserted in the OPEN queue and planning time. “Cost” is the traversal time. The estimated probability of collision ( ˆpc) and the real one (pc), obtained from 1,000 simulations, are 0 in all cases. All times are in seconds. Planning Solution Problem GF Iterations Insertions Time (s) Cost (s) Fig. 3.7 ✓144 586 0.59 68.66 Fig. 3.7 ✗272 1,446 1.58 68.04 Fig. 3.8(a) ✓318 774 0.84 132.02 Fig. 3.8(a) ✗1,501 6,287 5.25 127.19 Fig. 3.8(b) ✓820 2,093 1.54 154.71 Fig. 3.8(b) ✗2,957 12,346 12.96 146.91 Fig. 3.8(c) ✓2,030 4,522 4.52 172.28 Fig. 3.8(c) ✗7,277 26,942 25.90 160.55 Fig. 3.9 ✓1,302 2,868 2.68 108.27 Fig. 3.9 ✗15,952 42,594 45.38 95.96 Fig. 3.10(b) ✓593 1,321 1.29 131.14 Fig. 3.10(b) ✗3,196 12,183 8.53 126.27 79
3.3. Results 3.3.3 Anytime search This section focuses on the capabilities of combining anytime search with a graduated fidelity lattice. This feature allows obtaining sub-optimal solutions faster and refine them later, which is desirable when using the planner in real world domains. To test this feature the planner was run with ε0=1.5, and later the parameter was iteratively decreased to refine the solution. Thus, an initial plan is retrieved in a very short time and the robot can move while the plan is improved. Table 3.3 details the results of these tests. Table 3.3: Anytime planning performance. Planner was run starting in ε0=1.5, decreasing it iteratively. Column εhas the value for which the optimal solution was found. Robot shape is 3.0 ×0.75 m. Columns “Iterations”, “Insertions” and “Time” detail the planning efficiency —nodes expanded by AD*, nodes inserted in the OPEN queue and planning time. “Cost” is the traversal time. The estimated probability of collision ( ˆpc) and the real one (pc), obtained from 1,000 simulations, are 0 in all cases. All times are in seconds. Planning Solution Problem εIterations Insertions Time (s) Cost (s) Fig. 3.7 1.5 92 484 0.15 68.78 Fig. 3.7 1.05 228 1,043 0.38 68.66 Fig. 3.8(a) 1.5 252 639 0.32 132.02 Fig. 3.8(b) 1.5 659 2194 0.85 157.37 Fig. 3.8(b) 1.15 1,032 3,152 1.40 154.71 Fig. 3.8(c) 1.5 799 1,872 2.26 172.28 Fig. 3.9 1.5 466 1,164 1.57 112.79 Fig. 3.9 1.03 684 2,595 2.18 108.27 Fig. 3.10(b) 1.5 64 225 0.12 132.98 Fig. 3.10(b) 1.06 611 1,559 0.96 131.14 The cost of the sub-optimal solutions is bounded by the value of ε, so the cost of the solution decreases in accordance with the value of the parameter. Also, the higher its value, the lower the number of iterations and insertions, and consequently the planning time. For ε=1.0 the solution retrieved is guaranteed to be optimal. While this applies to the traversal time of the path, the probability of collision is always minimized — ˆpcis always minimal, even for anytime solutions. This is because anytime search works scaling the value of the heuristic by ε, which only estimates the traversal time, not the rest of the elements of the cost function, as detailed in Section 3.2.3. It is specially noticeable the reduction in the planning times for those cases in which the heuristic is too optimistic with respect to the real cost of the path —due to the uncertainty 80
Chapter 3. Motion planning under uncertainty in graduated fidelity lattices conditions, e.g. in Figure 3.9. In those cases, finding the optimal solution is not trivial and anytime search avoids long waiting times. However, while increasing ε0speeds up the obtention of the initial solutions, it might lead to longer computational times if too many values of εare tested. This is because each time εchanges, the priorities of all the nodes in OPEN have to be updated, which can be costly depending on its number. Therefore, if there are too many nodes in OPEN it might be better to obtain a new plan from scratch, as pointed out in [125]. 3.3.4 Planning in real environments In this section we report results for a large real environment —292 ×167 m. It is a map of the Freiburg University campus built from 3D laser scans, and it was obtained from a public dataset4. The location denied areas are located around the obstacles to simulate the effect that they have on the GPS signal. Concretely, for this experiment we considered that the space of 2 m around the obstacles has high uncertainty. The motion model was that of an odometric robot. The set of motion primitives has 246 motions which connect the lattice states of distances 0, 1, 2, 4, 8 and 16. The highest fidelity, f+, is 1.0 m. Figure 3.14 shows the optimal solution for this environment. Our approach finds a valid path, and the robot is able to safely maneuver between the trees of the right. Its cost was 359.28 s and it was obtained in 34 s of planning time, after 26,972 iterations, for ε=1.05. Due to the anytime search capabilities of AD*, a first sub-optimal solution is available after 1.1 s of planning time, in 823 iterations, with a cost of 402.20 s for ε=1.5. The cluttered areas of the map do not affect the ability of the planner to find the shortest path. Nevertheless, the runtime of the planner might be slightly higher than in other experiments due to the size of the map and the cluttered areas. Finally, results for an experiment with a real robot are reported. The hardware platform was Pepper, manufactured by Softbank Robotics5. The motion primitives were obtained taking into account the dynamics model, which was obtained from 512 s of navigation data. A set of 236 actions with lengths between 0.2 and 1 m allowed the robot to move with the kinematic restrictions of an odometric motion model, with a maximum linear speed of 0.5 m/s. Figure 3.15 shows the testing set of this experiment. The map was built using a SLAM algorithm [63], and a Monte Carlo method [47] was used to localize the robot in it. The accuracy of the localization decreases when the distance to the obstacles exceeds the range 4Available at http://ais.informatik.uni-freiburg.de/projects/datasets/octomap/ 5https://www.softbankrobotics.com/emea/en/pepper 81
3.4. Discussion and final remarks 3.4 Discussion and final remarks In this chapter we have detailed a motion planning approach based on a state lattice with graduated fidelity that takes into account the kinematic restrictions, manages the motion and sensing uncertainty at planning time, and obtains the optimal solution in terms of probability of collision and traversal time. Our research has contributed to the motion planning field from different perspectives. Firstly, we have presented a deterministic sampling based method that uses the predicted uncertainty to estimate the probability of collision of the paths in a realistic manner, taking into account the robot shape. This method relies on obtaining a minimal set of samples that properly represent the PDFs for the purpose of checking collisions in the environment. Each one of these samples is a different pose that the robot might have in execution time. Hence, the uncertainty in heading is also considered for estimating the probability of collision, which results in more reliable planning solutions. In this regard, the experimental results show that our method outperforms the Gamma function, another approach to obtain this estimation which disregards the uncertainty in heading, with only a 1.5% of average error. Moreover, the planning results in different environments show that the probability of collision was reliably estimated for robots of different shapes, under different uncertainty conditions and obstacle configurations. Thus, no collisions have been reported in the 1,000 different executions of the simulated experiments, nor in the 20 executions of the real ones. Secondly, we have presented an approach to obtain a graduated fidelity state lattice. This method takes into account the obstacles in the map and the maneuverability of the robot, as well as the predicted uncertainty. With this technique the areas of the map which are challenging for planning —e.g. due to their high probability of collision or the obstacle cluttering— are represented with high fidelity and contain a higher number of candidate paths. Also, with the proposed method other regions of the map which do not present these difficulties are represented with a lower number of candidate paths. More importantly, the fidelity is selected for each group of similar maneuvers separately. This way the diversity of the connectivity between the lattice states is retained because no motions are discarded, only their length is selected according to their availability and the environment conditions. Therefore, the quality of the solutions is preserved. With this graduated fidelity approach the planning runtimes have decreased on average a 88.5% with respect to a standard lattice planner due to the lower number of iterations and insertions of the search algorithm —the visited states—, which experienced a similar reduction. 88
Chapter 3. Motion planning under uncertainty in graduated fidelity lattices Lastly, in this chapter we have introduced H2DMR, a multi-resolution heuristic that represents a low dimensional version of the motion planning problem. This heuristic estimates the cost to the goal due to the obstacles, building a grid which stores the estimated cost of traversing between each position and the goal. The resolution of the grid is selected according to the obstacles in the map, taking into account the maximum fidelity of the state lattice used for planning. The experimental results show that the multi-resolution grid is computed a 66.5% faster than the fixed-resolution counterpart, while its scalability in large environments is improved. The performance of H2DMR has been also studied, showing that the admissibility and consistency of this heuristic are retained and, in fact, the estimated costs are on average a 4% more precise than those of the fixed-resolution version. The whole motion planning approach has been validated in 21 experiments —in different environments and under a variety of uncertainty conditions, robot shapes and kinematic restrictions— that have shown its reliability and efficiency. Moreover, it has been shown that our planning approach combined with the anytime search capabilities of AD* makes it possible to obtain sub-optimal solutions faster and refine them incrementally, retaining their safety regardless of their cost. 89
CHAPTER 4 AUTONOMOUS NAVIGATION FOR UAVS MANAGING MOTION AND SENSING UNCERTAINTY In the previous chapter we have detailed the approach for motion planning under uncertainty proposed in this thesis, and we have validated it in a variety of mobile robots, focusing on 2D environments. The proposed motion planning strategy can be also used for 3D problems and systems with more complex dynamics, like UAVs. However, this requires addressing the increased dimensionality of the problem and find new strategies to obtain reasonable planning times. This chapter details the new algorithms that open the door to the obtention of plans for 3D environments in an efficient manner, as well as a whole approach for the autonomous navigation of UAVs. More concretely, in Section 4.1 the system architecture is detailed, focusing on how the different components are combined, as well as their interdependencies. Section 4.2 details new algorithms for the autonomous navigation of UAVs, and also their integration in the motion planning approach that was described in Chapter 3 —contribution C4. In particular, we present a new method for estimating the probability of collision of the PDFs and a multiresolution heuristic which work on 3D maps. In Section 4.3 we show the experimental results for a variety of environments, as well as the application of the proposed autonomous navigation system for planning routes for the reconstruction of 3D environments with a RGB-D camera —contribution C5. Finally, in Section 4.4 we conclude the chapter with some remarks.
4.1. System overview 4.1 System overview The autonomous navigation system was designed focusing on the modularity and extensibility of the resulting architecture, which is detailed in Figure 4.1, so that each component can work independently and can be developed or replaced without affecting the rest. More concretely, the developed system is comprised by several independent software modules which work in parallel and communicate between them: the waypoint generator, the motion planner, the UAV state estimation and the flight controller. For the implementation we used the widely extended Robotic Operating System framework (ROS) [165], which facilitates the communications between the different software modules and the use of different hardware configurations. Moreover, the modular and flexible architecture allows adapting the different components without affecting the rest. The state estimation module combines the UAV pose with the information of the inertial unit. The pose can be obtained from an external source, like a GPS, or be estimated by other means, such as a visual odometry algorithm which uses an on-board camera. Any localization method can be used with our system, provided that its error is bounded in time and it can be represented by a Gaussian distribution. Independently of the source, an Extended Kalman Filter combines the localization and the inertial unit measurements to improve the reliability of the estimated state. Moreover, this enhances the robustness of the system when dealing with inaccuracies and partial information. The controller tracks the planned paths, minimizing the deviations that might occur during the flight. To achieve this, it adjusts the velocity commands in real time according to the estimated state of the UAV. The design of our system is not tied to a specific vehicle. For this reason, our approach assumes that a low level controller calculates the suitable throttle for each motor given the velocity commands. The main advantage of the proposed architecture is that any of the software modules can be developed independently without affecting the others. This enables using different algorithm than the proposed ones —e.g. for the generation of waypoints or estimating the UAV state— without affecting the rest of the components. 4.1.1 Motion planner The motion planner takes as input the set of waypoints to be visited by the UAV. These can be obtained in different manners depending on the nature of the mission: for autonomous naviga- 92
Chapter 4. Autonomous navigation for UAVs managing motion and sensing uncertainty Flight controller State estimation UAV Platform Velocity controls Planned path Motion planner Motion uncertainty prediction and probability of collision estimation Graduated fidelity selection 3D multi-resolution heuristic Waypoint generator UAV state RGB-D Camera Figure 4.1: Architecture of the autonomous navigation system. The modularity of the software components makes it possible to execute the system with different configurations. tion purposes only the current location and the goal are needed, while for scene reconstruction a set of waypoints allowing to collect data without leaving unseen areas is required. As mentioned before, the autonomous navigation system for UAVs proposed in this chapter relies on the motion planning approach that was detailed in Chapter 3, which focused on 2D mobile robots. The applicability of these algorithms to 3D problems is not straightforward 93
4.1. System overview due to the impact that the increased dimensionality has in the planning efficiency. Although this section focuses on the new algorithms that we propose for planning for UAVs, a brief summary of the motion planning strategy is offered below for the sake of clarity. The motion planner obtains the path that minimizes the probability of collision and the flight time between consecutive waypoints. The outcome is the list of velocity commands that the robot has to execute to follow the plan, which are sent to the flight controller. The proposed planning approach: i) manages the motion and sensing uncertainty at planning time, predicting the probability distributions of the UAV being in each state of the path during its execution; ii) estimates the probability of collision for each path given the predicted uncertainty; iii) uses a state lattice and a graduated fidelity strategy which adapts to the obstacles in the map. The lattice states are connected by a set of motion primitives, that are obtained from the dynamics model of the UAV, and that can be computed offline for the sake of efficiency. This way of representing the state space can be seen like a graph, so the optimal path between any pair of lattice states can be found with a search algorithm. This path, due to the construction of the state lattice, is formed by the set of feasible actions connecting them. As search algorithm we used AD* [125, 171], which allows obtaining sub-optimal solutions faster than the optimal one. The parameter εof AD* acts as boundary for the cost of the sub-optimal solutions, which are refined iteratively with the information previously calculated. εcan be initially set to any sufficiently high value, which depends on the desired upper bound to the cost of the sub-optimal solutions, in order to compute the first path quickly. Algorithm 6 outlines the main steps of the motion planner —a more detailed explanation can be found in [61]. AD* explores the lattice states in an iterative manner, for which a list containing the states yet to be explored is maintained —OPEN. The states in this list are ordered according to their current cost from the start and their estimated cost to the goal, which is given by the heuristics. Our motion planner uses two different heuristics, combined by their maximum, to estimate the cost between each state and the goal. The first one, FSH [123], copes with the kinematic restrictions of the UAV considering free space, while the second one is a low-dimensional heuristic which copes with the obstacles in the map, H3DMR. Since this heuristic depends on the map, it has to be initialized every time the planner is run —Alg. 6:2—, so its efficiency is key for obtaining low runtimes. This is achieved using multi-resolution techniques which adapt the resolution of this heuristic to the obstacles in the map and reduce its obtention time 94
Chapter 4. Autonomous navigation for UAVs managing motion and sensing uncertainty Algorithm 6 Main operations of the motion planner Require: x0and xG, initial and goal states, and ε0 1: function MAIN (x0,xG,ε=ε0) 2: INITIALIZEH3DMR(x0,xG)⊲See Alg. 7 3: while ε>=1do 4: OPEN ={x0} 5: repeat 6: xa=argminx∈OPEN(cx+ε·hx) 7: for all xb∈SUCCESSORS(xa)do 8: hxb=HEURISTIC(xb)⊲See Alg. 7 9: cxb=cxa+COST(xa,xb)⊲See Alg. 8 10: OPEN =OPEN ∪{xb} 11: OPEN =OPEN −{xa} 12: until xa=xG 13: publish path(x0,xa)and decrease ε 14: return to the lowest possible, as detailed in Section 4.2.1. The inputs of the search algorithm are the initial state of the UAV, x0, and the goal, xG. AD* is initialized processing x0in the first place —Alg. 6:4. Then the algorithm processes other states iteratively until the goal is found. Firstly, the state xafor which the sum of its cost and heuristic —cxand hx, respectively— is minimum, is pulled from OPEN —Alg. 6:6. As the heuristic solely informs about the traversal time, only this term is considered for combining cxand hx, and the rest of the information is taken unchanged from cx. Secondly, in Alg. 6:7 the successors of xaare obtained from the motion primitives, using the graduated fidelity strategy that was described in Section 3.2.2. For each successor, xb, its heuristic and cost are calculated —Alg. 6:8-9—, and finally the state is inserted in OPEN to be explored in subsequent iterations. The optimal solution for the current value of εis available after reaching the goal, xG, after which the value of εis decreased —Alg. 6:13. This process is repeated to refine the current plan until the optimal one is found —this is, ε=1. Although there is no rule for decreasing the value of ε, better results are achieved if it is done at small steps [126]. 95
4.2. Motion planning for UAVs 4.2 Motion planning for UAVs In this section we describe the new algorithms for addressing autonomous navigation of UAVs that are integrated in the motion planning approach proposed in Chapter 3. Section 4.2.1 introduces a novel multi-resolution heuristic which copes with the obstacles in the map, and Section 4.2.2 describes a method for estimating the probability of collision of the UAV in a reliable manner taking into account its real dimensions and the uncertainty in heading. 4.2.1 Multi-resolution 3D heuristic H3DMR is a multi-resolution heuristic for motion planning in 3D environments. It estimates the cost to the goal taking into account the obstacles in the map, for which a 3D low-dimensional grid containing the estimated cost between each position in the map and the goal is built. To increase the efficiency of the heuristic and improve its scalability in large environments, the resolution of the grid adapts to the obstacles in the map. Since the precision of the heuristics affects the efficiency and the performance of the motion planner, the resolution of the H3DMR also takes into account the fidelity of the lattice used for planning. Moreover, as already mentioned in Section 4.1, this heuristic is combined with FSH, which improves the precision of the estimations due to coping with the kinematic restrictions of the UAV. Algorithm 7 details how H3DMR is calculated. The inputs are the beginning position and the goal state of the UAV, q0and qG; and the maximum fidelity of the state lattice, f+. The grid is obtained applying the Dijkstra’s algorithm, starting in qG. Generating the grid backwards allows storing the estimated cost between every position and the goal, which is easily queried later and used as heuristic for planning. As stopping condition we used the double of the cost between the starting position, q0, and the goal —Alg. 7:4. This is done for efficiency purposes, since the areas with higher costs are unlikely to be interesting for planning. The algorithm stores all the positions to be explored in the OPEN queue, and it iteratively selects the position with the lowest cost from qG—Alg. 7:5-6— to generate its neighbors, which are processed in subsequent iterations. The neighbors of a position qare obtained from the free space cells adjacent to κ, the one containing q—Alg. 7:7. This way they go in accordance with the resolution of the map. Moreover, with the goal of adapting the resolution of the grid to the maximum fidelity of the state lattice, f+, each cell κ′adjacent to κis 96
Chapter 4. Autonomous navigation for UAVs managing motion and sensing uncertainty Algorithm 7 H3DMR Require: f+, highest fidelity of the state lattice Require: q0and qG, initial and goal positions of the UAV 1: function INITIALIZEH3DMR(q0,qG) 2: cqG=0; cq0=∞ 3: q=qG 4: while cq>2·cq0do 5: q=argminq∈OPEN(cq) 6: OPEN =OPEN −{q} 7: κ=cell(q) 8: for all κ′∈ad jacent(κ)do 9: if size(κ′)>f+then 10: INSERTSUBCELLS(q,κ′) 11: else 12: κ′′ =ad just(κ′,f+) 13: q′=position(κ′′) 14: if collisionBetween(q,q′)then 15: INSERTSUBCELLS(q,κ′′) 16: else 17: c(q′)=cq++q′−q+ 18: OPEN =OPEN ∪{q′} 19: function INSERTSUBCELLS(q,κ) 20: for all k′′ ∈subcells(κ′)do 21: if κ′′ not adjacent to κthen 22: continue 23: q′=position(κ′′) 24: cq′=cq++q′−q+ 25: OPEN =OPEN ∪{q′} 26: function H3DMR(x) 27: κ=cell(x) 28: K={κ∪adjacent(κ)} 29: Q={qinside K|qposition of the grid } 30: return argminq∈Q(+x−q++cq) 31: function HEURISTIC(x) 32: return max(H3DMR(x),FSH(x)) 97
4.3. Results Pelican7equipped with a RGB-D camera, the Orbbec Astra Pro8, which has VGA resolution at 30 FPS for both the depth and RGB information. We used the publicly available implementations of the ORB-SLAM2 [140] algorithms to localize the UAV in the environment, and KinectFusion [145] to obtain a 3D model from the data gathered during the flight. For collision check purposes we have approximated the UAV as a 0.5×0.5×0.4 m cuboid, which includes the space occupied by the RGB-D sensor and the propellers. During the experiments we used several localization techniques with different uncertainties. In Section 4.3.1 we relied on a motion capture system, while in Sections 4.3.2 and 4.3.3 we used the RGB-D camera and the publicly available implementation of ORB-SLAM2 [140], a visual-based SLAM system which uses loop closure to limit the long term drift and to keep the localization errors bounded. Moreover, in Section 4.3.3 KinectFusion [145] was used to obtain a dense 3D model from the data gathered with the RGB-D camera during the flight. The UAV controller and the state estimation algorithm are run in the on-board computer, which has a CPU Intel AtomTM x5-Z8300 at 1.84 GHz, while the motion planner, the visual odometry and the 3D reconstruction algorithms are run in a laptop with CPU Intel CoreTM i7-4720 at 2.6 GHz. The state vector of the UAV contains the position of its center of rotation, the heading and the current linear and angular speeds in each axis: $x,y,z,ϕ,ψ,θ,vx,vy,vz,vϕ,vψ,vθ%(4.5) The control vector, on the other hand, contains the variables that can be managed for a multirotor system. These are the desired linear speeds in each dimension, and the angular speed in the vertical axis: [ux,uy,uz,uω](4.6) The UAV motions are represented with acceleration based equations. The dynamics model was obtained from 24 min and 18 s of real flight data, recorded prior to the experiments described in this section, as described in [1]. Thus, the real behavior of the UAV to the different velocity commands was learned. Finally, the set of motion primitives used for planning purposes was obtained from the dynamics model, following the method described in [70]. In order to represent a variety of maneuverability restrictions, different motion primitives were used for each experiment despite the fact that the UAV dynamics model was the same. 7http://www.asctec.de/en/uav-uas-drones-rpas-roav/asctec-pelican/ 8https://orbbec3d.com/product-astra-pro 104
Chapter 4. Autonomous navigation for UAVs managing motion and sensing uncertainty 4.3.1 2D autonomous navigation We tested the reliability and the precision of the autonomous navigation approach in a cluttered environment of 5 ×4 m with several narrow passages. For this experiment the set of motion primitives was comprised of 3,316 actions which connected states between 0.2 m and 0.8 m. With these motion primitives the UAV was allowed to move forward and laterally at a maximum of 0.7 m/s, and rotate at a maximum of 30 deg/s. Motion and sensing uncertainty were Mt=0.08 ·Iand Nt=0.006 ·I, respectively. The UAV state was estimated combining the information of the inertial unit with the position given by an external motion capture system. The use of the RGB-D camera for this experiment was discarded due to the limitations of the depth sensor —its optimal range is from 0.6 m to 5 m. Moreover, in this experiment the UAV navigates at a minimum distance to the obstacles of only 0.11 m, which requires a very precise localization. There are several waypoints in the map that the UAV has to visit, ordered by number, starting and ending the route in the number 0. The maximum altitude was limited to 1.0 m, so that the planned paths go through the obstacles instead of surpassing them from above. The controller makes a request to the motion planner to calculate the path to the next waypoint when the UAV is approaching the current goal. Due to the efficiency of the motion planning approach, these paths can be obtained on-demand during the flight without causing delays. Figure 4.4 shows the route followed by the UAV in 20 different executions of the experiment. As it can be seen, the predicted distributions adjust well to the real UAV state. The average deviation of the UAV during the 20 executions was 6.4 cm. This scenario is challenging because of the proximity between the UAV and the obstacles. The minimum distance between them is as low as 11 cm in some points of the route, so reliable plans —in terms of estimated probability of collision— and precision in the control are required to avoid collisions. Our motion planner achieves this by reducing the speed of the UAV in those maneuvers which could affect the safety of the flight, e.g. just before passing between the obstacles in the middle of the map. This way the UAV stabilizes itself and can approach the obstacles in a safe manner, minimizing the overall probability of collision. In fact, in the 20 executions of this experiment no accidental collisions were reported. However, this would not be possible if both the kinematic restrictions and the uncertainty were not considered at planning time. In fact, in this kind of narrow passages those approaches that obtain a coarse high level solution would have to evaluate in situ the feasibility of the operation and either rely on their low level planner or being conservative and find an alternative path, if it 105
4.3. Results Figure 4.4: 20 different executions of our autonomous navigation approach in a cluttered environment. The followed routes are in blue, obstacles are in black, and waypoints are in yellow. The UAV takes off in 0, then visits 1, 2, 3, goes back to 0 and lands. Ellipses show 3·Σof the predicted distributions. exists. For both approaches the safety and cost of the solution cannot be quantified in advance, which might limit their suitability in some cases. In a similar manner, those approaches that consider the kinematic restrictions but not the uncertainty at planning time cannot offer any optimality guarantees regarding the safety of the plans. Instead, our approach is able to obtain reliable solutions that are optimal both in terms of safety and traversal time before the UAV starts moving. Table 4.1 details the planning results for this experiment. All the solutions are obtained within seconds, so the UAV can navigate between points without noticeable delays. The total cost of the route —the time the UAV is navigating between waypoints— is 119.6 s, although the execution time is slightly higher because the UAV stabilizes itself for a couple of seconds at each waypoint9. 9A video recording of this experiment is available at https://youtu.be/HTCd3cwix60. 106
Chapter 4. Autonomous navigation for UAVs managing motion and sensing uncertainty Table 4.1: Planning results for the navigation experiment of Figure 4.4. Column “Iterations” is the number of iterations of AD*, “Insertions” is the number of nodes inserted in OPEN, and “Time” is the planning time. “Cost” is the traversal time of the planned path, and “Min dist.” is the minimum distance to the obstacles, in meters. All times in seconds. Planning Solution Path Iterations Insertions Time Cost Min dist. 0-1 194 1,584 2.4 18.5 0.11 1-2 160 1,549 2.9 17.2 0.16 2-3 428 3,540 7.3 29.0 0.15 3-0 385 2,906 6.1 16.9 0.18 TOTAL 1,167 9,579 18.7 119.6 — 4.3.2 3D autonomous navigation We have also tested our autonomous navigation approach in an environment of 8 ×4×2 m with obstacles at different altitudes, which compelled the UAV not only to navigate between them, but also to change its altitude while moving. For this experiment the UAV state was estimated from the on-board RGB-D camera, using ORB-SLAM2 [140] with loop closure, combined with the inertial unit using an Extended Kalman Filter. Due to the minimum range of the depth sensor, the UAV cannot approach the obstacles closer than 0.6 m on its front side. For this reason, for motion planning purposes we have defined the UAV shape taking into account the additional distance which is needed for data acquisition. In this experiment the set of primitives used for planning included 1,700 motions which allowed the UAV to move forward, rotate and change its altitude. These motions connected states of distances 0.25 m, 0.5 m and 1 m, so the maximum fidelity is 0.25 m. Motion uncertainty was that of Section 4.3.1, while for this experiment sensing uncertainty was Nt=0.05 ·I. The map of the environment was obtained beforehand from a handheld RGB-D camera, using ORB-SLAM2 and OctoMap [69] to store the result. In execution time, the map was updated at 1 Hz with the latest measurements of the RGB-D camera. Figure 4.5(a) shows a 2D view of the final map and the distribution of the waypoints. Moreover, it details the results of 20 different executions of the UAV following the planned paths, and how well the predicted distributions adjust to the true UAV state. The average deviation of the UAV during these executions was 12.3 cm. There are several structures formed by vertical columns that the UAV has to cross. These columns are bonded by horizontal strips placed at different altitudes, and the planned paths have to surpass them from above or from below depending on their position and the predicted motion uncertainty. 107
4.3. Results (a) 2D view of the executions of this experiment. The obstacles are in black, while the waypoints are numbered in yellow. Ellipses show 3·Σof the predicted distributions. (b) 3D view of the executions, in orange, focusing on the path between waypoints 0-1. Figure 4.5: Executions of the planned paths in a 3D environment, avoiding obstacles at different altitudes. The different routes followed by the UAV are in orange, while the waypoints and directions of motion are in yellow. The cells of the map are colored between blue and green, depending on their altitude. Detailed planning results are shown in Table 4.2. 108
Chapter 4. Autonomous navigation for UAVs managing motion and sensing uncertainty (c) Detail of the executions of the planned route between waypoints 1-2. (d) Executions of the planned path between waypoints 2-3-4. 109
4.3. Results Figure 4.5(b) shows the path to the first waypoint, which avoids the horizontal strip from above to take advantage of the vertical speed acquired during the takeoff. After that, the UAV descends again to reach the first waypoint, which is located between the two first obstacles. The second path, shown in Figure 4.5(c), goes through the second pair of columns, but before crossing them the UAV has to change its heading, because only motions in the direction of the camera view are allowed. These kind of turnings are challenging because of the motion and sensing uncertainty. In fact, the UAV does not remain in a stable position while executing these maneuvers because of the inaccuracies of the estimated state, so the controller has to correct the possible deviations to avoid collisions. This is taken into account by the motion planner, which copes with this situation leaving enough time to stabilize the UAV before approaching the obstacles. As shown in Figure 4.5(d), after going through the second pair of columns, the UAV goes to the third waypoint, which is on the top of an obstacle with irregular shape. Finally, it goes to the goal, which is beyond the final structure. To achieve it, the UAV changes its heading again and then descends enough to surpass the horizontal strip from below. Table 4.2 contains the detailed planning results for this experiment. The map used for planning purposes was obtained a priori and updated in real time at 1 Hz while the UAV was moving. There were several waypoints that the UAV had to visit consecutively, and each path was obtained before reaching its starting point. The reported planning times allowed the UAV to execute all the routes without delays10. Table 4.2: Planning results for the 3D autonomous navigation experiment of Figure 4.5. Column “Iterations” is the number of iterations of AD*, “Insertions” is the number of nodes inserted in OPEN, and “Time” is the planning time. “Cost” is the traversal time of the resulting path. All times in seconds. Planning Solution Path Iterations Insertions Time Cost 0-1 24 297 2.78 15.08 1-2 23 569 4.63 15.13 2-3 55 841 6.70 15.97 3-4 86 1,569 9.4 20.98 TOTAL 188 3,276 23.51 67.16 10 A video recording of this experiment is available at https://youtu.be/xephfR35PYo. 110
Chapter 4. Autonomous navigation for UAVs managing motion and sensing uncertainty 4.3.3 Autonomous navigation for scene reconstruction In this section we report results for the generation of trajectories to achieve the autonomous reconstruction of a real scene. The goal is to obtain an accurate 3D model without manually controlling the UAV. Like in the experiment of Section 4.3.2, the UAV state was estimated with the on-board RGB-D camera, using ORB-SLAM2 with loop closure, and the inertial unit. For the scene reconstruction we used the KinectFusion [145] algorithm. The uncertainty conditions were the same as in the experiment of Section 4.3.2. The autonomous navigation module takes as input the dimensions of the scene to be reconstructed and obtains a set of waypoints for the data acquisition. These waypoints guide the flight of the UAV in horizontal layers from one side of the scene to another, increasing the altitude at regular intervals. Like in the other experiments, the paths between waypoints are planned on demand, so the next one is obtained just before arriving to the current goal. However, in this case the navigation is done without prior knowledge of the map. The occupancy data, stored in the multi-resolution map, is updated in real time and used not only for planning purposes, but also to check collisions in the current path. If this is the case, the motion planner would obtain a new collision free plan taking into account the new obstacles. The UAV has to move in a smooth and consistent manner to successfully obtain the reconstruction. This is because KinectFusion [145], like many other reconstruction algorithms, relies on Iteratively Closest Point (ICP) techniques —matching the current depth scan with the previous ones to incrementally build a consistent model. Our autonomous navigation approach is key to guarantee a successful reconstruction as, unlike other strategies, it manages the uncertainty, the kinematic restrictions and the controller all together, generating paths that ensure smooth camera motions. This experiment consisted in the autonomous reconstruction of a scene of 2.5×0.75 m with objects of different sizes, which is shown in Figure 4.6(a). The reconstruction algorithm was able to obtain a dense model with a high level of detail, shown in Figure 4.6(b), with no holes in the surfaces that were directly seen by the RGB-D camera. The accuracy of the reconstruction is shown in Table 4.3, which compares some distance measurements of the objects in the real scene —labeled in Figure 4.6(a)— to their counterparts in the obtained model. The error was, on average, of 1.08% with a standard deviation of 0.71%. The overall accuracy of the reconstruction is very high, with errors as low as 1 mm. The highest error was measured in the height of the orange columns —which were overestimated between 2.5 and 4 cm, which is around a 2% of their real size. This was caused by limiting the altitude 111
4.3. Results (a) Real environment for the autonomous reconstruction experiment. The green labels are the distance measurements to show the accuracy of the obtained model, as detailed in Table 4.3. (b) Render of the point cloud resulting from the dense reconstruction algorithm applied to the real environment in a). Figure 4.6: Autonomous dense reconstruction of a scene with a UAV and a RGB-D camera. 112
Chapter 4. Autonomous navigation for UAVs managing motion and sensing uncertainty Table 4.3: Distance measurements taken in the real scene compared to their counterparts in the reconstructed model, showing the accuracy of the 3D scene reconstruction. The highlighted measurements are those with the minimum and maximum error. All distances in centimeters. Distance Reconstruction Real Error A 30.9 31.0 0.32% B 203 200.5 1.25% C 59.7 60.0 0.50% D 31.1 31.0 0.32% E 204.5 200.5 2.00% F 29.6 30.3 2.31% G 203.7 200.5 1.60% H 23.7 24.0 1.25% I 54.3 53.2 2.07% J 34.1 34.6 1.45% K 177.3 177.5 0.11% L 33.6 34.3 2.04% M 107.8 106.5 1.22% N 24.9 25.0 0.40% O 24.8 25.0 0.80% P 30.2 30.3 0.33% Q 130.4 129.8 0.46% R 30.8 31.0 0.65% S 203.5 200.5 1.50% of the flight, which prevented the RGB-D camera from taking measurements from above the columns. The set of motion primitives of this experiment was comprised of 492 actions which allowed the UAV to change its altitude, move forward and laterally. The speed was limited to 0.3 m/s, which was suitable for the purpose of scene reconstruction. Several routes were planned to acquire the data for the reconstruction. Concretely, the UAV went from side to side three times and changed its altitude twice. Planning results are detailed in Table 4.4. The total cost of the obtained routes was 34.09 s, although the duration of the flight is longer because of stabilizing the UAV at the end of each path11. Something to take into consideration is that the heuristic H3DMR has to be re-calculated every time the map changes, although operating in real time is not an issue due to the reduced planning times. In fact, due to its efficiency, H3DMR is obtained on average in 94 iterations and less than 40 ms. 11 A video recording of this experiment is available at https://youtu.be/1UAwEXGYBOA. 113
of moving between each position and the goal. The resolution of this grid is selected according to the obstacle configuration and taking into account the maximum fidelity of the state lattice. The experimental results of Section 3.3.5 show that this heuristic is computed on average a 65.5% faster than the analogue one which uses a fixed resolution grid, and its scalability in large environments is improved as well. At the same time, the proposed heuristic is on average a 4% more precise than the fixed-resolution one, while it retains its admissibility and consistency properties, needed for guaranteeing the optimality of the solutions. In Chapter 4 we have addressed the application of the proposed motion planning approach for the autonomous navigation of UAVs. This chapter has also detailed the new developed algorithms that deal with the increased dimensionality of the search problem, as well as their validation in real experiments. The contributions can be summarized as follows: •In Section 4.1 we have presented a flexible architecture for the autonomous navigation of UAVs which has integrated the developed motion planning algorithms with a feedback controller and a state estimation system. Extending the problem of motion planning under uncertainty to 3D environments required developing a new heuristic and a new method for estimating the probability of collision to maintain reasonable planning times. In this regard, Section 4.2.1 detailed how the connectivity of the grid used by the multi-resolution heuristic has been redefined to reduce the density of arcs between adjacent cells while maintaining their diversity. Moreover, in Section 4.2.2 the method for estimating the probability of collision sampling the PDFs has been adapted to reduce the number of extremely low likelihood poses while maintaining a good coverage for collision check purposes. The experimental results of Sections 4.3.1 and 4.3.2 show that the efficiency of the motion planner has enabled the UAV to navigate autonomously without delays. We have conducted flying experiments in 3 different environments and motion models, using a visual SLAM algorithm for the UAV state estimation and showing the capabilities of the proposed system. Each experiment was repeated several times to validate the method for estimating the probability of collision. In this regard, no collisions have been reported during the execution of the plans, and the LQG controller has been able to produce a stable flight while accurately tracking the planned routes. •From a practical point of view, the proposed autonomous navigation system has been used for the autonomous reconstruction of 3D scenes using a RGB-D camera —Section 120
Chapter 5. Conclusions 4.3.3. The proposed system has been used for the generation of trajectories for obtaining a dense model using the KinectFusion algorithm. Results for this experiment show that the average measured reconstruction error was of 1.08%. 5.1 Current and future work As a result of the work developed in this thesis, some directions of research that might be worthy to explore have been identified. These ideas focus on further improving the efficiency of the proposed motion planning approach and expanding the applicability of the autonomous navigation strategy to other real world problems. On the one hand, the motion planner is currently limited to obtaining new solutions from scratch. Although replanning is allowed by AD*, properly integrating this feature would require identifying the candidate paths which are affected by any map changes and modifying the state lattice fidelity in accordance with the last occupancy information. Moreover, due to these modifications, the uncertainties and probabilities of collision of all the affected paths would have to be recomputed, which apart from being computationally expensive is an order sensitive operation. Future research will attempt to find a strategy for minimizing and prioritizing these fidelity changes while retaining the performance of the motion planner, as well as defining the conditions under which it is less computationally expensive to plan from scratch than trying to replan with the information that has been already computed. On the other hand, from a practical point of view, it would be interesting to extend the proposed autonomous navigation architecture to support sensors of other kinds. In this thesis a RGB-D camera has been used for estimating the state of the UAV during the flight, mainly due to its suitability for indoor tests, its low price and the availability of open source visual SLAM algorithms. However, RGB-D cameras are based on an active ranging strategy which relies on emitting infrared light and measuring its Time of Flight in different points to build a 3D mesh of the obstacles within the camera field of view. The main limitations of RGB-D cameras are their operating range —usually between 0.5 m and 8 m—, the interferences due to natural light and the inaccurate measurements in presence of objects with reflective surfaces. Nowadays there are some high quality, lightweight, low cost alternatives —like stereo or monocular cameras— that could be used to address these issues and enable operating the UAV in environments where active ranging sensors are not suitable. The proposed architecture is flexible enough to allow this without introducing substantial changes in the controller and 121
5.2. Socially aware motion planning planning modules. Notwithstanding, it is necessary to describe proper measurement models to integrate these systems with the uncertainty prediction method. 5.2 Socially aware motion planning In a context of growing presence of robotic systems that address an increasing number of practical applications, navigating in environments shared with humans has become especially relevant. This problem has to be formulated not uniquely from the robot perspective of how to react to human presence, but also from the opposite point of view: what is this robot expected to do? In this regard, the robot should behave in a predictable, socially acceptable manner, avoiding to approach humans or execute motions in such a way that might make them feel startled or uncomfortable. This problem has received an important attention from the research community as humanrobot interaction has become increasingly frequent. Recent work in this field that might be used to improve the quality of the motion plans from this perspective include: i) human-robot proxemics [109, 133, 190, 202, 203], which analyzes human reactions to robots in different contexts, and ii) human aware motion planning [104, 170, 183]. The reasons given in Chapter 1 for supporting the necessity of taking into account the motion uncertainty are extensible to navigating in social environments. In this regard, some approaches considered a certain degree of stochasticity in both the robot and human trajectories simulating the different actions that they might take in an immediate time horizon [135]. Others relied on obtaining a socially acceptable navigation behavior from examples [32] with the goal of replicating a human-like behavior. Despite the good results obtained, most approaches have dealt with this problem in such a way that no optimality guarantees in regards to the quality of the paths can be provided, since they have focused on planning only for an immediate time horizon. Thus, it is interesting to extend the motion planning approach proposed in this thesis to produce optimal and socially aware global plans while coping with the robot state uncertainty. An idea that might be worthy to explore would be integrating the theory of human-robot proxemics in the evaluation of the candidate paths. In this regard, we have taken some preliminary steps in extending the probability of collision estimation method. The same set of samples that check for collisions with the map has been used to measure the acceptability of a given human-robot context. The cost for each sample is obtained from its distance to the nearest human and the category into which that 122
Chapter 5. Conclusions distance falls according to the interpersonal proxemic distances theory [65, 106] —intimate, personal, social or public distance. Then, the costs of the different samples are combined in accordance with its probability in the distribution that represents the robot state. This measure is easily integrated in our motion planning approach as an additional criterion of the cost function, which is optimized by Anytime Dynamic A* after the probability of collision but before the traversal time. Current and future research will include considering the vehicle dimensions for evaluating the robot-human positioning, as the robot size affects how people perceive the robot, according to some studies [109, 190]. Another direction of research would consist in also evaluating the paths taking into account the direction of motion of the robot with respect to that of the people around it. This also impacts how humans perceive and react to the robot presence [201] and could be used for the benefit of the navigation in crowded environments [105]. Our approach already takes into account the robot heading and dimensions for planning purposes, and therefore these improvements might be easily integrated in our algorithms. The final purpose of this socially aware motion planning approach would be the obtention of plans that, apart from prioritizing the safety of the autonomous navigation, allow the robot to move in the presence of humans in such a way that they could describe as natural. As a result of considering the predicted uncertainty in this matter, the solutions would have a human-robot navigation distance adapted to the different circumstances. 123
Bibliography [1] Pieter Abbeel. Apprenticeship learning and reinforcement learning with application to robotic control. Stanford University, 2008. [2] Pieter Abbeel, Varun Ganapathi, and Andrew Y. Ng. Learning vehicular dynamics, with application to modeling helicopters. In Advances in Neural Information Processing Systems (NIPS), volume 18, pages 1–8. MIT Press, 2006. [3] Chaouki Abdallah, Darren M Dawson, Peter Dorato, and Mohammad Jamshidi. Survey of robust control for rigid robots. Control Systems Magazine, 11(2):24–30, 1991. [4] Swiss Post AG. Drones, a vision has become reality. Available at: https://www.post.ch/en/about-us/innovation/innovationsin-development/drones. (Online; Accessed on Sept. 18, 2019). [5] Randa Almadhoun, Tarek Taha, Lakmal Seneviratne, Jorge Dias, and Guowei Cai. A survey on inspecting structures using robotic systems. International Journal of Advanced Robotic Systems, 13(6):1–18, 2016. [6] Ron Alterovitz, Thierry Sim´ eon, and Ken Goldberg. The stochastic motion roadmap: A sampling framework for planning with Markov motion uncertainty. In Robotics: Science and Systems, pages 246–253, 2007. [7] David A. Anisi, Johan Hamberg, and Xiaoming Hu. Nearly time-optimal paths for a ground vehicle. Journal of Control Theory and Applications, 1:2–8, 2003. [8] Karl J Astrom. Optimal control of markov processes with incomplete state information. Journal of Mathematical Analysis and Applications, 10(1):174–205, 1965.
Bibliography [9] M. Athans and P. Falb. Optimal Control. McGraw-Hill, 1966. [10] J. A. Bagnell and J. G. Schneider. Autonomous helicopter control using reinforcement learning policy search methods. In IEEE International Conference on Robotics and Automation (ICRA), volume 2, pages 1615–1620, 2001. [11] Haoyu Bai, David Hsu, Wee Sun Lee, and Ngo Anh Vien. Monte carlo value iteration for continuous-state pomdps. In Algorithmic Foundations of Robotics IX - Selected Contributions of the Ninth International Workshop on the Algorithmic Foundations of Robotics (WAFR), pages 175–191, 2010. [12] J´ erˆ ome Barraquand, Lydia E. Kavraki, Jean-Claude Latombe, Tsai-Yen Li, Rajeev Motwani, and Prabhakar Raghavan. A random sampling scheme for path planning. International Journal of Robotics Research, 16(6):759–774, 1997. [13] J´ erˆ ome Barraquand, Bruno Langlois, and Jean-Claude Latombe. Numerical potential field techniques for robot path planning. IEEE Transactions on Systems, Man, and Cybernetics, 22(2):224–241, 1992. [14] J´ erˆ ome Barraquand and Jean-Claude Latombe. Robot motion planning: A distributed representation approach. International Journal of Robotics Research, 10(6):628–649, 1991. [15] Richard Bellman. A markovian decision process. Journal of Mathematics and Mechanics, pages 679–684, 1957. [16] Dmitry Berenson, Thierry Sim´ eon, and Siddhartha S. Srinivasa. Addressing cost-space chasms in manipulation planning. In IEEE International Conference on Robotics and Automation (ICRA), pages 4561–4568, 2011. [17] Dimitri Bertsekas. Dynamic programming and optimal control, volume 1. Athena scientific Belmont, MA, 1995. [18] Robert Bohlin. Path planning in practice; lazy evaluation on a multi-resolution grid. In IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), pages 49–54, 2001. [19] Robert Bohlin and Lydia E. Kavraki. Path planning using lazy PRM. In IEEE International Conference on Robotics and Automation (ICRA), pages 521–528, 2000. 126
Bibliography [20] Michael S. Branicky, Ross A. Knepper, and James J. Kuffner. Path and trajectory diversity: Theory and algorithms. In IEEE International Conference on Robotics and Automation (ICRA), pages 1359–1364, 2008. [21] Michael S. Branicky, Steven M. LaValle, Kari Olson, and Libo Yang. Quasirandomized path planning. In IEEE International Conference on Robotics and Automation (ICRA), pages 1481–1487, 2001. [22] Douglas A Bristow, Marina Tharayil, and Andrew G Alleyne. A survey of iterative learning control. Control Systems Magazine, 26(3):96–114, 2006. [23] Alex Brooks, Alexei Makarenko, Stefan B. Williams, and Hugh F. Durrant-Whyte. Parametric pomdps for planning in continuous state spaces. Robotics and Autonomous Systems, 54(11):887–897, 2006. [24] Rodney A. Brooks and Tom´ as Lozano-P´ erez. A subdivision algorithm in configuration space for findpath with rotation. In International Joint Conference on Artificial Intelligence, 1983. [25] Rodney A. Brooks and Tom´ as Lozano-P´ erez. A subdivision algorithm in configuration space for findpath with rotation. IEEE Transactions on Systems, Man, and Cybernetics, 15(2):224–233, 1985. [26] Adam Bry and Nicholas Roy. Rapidly-exploring random belief trees for motion planning under uncertainty. In IEEE International Conference on Robotics and Automation (ICRA), pages 723–730, 2011. [27] Arthur E. Bryson and Yu-Chi Ho. Applied Optimal Control: Optimization, estimation and control. Hemisphere Publishing, 1975. [28] Guowei Cai, Jorge Dias, and Lakmal Seneviratne. A survey of small-scale unmanned aerial vehicles: Recent advances and future development trends. Unmanned Systems, 2(02):175–199, 2014. [29] Salvatore Candido and Seth Hutchinson. Minimum uncertainty robot navigation using information-guided POMDP planning. In IEEE International Conference on Robotics and Automation (ICRA), pages 6102–6108, 2011. [30] John Canny. The complexity of robot motion planning. MIT press, 1988. 127
Bibliography [31] Brodie Chan, Hong Guan, Jun Jo, and Michael Blumenstein. Towards uav-based bridge inspection systems: A review and an application perspective. Structural Monitoring and Maintenance, 2(3):283–300, 2015. [32] Yu Fan Chen, Michael Everett, Miao Liu, and Jonathan P How. Socially aware motion planning with deep reinforcement learning. In IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), pages 1343–1350, 2017. [33] Peng Cheng and Steven M. LaValle. Resolution complete rapidly-exploring random trees. In IEEE International Conference on Robotics and Automation (ICRA), pages 267–272, 2002. [34] Benjamin Coifman, Mark McCord, Rabi G Mishalani, Michael Iswalt, and Yuxiong Ji. Roadway traffic monitoring from an unmanned aerial vehicle. In IEE Proceedings- Intelligent Transport Systems, volume 153, pages 11–20, 2006. [35] Xunta de Galicia Conseller´ ıa de Econom´ ıa, Empleo e Industria. La Xunta licita un pionero sistema para asistir con la ayuda de drones a los peregrinos que sufran una parada cardiorrespiratoria. Sept. 2019. (Online; Accessed on Sept. 18, 2019). [36] Joseph C. Culberson and Jonathan Schaeffer. Pattern databases. Computational Intelligence, 14(3):318–334, 1998. [37] M. Montemerlo D. Dolgov, S. Thrun and J. Diebel. Path Planning for Autonomous Driving in Unknown Environments, page 55–64. Springer, 2009. [38] Carl De Boor. A Practical Guide to Splines, volume 27 of Applied Mathematical Sciences. Springer-Verlag New York, 1978. [39] Lester E Dubins. On curves of minimal length with a constraint on average curvature, and with prescribed initial and terminal positions and tangents. American Journal of Mathematics, 79:497–516, 1957. [40] Milan Erdelj, Enrico Natalizio, Kaushik R. Chowdhury, and Ian F. Akyildiz. Help from the sky: Leveraging uavs for disaster management. IEEE Pervasive Computing, 16(1):24–32, 2017. 128
Bibliography [41] Tom Erez and William D. Smart. A scalable method for solving high-dimensional continuous pomdps using local approximation. In Twenty-Sixth Conference on Uncertainty in Artificial Intelligence (UAI), pages 160–167, 2010. [42] Lawrence H. Erickson and Steven M. LaValle. Survivability: Measuring and ensuring path diversity. In IEEE International Conference on Robotics and Automation (ICRA), pages 2068–2073, 2009. [43] Carlos Alphonso F Ezequiel, Matthew Cua, Nathaniel C Libatique, Gregory L Tangonan, Raphael Alampay, Rollyn T Labuguen, Chrisandro M Favila, Jaime Luis E Honrado, Vinni Canos, Charles Devaney, et al. Uav aerial imaging applications for postdisaster assessment, environmental management and infrastructure development. In IEEE International Conference on Unmanned Aircraft Systems (ICUAS), pages 274– 283, 2014. [44] Timm Faulwasser, Benjamin Kern, and Rolf Findeisen. Model predictive pathfollowing for constrained nonlinear systems. In IEEE Conference on Decision and Control (CDC), pages 8642–8647, 2009. [45] Dave Ferguson and Anthony Stentz. Anytime rrts. In IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), pages 5369–5375, 2006. [46] Gerardo Flores, Shuting Zhou, Rogelio Lozano, and Pedro Castillo. A vision and GPS-based real-time trajectory planning for a MAV in unknown and low-sunlight environments. Journal of Intelligent & Robotic Systems, 74(1-2):59–67, 2014. [47] Dieter Fox, Wolfram Burgard, Frank Dellaert, and Sebastian Thrun. Monte carlo localization: Efficient position estimation for mobile robots. In Sixteenth National Conference on Artificial Intelligence and Eleventh Conference on Innovative Applications of Artificial Intelligence (AAAI), pages 343–349, 1999. [48] Thierry Fraichard and J-M Ahuactzin. Smooth path planning for cars. In Proceedings 2001 ICRA. IEEE International Conference on Robotics and Automation (ICRA), pages 3722–3727, 2001. [49] Thierry Fraichard and Alexis Scheuer. From reeds and shepp’s to continuous-curvature paths. IEEE Transactions on Robotics, 20:1025–1035, 2004. 129