Sensors (Apr 2022)

Fast Adaptation of Manipulator Trajectories to Task Perturbation by Differentiating through the Optimal Solution

  • Shashank Srikanth,
  • Mithun Babu,
  • Houman Masnavi,
  • Arun Kumar Singh,
  • Karl Kruusamäe,
  • Krishnan Madhava Krishna

DOI
https://doi.org/10.3390/s22082995
Journal volume & issue
Vol. 22, no. 8
p. 2995

Abstract

Read online

Joint space trajectory optimization under end-effector task constraints leads to a challenging non-convex problem. Thus, a real-time adaptation of prior computed trajectories to perturbation in task constraints often becomes intractable. Existing works use the so-called warm-starting of trajectory optimization to improve computational performance. We present a fundamentally different approach that relies on deriving analytical gradients of the optimal solution with respect to the task constraint parameters. This gradient map characterizes the direction in which the prior computed joint trajectories need to be deformed to comply with the new task constraints. Subsequently, we develop an iterative line-search algorithm for computing the scale of deformation. Our algorithm provides near real-time adaptation of joint trajectories for a diverse class of task perturbations, such as (i) changes in initial and final joint configurations of end-effector orientation-constrained trajectories and (ii) changes in end-effector goal or way-points under end-effector orientation constraints. We relate each of these examples to real-world applications ranging from learning from demonstration to obstacle avoidance. We also show that our algorithm produces trajectories with quality similar to what one would obtain by solving the trajectory optimization from scratch with warm-start initialization. Most importantly, however, our algorithm achieves a worst-case speed-up of 160x over the latter approach.

Keywords