@unpublished{upm66991, title = {Dynamic analysis of the alternating tripod gait of a hexapod robot with C-legs}, year = {2020}, school = {Industriales}, author = {Jorge de Le{\'o}n Rivas}, month = {December}, url = {https://oa.upm.es/66991/}, abstract = {Conventional locomotion systems (wheels or tracks) have dominated terrestrial robotics since its inception, however, during the last two decades due to the limitation of robots with conventional systems to navigate on uneven terrain or overcoming obstacles, robots with legs have begun to have a great development. However, robots with legs present greater complexity both, in their mechanical design and in the control algorithms, because they need to constantly calculate that the center of gravity is located within the polygon formed by the legs in contact with the ground. Putting together the strengths of each of the traction systems, the conventional ones for their mechanical simplicity and the leg systems their ability to navigate any type of terrain, a new family of robots called C-legs emerged. The first robot of this family was developed in 2001 and involved a total of fourteen universities in North America under a program funded by DARPA. However, despite the success in the development of this platform, there are not many current developments that follow this line of research. During the develop of this thesis a study of search and rescue tasks where different ground robots have intervened has been carried out, although in the vast majority of cases, with conventional traction systems. Analyzing the number of successes and failures, and the reasons of the failures, it was decided to investigate the use of a C-Legs robot for search and rescue tasks, because its small size and the dexterity that its legs give it, generate expectations that the success rate of ground robots in search and rescue tasks can be increased. To do this, this thesis begins by analyzing the different platforms that have been developed. In order to develop a new C-legs platform, it has to must meet a series of premises like the replicability, simple manufacturing, great resistance to impacts and, of course, the ability to overcome obstacles such as steps. Once its design had been validated and the robot had been built, the thesis set out to analyze its movement capabilities, for this purpose, the method used by hexapod robots to walk was analyzed, mainly inspired by cockroaches and beetles and called alternating tripod. First, a new model based on SLIP was developed in Matlab, called Passive BSLIP, which is capable of finding the optimal working range for the different configurations that the legs can have. Subsequently, the alternating tripod algorithm was implemented in a finite state machine in Simulink and to validate the gait, a dynamic model of the robot was developed in MSC Adams with the particularity that the legs were modeled with finite elements, to be able to faithfully reproduce the elastic behavior of the same. After analyzing the results of the simulations, the same tests were carried out on the real platform, called CLHeRo (C-Leg Hexapod Robot) and in order to obtain measurements of the robot?s behavior, it was developed a test bench for mobile land robots. Another of the objectives addressed in this thesis has been the development of an environment (called ClegS), both for control and programming, a C-legs robot under the ROS environment. The control system bases its operation on two ROS nodes: the gait mode interface is in charge of managing the active gait mode and allows the send motion parameters to each of the registered gait patterns and, on the other hand, the gait interface, which filters the system messages and requests so that only those for the active gait pattern are published. For its part, the programming of the gait patterns can be done with the Clhero robot library, which helps to reduce programming times and helps in the readability and understanding of the code. One of the most important contributions of this thesis is the development of a novel algorithm for odometry based on the kinematics of mobile robots and the particular kinematics of the legs of the CLHeRo. Once the model was proposed, it was implemented as a ROS node and its validation was carried out through a series of tests both indoors and outdoors scenarios. Subsequently, the CLHeRo was provided with teleoperation capacity. Two methods of teleoperation are developed: by terminal and with command. Finally, the last implementation applied to the CLHeRo was to provide it with the ability to perform simultaneous localization and mapping (SLAM). For this, it was necessary to install a 2D laser and use the ROS standard package for this function, gmmaping. ----------RESUMEN---------- Los sistemas de locomoci{\'o}n convencionales (ruedas u orugas) han dominado la rob{\'o}tica terrestre desde sus comienzos, sin embargo, durante las {\'u}ltimas dos d{\'e}cadas los robots con patas han empezado a tener un gran desarrollo debido a la limitaci{\'o}n de los robots con sistemas convencionales para navegar por terrenos irregulares o superar obst{\'a}culos. Sin embargo, los robots con patas presentan una mayor complejidad tanto en su dise{\~n}o mec{\'a}nico como en los algoritmos de control, pues necesitan estar constantemente calculando que el centro de gravedad se situ{\'e} dentro del pol{\'i}gono que forman las patas apoyadas en el suelo. Juntando los puntos fuertes de cada uno de los sistemas de tracci{\'o}n, de los convencionales su simplicidad mec{\'a}nica y de los sistemas con patas su capacidad de navegar por cualquier tipo de terreno, surgi{\'o} una nueva familia de robots denominada Clegs. El primer robot de esta familia fue desarrollado en el a{\~n}o 2001 e involucr{\'o} a un total de catorce universidades de Norteam{\'e}rica bajo un programa financiado por el DARPA. Sin embargo, a pesar del {\'e}xito en el desarrollo de esta plataforma, no hay muchos desarrollos actuales que sigan esta l{\'i}nea de investigaci{\'o}n. Durante esta tesis se ha realizado un estudio de las tareas de b{\'u}squeda y rescate donde han intervenido diversos tipos de robots terrestres, aunque en la gran mayor{\'i}a de los casos, con sistemas de tracci{\'o}n convencionales. Analizando el n{\'u}mero de {\'e}xitos y fracasos, y los motivos por los que no se cumpl{\'i}an los objetivos de las misiones, se decidi{\'o} investigar en la l{\'i}nea de emplear un robot de C-Legs para tareas de b{\'u}squeda y rescate, ya que su peque{\~n}o tama{\~n}o y la destreza que le otorgan sus patas generan expectativas de que se pueda incrementar el ratio de {\'e}xito de los robots terrestres en la tareas de b{\'u}squeda y rescate. Para ello, esta tesis comienza analizando las distintas plataformas que se han desarrollado hasta el momento con el fin de desarrollar una nueva que tenga como premisas, la replicabilidad, una fabricaci{\'o}n sencilla, gran resistencia a los impactos y, por supuesto, la capacidad de superar obst{\'a}culos como pueden ser escalones. Una vez su dise{\~n}o se ha validado y se ha construido el robot, se dispuso a analizar sus capacidades de desplazamiento, para ello se analiz{\'o} el m{\'e}todo que utilizan los robots hex{\'a}podos para caminar, inspirado principalmente en las cucarachas y escarabajos y que se denomina tr{\'i}pode alterno. Primeramente, se desarroll{\'o} en Matlab un modelo novedoso basado en SLIP, denominado BSLIP Pasivo, que es capaz de encontrar el rango {\'o}ptimo de trabajo para las distintas configuraciones que pueden tener las patas. Posteriormente, se implement{\'o} el algoritmo de tr{\'i}pode alterno en una m{\'a}quina de estados en Simulink y para validar la marcha, se desarroll{\'o} un modelo din{\'a}mico del robot en MSC Adams con la particularidad de que las patas fueron modeladas con elementos finitos, para poder reproducir fielmente el comportamiento el{\'a}stico de las mismas. Tras el an{\'a}lisis de los resultados de las simulaciones, se procedi{\'o} a efectuar las mismas pruebas sobre la plataforma real, denominada CLHeRo (C-Leg Hexapod Robot) y para poder obtener mediciones del comportamiento del robot tambi{\'e}n se realiz{\'o} el desarrollo de un banco de pruebas para robots terrestres m{\'o}viles. Otro de los objetivos abordados en esta tesis ha sido el desarrollo de un entorno, tanto para el control como para la programaci{\'o}n, de un robot C-legs bajo el entorno de ROS y denominado ClegS. El sistema de control basa su funcionamiento en dos nodos: la interfaz de modos de marcha se encarga de gestionar el modo de marcha activo y permitir el paso de par{\'a}metros de movimiento a cada uno de los modos registrados y, por otro lado, la interfaz de comandos filtra los mensajes y peticiones del sistema para que {\'u}nicamente se publiquen las del modo activo. Por su parte, la programaci{\'o}n de los modos de marcha se puede realizar con la librer{\'i}a Clhero\_robot, que ayuda a reducir los tiempos de programaci{\'o}n y la legibilidad y comprensi{\'o}n del c{\'o}digo. Una de las aportaciones m{\'a}s importante de esta tesis es el desarrollo de un novedoso algoritmo para la odometr{\'i}a bas{\'a}ndose en la cinem{\'a}tica de robots m{\'o}viles y la cinem{\'a}tica particular de las patas del CLHeRo. Una vez planteado el modelo se implemento como nodo de ROS y se procedi{\'o} a su validaci{\'o}n mediante una serie de pruebas tanto en interior como en exterior. Posteriormente se dot{\'o} de capacidad de teleoperaci{\'o}n al CLHeRo. Se desarrollaorn dos m{\'e}todos de teleoperaci{\'o}n: por terminal y con mando. Por {\'u}ltimo se aplic{\'o} todo el sistema desarrollado hasta el momento para dotar al CLHeRo de capacidad para realizar localization y mapeado simultaneo (SLAM). Para esto fue necesario instalar un l{\'a}ser 2D y recurrir al paquete est{\'a}ndar de ROS para esta funci{\'o}n, gmmaping.} }