Speedl() with Force sensor feedback

Hello,

I’m trying to write a script that uses the speedl() command and force sensor readings as an input. This is for a grinding operation where we want the grinder to follow the contour of the part. We originally tried to use the force command but it either intermittently bounces when it contacts or it will completely veer off.

What force sensor are you using?

The one that is built into the robot. We tried zeroing the force sensor and dampening function but still not having the result we want. I was reading other posts with similar issues and they seem to be using speedl() with force feedback but I’m not sure how to write the script to use this approach.

Could you link the post you mentioned?