Currently, the UR hardware interface fills the effort interface with the "actual current" from rtde data package.
Following this discussion, it seems there is a method to get the joint torque compensated by friction and gravity using get_joint_torque. Is it possible to use this method inside the ros2 driver?
This would be very useful, as the alternative method to obtain joint torques involves converting the actual motor current using the torque constant and then subtracting the effects of friction and gravity — which also requires developing a friction model.