Replies: 1 comment 4 replies
-
The safety_margin_buffer should never be zero. This is because you still want to have an entry in the SQP problem when you are near a collision so it knows not to move in that direction. Before this was added it would in one solver step get out of collision then on the next solver step things like velocity smoothing would push it back into collision. Then it would just ping-pong back and forth. The buffer ensures that for some distance outside the contact threshold the sqp problem still has a gradient entry preventing this from happening. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I understand from #160 that for collision costs it is recommended to set the safety_margin_buffer to 0. Could you please explain why, as I have not been able to find information on this. (For constraints it's explained multiple times, e.g. #258.)
Beta Was this translation helpful? Give feedback.
All reactions