Kinematic Retargeting

Kinematic Retargeting is a process by which a pose or motion may be translated from one platform (robot, human, or embodied virtual agent) to another. The challenge in this task is that platforms may have different limb lengths, numbers of limbs, or degrees of freedom in their joints, making it impossible to map directly from one platform to another. I have developed a kinematic retargeter, which is capable of optimal retargeting between a broad class of kinematic chains. To see it in action, take a look at the video below, which shows two very different robots performing a “waving” motion that has been retargeted from Kinect motion capture data on my own body.

Notes on video:  Motion Capture was done using a Microsoft Kinect and OpenNI.  The two robots seen here are the humanoid PR2 at USC and a chain of four CKbots from the UPenn ModLab.  What’s interesting about this demonstration is that the motion is preserved across two robot arms with very different degrees of freedom.


This project began in the summer of 2011 at the University of Southern California Interaction Lab, led by Professor Maja Mataric, and was completed as my undergraduate thesis at Princeton under the advisorship of Professor Robert Stengel.  Throughout the entire process, my REU mentor, graduate student Ross Mead, provided me with invaluable support.  The Interaction Lab focuses on Socially Assisitive Robotics (SAR), a field in which robots engage in social interactions with people with special needs.  Expressive gesturing is understandably important in SAR, but behaviors are usually specific to the robot used, inhibiting experimental repeatability and inter-lab collaboration.  My research aims to solve this problem.


The retargeting problem is posed as an N-dimensional optimization, where N is the number of degrees of freedom of the target chain.  The aim is then to develop some metric of pose correspondence between the source and target chain to serve as a cost function for optimal pose.  My intuition in approaching this problem was to capture the shape of the source pose without respect to chain-specific constraints, such as limb lengths or joint types.  My solution was to represent pose with a smooth function over all of space, using the position of the source links as boundary conditions on the function.

The first such function I used was a Laplacian potential field, defined using the source chain links as the surface of maximum potential, with zero potential at infinity.  To find an optimal target pose, we configure the target chain so that the integral of this field over its surface is maximized.  Intuitively, this is very much like applying opposite electric charges to the two chains and allowing the target to stick to the source in a configuration which minimizes electrical potential energy.

The potential field method proved effective, but the integral cost function was computationally expensive.  To improve performance, the approach was simplified.  The joint-total distance metric minimizes the sum of all distances between all source and target joints, plus a more heavily weighted term for the chain end-effectors.  This proved more efficient and reliable than the potential field method.

Cost Function Comparison
Laplacian Potential Fields vs. Joint Total Distance isolines.

Implementation and Release

The approach has been implemented and validated in MatLab, which was used to generate the movement trajectories shown in the video above.  Work is currently being done to provide a Python package for retargeting as a part of ROS.


  • [PDF] T. Tosun, R. Mead, and R. Stengel, “A general method for kinematic retargeting: adapting poses between humans and robots,” in Asme 2014 international mechanical engineering congress and exposition, 2014.
    author = {Tosun, Tarik and Mead, Ross and Stengel, Robert},
    booktitle = {ASME 2014 International Mechanical Engineering Congress and Exposition},
    year = 2014,
  • [PDF] T. Tosun, Development of a system for general kinematic retargeting, 2012.
    type = {Undergraduate Thesis},
    title = {Development of a System for General Kinematic Retargeting},
    author = {Tarik Tosun},
    school = {Princeton University},
    year = 2012,
  • [PDF] T. Tosun, R. Mead, and M. J. Matarić, “Kinematic retargeting with potential fields: enabling a unified social behavior repository,” in Acm/ieee international conference on human-robot interaction, 2012, p. Poster–Session.
    title = {Kinematic Retargeting with Potential Fields: Enabling a Unified Social Behavior Repository},
    author = {Tosun, Tarik and Mead, Ross and Matari{\'c}, Maja J},
    booktitle = {ACM/IEEE International Conference on Human-Robot Interaction},
    pages = {Poster--Session},
    year = 2012,

Leave a Reply

Your email address will not be published. Required fields are marked *