figshare
Browse
tadr_a_1395361_sm1133.mp4 (134.68 MB)

Automatic differentiation of rigid body dynamics for optimal control and estimation

Download (134.68 MB)
media
posted on 2017-11-09, 07:19 authored by Markus Giftthaler, Michael Neunert, Markus Stäuble, Marco Frigerio, Claudio Semini, Jonas Buchli

Many algorithms for control, optimization and estimation in robotics depend on derivatives of the underlying system dynamics, e.g. to compute linearizations, sensitivities or gradient directions. However, we show that when dealing with rigid body dynamics, these derivatives are difficult to derive analytically and to implement efficiently. To overcome this issue, we extend the modelling tool ‘RobCoGen’ to be compatible with Automatic Differentiation. Additionally, we propose how to automatically obtain the derivatives and generate highly efficient source code. We highlight the flexibility and performance of the approach in two application examples. First, we show a trajectory optimization example for the quadrupedal robot HyQ, which employs auto-differentiation on the dynamics including a contact model. Second, we present a hardware experiment in which a six-DoF robotic arm avoids a randomly moving obstacle in a go-to task by fast, dynamic replanning.

Funding

This research was supported by the Swiss National Science Foundation through the National Centre of Competence in Research (NCCR) Robotics, the NCCR Digital Fabrication, and a Professorship Award to Jonas Buchli.

History