ITorqueControl::setTorqueOffset should be deprecated or properly defined? #785
Replies: 7 comments
-
Good point finding out that no iCub device implements the Yarp is a middleware meant to be used by many robots, each one with their own specific behaviour.
The document says:
So in my understanding each controlmode shall have a feedforward methods in its interface: for the torque control mode i think the IMHO the methods fits perfectly in the interface and still make sense. Same algorithms may leverage on it, for example an user can have a rfModule devoted only to compute gravity compensation and another one for torque/impedance control. In this case having 2 methods is needed. I think the real point here is: if iCub does not implement this feature shall we implement it? |
Beta Was this translation helpful? Give feedback.
-
I totally agree, I was just checking all the devices that I know of and that are available as open source (that even include non-IIT robots such as Teo and Vizzy, for example). I did not include Teo to the discussion because I did not want to be too verbose, but I checked and
The |
Beta Was this translation helpful? Give feedback.
-
Walkman inplementation is here:
You are right, maybe the My point is that the interface is an abstraction layer which expresses a concept/functionality of what a torque control is and it has to be agnostic about the hardware implementations. I find that, when speaking about interfaces, it is more clear thinking with a top-down approach (from the concept to header file/the list of functions) rather than bottom-up (from hw to user). I think an interface have to be omni-comprehensive and offer all the services the user may need, so as long as the methods conceptually belong to the purpose of the interface and make sense in it, then that method has the right to stay there. However if by design the But this is just my personal opinion. |
Beta Was this translation helpful? Give feedback.
-
Great!
The main problem is that (at the moment) the semantics of the |
Beta Was this translation helpful? Give feedback.
-
I modified the title to make clear that we are open to any solution. :D |
Beta Was this translation helpful? Give feedback.
-
👍 |
Beta Was this translation helpful? Give feedback.
-
I spoke briefly with @randaz81. The 2 methods In the case of In the case of To make the implementation easier a for each specific use case were provided. |
Beta Was this translation helpful? Give feedback.
-
I noticed that there is a function ITorqueControl::setTorqueOffset present in the
ITorqueControl
that is not implemented in any icub device.Furthermore its role is not discussed in the ControlMode documentation, where there is a
t_off
value used for gravity compensation in impedance, that is however not used in torque control and is the one setted using yarp::dev::IImpedanceControl::setImpedanceOffset.@randaz81 @barbalberto I guess this method is just a left over, and is not used anywhere, right?
Beta Was this translation helpful? Give feedback.
All reactions