A C++ Implementation of a Cartesian Impedance Controller for Robotic Manipulators

Matthias Mayr, Julian M. Salt-Ducaju
12/21/2022
cs.RO

Official code: matthias-mayr/Cartesian-Impedance-Controller (359 stars, C++, BSD-3-Clause, last commit 2026-10-12).

Abstract

Cartesian impedance control is a type of motion control strategy for robots that improves safety in partially unknown environments by achieving a compliant behavior of the robot with respect to its external forces. This compliant robot behavior has the added benefit of allowing physical human guidance of the robot.

Show full abstract

In this paper, we propose a C++ implementation of compliance control valid for any torque-commanded robotic manipulator. The proposed controller implements Cartesian impedance control to track a desired end-effector pose. Additionally, joint impedance is projected in the nullspace of the Cartesian robot motion to track a desired robot joint configuration without perturbing the Cartesian motion of the robot. The proposed implementation also allows the robot to apply desired forces and torques to its environment. Several safety features such as filtering, rate limiting, and saturation are included in the proposed implementation. The core functionalities are in a re-usable base library and a Robot Operating System (ROS) ros_control integration is provided on top of that. The implementation was tested with the KUKA LBR iiwa robot and the Franka Emika Robot (Panda) both in simulation and with the physical robots.

View on arXivView PDF

Code Implementations(1)

BSD-3-Clause

A C++ implementation of Cartesian impedance control for torque-controlled manipulators with ROS 2 & 1 bindings.

35952C++, PythonOct 19, 20221 months agoBSD-3-Clause
compliant-controlfranka-emikafranka-pandagazeboiiwa+5 more

Similar Papers

Cite this paper

@article{mayr2022implementation,
  title  = {A C++ Implementation of a Cartesian Impedance Controller for Robotic Manipulators},
  author = {Matthias Mayr and Julian M. Salt-Ducaju},
  year   = {2022},
  eprint = {2212.11215},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.11215}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2212.11215.svg)](https://codeofpaper.com/paper/2212.11215)

Discussion