kroshu / kuka_drivers

Repository containing ROS2 drivers for multiple KUKA robots
Apache License 2.0
77 stars 23 forks source link

Feature Request: Publish WrenchStamped Message for Force Torque Information #177

Open ekampourakis opened 3 months ago

ekampourakis commented 3 months ago

Description

I would like to request the addition of a feature to the KUKA ROS2 driver to publish the force torque information of the robot arm as a geometry_msgs/msg/WrenchStamped message. This feature would be similar to the common practice (e.g. implementation in this driver), where the controller publishes the wrench measured from the robot at its TCP or other configurable frame on a topic (e.g. /wrench).

Motivation

Currently, the driver publishes torque data (effort) within the JointState message. While this information is useful, it does not suffice for applications that require force torque data already transformed into a specified frame or TCP. By providing this data in the form of a WrenchStamped message, we can enable a variety of advanced applications, such as:

  1. Probing Surfaces: The transformed force torque data allows precise control and sensing when interacting with surfaces, enhancing the robot's capabilities in tasks such as automatic calibration.

  2. Advanced Control Schemes: Certain control schemes, including force control and impedance control, rely on accurate force torque information relative to a specific frame. Providing this data directly in the desired frame simplifies the implementation and improves control performance.

  3. Calibration Capabilities: Similar to other implementations, the ability to calibrate the wrench to 0 would allow for more accurate and adaptable force measurements, crucial for dynamic environments and changing tasks.

Implementation Suggestion

Additional Information

Thank you for considering this request. I believe it will add significant value to the KUKA driver and benefit the broader robotics community.

Svastits commented 3 months ago

Thanks for the detailed feature request. It will not be possible in the near future to extend the server side of the driver, so we will consider our options, how we could calculate the wrench on the ROS2 side

ekampourakis commented 3 months ago

Thank you for considering and exploring options for calculating the wrench on the ROS2 side. I appreciate your efforts to find an alternative solution given the constraints on extending the server side.

Please tag me in any follow-ups or discussions related to this request, as I’m eager to stay updated and assist where possible.

Thanks again for your attention and collaboration!

ekampourakis commented 1 month ago

Just wanted to follow up and see if there have been any updates on this. It would be really helpful for our project

Svastits commented 1 month ago

Calculating wrench on the ROS2 side was deemed too complex and too much of an effort, now we are investigating the possibilities of adding it to the server side