/cartesian_controllers

A set of Cartesian controllers for the ROS1 and ROS2-control framework.

Primary LanguageC++BSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

build badge build badge License


ROS2 support is here.


Cartesian Controllers

This package provides a set of Cartesian motion, force and compliance controllers for the ros_control framework. The controllers are meant for joint position and joint velocity interfaces on the manipulators. As a unique selling point, they use fast forward dynamics simulations of virtually conditioned twins of the real setup as a solver for the inverse kinematics problem. Integrating from joint accelerations to joint velocities and joint positions gives them a delay-free, noise suppressing, and an inherently more stable contact behavior than conventional Admittance controllers. The controllers from this package are designed to trade smooth and stable behavior for accuracy where appropriate, and behave physically plausible for targets outside the robots reach. The package is for users who require interfaces to direct task space control without the need for collision checking. See this talk at ROSCon'19 and the slides to get an overview.

Why this package?

Users may refer to MoveIt for end-effector motion planning, but integrating a full planning stack is often unnecessary for simple applications. Additionally, there are a lot of use cases where direct control in task space is mandatory: dynamic following of target poses, such as visual servoing, teleoperation, Cartesian teaching, or any form of closed loop control with external sensors for physical interactions with environments, such as Machine Learning applications. This package provides such a controller suite for the ros_control framework.

Installation

Switch into the src folder of your current ROS workspace and

git clone git@github.com:fzi-forschungszentrum-informatik/cartesian_controllers.git
rosdep install --from-paths ./ --ignore-src -y
cd ..
catkin_make -DCMAKE_BUILD_TYPE=Release

Source your workspace again and you are ready to go.

Getting started

In a sourced terminal, call roslaunch cartesian_controller_examples examples.launch . This will start a simulated world in which you can inspect and try things. Here are some quick tutorials with further details:

Citation and further reading

If you use the cartesian_controllers in your research projects, please consider citing our initial idea of the forward dynamics-based control approach (Paper):

@InProceedings{FDCC,
  Title                    = {Forward Dynamics Compliance Control (FDCC): A new approach to cartesian compliance for robotic manipulators},
  Author                   = {S. Scherzinger and A. Roennau and R. Dillmann},
  Booktitle                = {IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS)},
  Year                     = {2017},
  Pages                    = {4568-4575},
  Doi                      = {10.1109/IROS.2017.8206325}
}

If you are interested in more details, have a look at

  • Inverse Kinematics with Forward Dynamics Solvers for Sampled Motion Tracking (Paper)
  • Virtual Forward Dynamics Models for Cartesian Robot Control (Paper)
  • Contact Skill Imitation Learning for Robot-Independent Assembly Programming (Paper)
  • Human-Inspired Compliant Controllers for Robotic Assembly (PhD Thesis, especially Chapter 4)