fix: pad query radii with point radii before top AABB check in CAPT#82
Merged
Conversation
oh-yes-0-fps
added a commit
to valstad-shipworks/vamp
that referenced
this pull request
Mar 17, 2026
* Expose the validate_motion function and the robot’s lower and upper bounds to Python. (KavrakiLab#81) * Add validate_motion function * Add upper and lower bounds functions * Clang format * fix: update bounds checking logic * fix: enable bounds checking * fix: pad query radii with point radii before top AABB check in CAPT (KavrakiLab#82) In CAPTs, point radii are fictitious: their only effect is to pad the radii of spheres used in queries. Previously, the implementation of the CAPT waited until after query spheres had been classified into their leaf cells, then padded the query radii. However, this means that the CAPT could erroneously accept some spheres as non-colliding if they did not intersect the top AABB unless padded by the point radius. This fixes erroneous acceptances by moving the padding step to the very start of the query procedures for CAPTs. * feat: add example of using viser with VAMP python interface (KavrakiLab#76) * chore: fix style to match yapf (KavrakiLab#83) * docs: update URL for CAPT work to point to official proceedings (KavrakiLab#84) * fixed aorrtc benchmarking when early exit (KavrakiLab#86) * fixed aorrtc benchmark for early exit * removed extra lines * fixed phs sample clamp (KavrakiLab#87) * fixed phs sample clamp * format * feat: initial convex polytope collision working and testing * fix: good defaults in mesh_test.py * feat: AABB mid check, no broadcast in loop * feat: OBB precheck * chore: cleanup and fixes * fix: missing paren * chore: clang-format * add from_both polytope obstacle constructor to python bindings * add support for cuboid-polytope collision checks --------- Co-authored-by: Weihang Guo <weihang.guo2001@gmail.com> Co-authored-by: Clayton Ramsey <claytonwramsey@gmail.com> Co-authored-by: Shrutheesh Raman Iyer <34128076+ShrutheeshIR@users.noreply.github.com> Co-authored-by: Chih Huang <105421233+Squirtleee@users.noreply.github.com> Co-authored-by: Zachary Kingston <zkingston@purdue.edu> Co-authored-by: Zachary Kingston <kingston.zak@gmail.com> Co-authored-by: Sam Rooney <the.sam.rooney@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In CAPTs, point radii are fictitious: their only effect is to pad the radii of spheres used in queries. Previously, the implementation of the CAPT waited until after query spheres had been classified into their leaf cells, then padded the query radii. However, this means that the CAPT could erroneously accept some spheres as non-colliding if they did not intersect the top AABB unless padded by the point radius.
This fixes erroneous acceptances by moving the padding step to the very start of the query procedures for CAPTs.