Exit GJK early if geom distance doesn't need to be recovered.
PiperOrigin-RevId: 672334991 Change-Id: I4af582c799140ccf3ac4d51952e547b08ab5d55e
This commit is contained in:
committed by
Copybara-Service
parent
61721f8d3c
commit
44145742a7
@@ -40,6 +40,8 @@ struct _mjCCDStatus {
|
||||
// configurations used
|
||||
int max_iterations; // the maximum number of iterations for GJK and EPA
|
||||
mjtNum tolerance; // tolerance used by GJK and EPA
|
||||
int has_contacts; // set to true if attempted to recover contact (pendetration) info
|
||||
int has_distances; // set to true if attempted to recover distance info
|
||||
|
||||
// statistics for debugging purposes
|
||||
int gjk_iterations; // number of iterations that GJK ran
|
||||
|
||||
Reference in New Issue
Block a user