Skip to content

feat: optional robot hooks for non-Euclidean configuration spaces - #5

Open
ShrutheeshIR wants to merge 2 commits into
mainfrom
non-euclidean-hooks
Open

ShrutheeshIR wants to merge 2 commits into
mainfrom
non-euclidean-hooks

Conversation

@ShrutheeshIR

Copy link
Copy Markdown

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).

  • 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

ShrutheeshIR and others added 2 commits November 6, 2026 19:44
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>
@ShrutheeshIR
ShrutheeshIR added this pull request to stack #7 November 7, 2026 04:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant