jhu-dvrk / sawIntuitiveResearchKit

cisst/SAW stack for the da Vinci Research Kit (dVRK)
https://github.com/jhu-dvrk/sawIntuitiveResearchKit/wiki
117 stars 68 forks source link

Fix configuration_js #182

Closed adeguet1 closed 10 months ago

adeguet1 commented 1 year ago

Minimum

Joint configuration is broken between sawRobotIO, sawControllersPID and mtsIntuitiveResearchKit following the changes to PID (actuator vs joint space). The code should be modified so:

Would be good

Find a solution to tell PID how to scale efforts when one joint is saturated. This is specific to the MTM which is mostly controlled as an haptic system with external forces. When one actuator reaches the maximum torque, should some of the other actuators also be scaled so the resulting wrench remains collinear to the desired wrench? For the MTM, the first 3 joints determine the force while the last 4 determine the torque. The solution might be to use two scales, one for the bottom 3 joints and one for the last 4.