Open traversaro opened 5 years ago
cc @prashanthr05 @triccyx
Initial fix in https://github.com/robotology/gazebo-fmi/pull/39 . It would make sense to also have another option to translate the check on the output of the transmission, but this can be done in another PR.
In the actuator plugin, the input to the actuator is actually passed to the FMI plugin through the
Joint::SetForce
method. This method limits the input using theeffortLimit
attribute of the class, that is parsed from SDF. This make sense (even if it is not 100% correct) if the input to the actuator and the output have similar units (such when simulating just a SEA), but is guaranteed to fail if the input to the actuator has a differ order of magnitude (such if it represents an integer from 0 to 32000) this is completely wrong. We should handle that.