You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In EPA algorithm, as outlined in section 2.5 of "Real-time collision detection with implicit objects" by Leif Olvang, in each iteration, we do the following
Find the closest point on the polytope, denote the point as vᵢ
Compute the support of the Minkowski sum A⊖B along the direction as wᵢ = S(vᵢ).
Compute the upper bound of the distance as μᵢ ← min(μᵢ, wᵢᵀvᵢ/|vᵢ|)
If the difference between the upper bound μᵢ and the lower bound |vᵢ| is sufficiently small, terminates the algorithm.
Notice that in step 3, the vector vᵢ needs to be normalized before multiplying with wᵢ. On the other hand, in FCL's implementation, it uses the unnormalized vector vᵢ (namely variable el->witness)
There are other issues in this piece of code that confuses me.
In EPA algorithm, as outlined in section 2.5 of "Real-time collision detection with implicit objects" by Leif Olvang, in each iteration, we do the following
Notice that in step 3, the vector vᵢ needs to be normalized before multiplying with wᵢ. On the other hand, in FCL's implementation, it uses the unnormalized vector vᵢ (namely variable
el->witness
)There are other issues in this piece of code that confuses me.
dist
andel->dist
is less than EPA tolerance, why the code returns -1? As far as I understand, we return 0 on success, and -1 otherwise. This seems to me a successful iteration.@SeanCurtis-TRI @sherm1
The text was updated successfully, but these errors were encountered: