jhu-dvrk / sawIntuitiveResearchKit

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

Use rate limit on PSM jaws in TeleopPSM #127

Closed adeguet1 closed 4 years ago

adeguet1 commented 4 years ago

Using a direct mapping from gripper/measured_jp to jaws/servo_jp is too brutal. One solution is to create a trajectory between the measured jaw angle the desired jaw angle (i.e. use some kind of move_jp). The actual ISI controller seems to do that. For now, a simple linear interpolation can be implemented using a maximum rate. This has been tested in f9cc466ed89924a5b35def16b733b7a7c023865b.

To complete this we also need: