fzi-forschungszentrum-informatik / cartesian_controllers

A set of Cartesian controllers for the ROS1 and ROS2-control framework.
BSD 3-Clause "New" or "Revised" License
351 stars 100 forks source link

Error when switching controller #160

Closed devraise closed 6 months ago

devraise commented 6 months ago

Problem description I'm attempting to use this controller with the UR20 arm. When I switch controllers from the position controller to the cartesian force controller, I get the following error:

ur_robot_driver_node: /usr/include/eigen3/Eigen/src/Core/DenseCoeffsBase.h:425: Eigen::DenseCoeffsBase<Derived, 1>::Scalar& Eigen::DenseCoeffsBase<Derived, 1>::operator()(Eigen::Index) [with Derived = Eigen::Matrix<double, -1, 1>; Eigen::DenseCoeffsBase<Derived, 1>::Scalar = double; Eigen::Index = long int]: Assertion `index >= 0 && index < size()' failed.

Software versions

To Reproduce Spawn controllers and try to switch controller to force controller

Expected behavior Controller should have switched

Additional context Add anything that you feel is relevant to tackle this issue.