Repository navigation
feat: optional robot hooks for non-Euclidean configuration spaces - #5
Open
ShrutheeshIR wants to merge 2 commits into
Open
ShrutheeshIR wants to merge 2 commits into
ShrutheeshIR wants to merge 2 commits into
Conversation
Robots may define euclidean, sample_dimension, sample(), distance() and interpolate() to plan in spaces that are not flat L2 (e.g. floating bases with quaternion dimensions). Robots that define none of them behave exactly as before: robots/traits.hh resolves each hook with a fallback to the current behaviour (Euclidean, sample the configuration cube, Configuration:: distance and interpolate). - samplers (Halton, XORShift) draw from the sample_dimension cube and map it through sample(); the Halton prime table grows from 16 to 40 entries for high-dimensional robots - Path cost/subdivide/interpolation use the robot's distance and interpolate; cost.hh adds an optional Robot::cost, defaulting to the distance - validate_motion checks non-Euclidean robots through interpolate_block; the attachment-aware kernel dispatch moves into fkcc_block - informed (PHS) sampling is only applied to Euclidean robots Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.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.
Robots may define euclidean, sample_dimension, sample(), distance() and interpolate() to plan in spaces that are not flat L2 (e.g. floating bases with quaternion dimensions).