Skip to content

Commit

Permalink
Merge pull request #500 from lmontaut/topic/hppfcl3x/expose-gjk-initi…
Browse files Browse the repository at this point in the history
…al-guess

[python] Expose GJKInitialGuess
  • Loading branch information
jcarpent authored Dec 15, 2023
2 parents 49e5020 + 09bf499 commit 714c20f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions python/gjk.cc
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,14 @@ void exposeGJK() {
.export_values();
}

if (!eigenpy::register_symbolic_link_to_registered_type<GJKInitialGuess>()) {
enum_<GJKInitialGuess>("GJKInitialGuess")
.value("DefaultGuess", GJKInitialGuess::DefaultGuess)
.value("CachedGuess", GJKInitialGuess::CachedGuess)
.value("BoundingVolumeGuess", GJKInitialGuess::BoundingVolumeGuess)
.export_values();
}

if (!eigenpy::register_symbolic_link_to_registered_type<
GJKConvergenceCriterion>()) {
enum_<GJKConvergenceCriterion>("GJKConvergenceCriterion")
Expand Down

0 comments on commit 714c20f

Please sign in to comment.