Looping a force function decreases the force every time it loops

Hi, this may be a bug but I was wondering if anyone has had a similar issue.

Looping a direction with a force function decreases the force every time it loops, the values of the force are constant however after a few loops the robot fails to reach the target point as the maximum force is reached just by the robot moving.

Thanks

Hi @toby.smailes,

Welcome to the UR community🦾

When you insert a PolyScope force node. The generated script that will be executed includes a zero_ftsensor(). If a certain force is already reached the zeroing will be affected by that.

Maybe this urscript dynamic force control can help you.

Ebbe