Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion agent_context/MAP.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ topics:
NativeQueryScope, NativeClosingQuery, ClosingContactPolicy, ConvexMeshQuery, native hand queries,
collision world, compute trajectory, trajectory resampling, trajectory warping, retime_to_control_grid,
JointTrajectoryPlaybackCfg, play_joint_trajectory, quaternion, xyzw, wxyz,
GraspValidator, grasp-pose-generator, 抓取动力学校验, 抓取泛化评测,
CoordinatedGraspSampler, PairedGraspProvider, sample_urdf_collision_surfaces, 双手抓取采样]
paths: [topics/motion-planning/motion-planning.md]
source_of_truth:
Expand All @@ -245,6 +246,8 @@ topics:
- embodichain/lab/sim/motion/limits.py
- embodichain/lab/sim/motion/search.py
- embodichain/lab/sim/motion/refinement.py
- embodichain/lab/sim/grasp_validation.py
- extensions/embodichain_benchmarks/grasp_pose_generator/
- extensions/embodichain_benchmarks/motion_generation/
- embodichain/cli/benchmark.py
- embodichain/lab/sim/motion/execution.py
Expand All @@ -264,7 +267,7 @@ topics:
- embodichain/compute/trajectory/
- embodichain/lab/sim/utility/action_utils.py
- embodichain/toolkits/graspkit/pg_grasp/
watch_paths: [tests/benchmark/motion_generation/, tests/test_benchmark_package.py, tests/sim/motion/test_motion_generator.py,
watch_paths: [tests/benchmark/grasp_pose_generator/, tests/benchmark/motion_generation/, tests/test_benchmark_package.py, tests/sim/motion/test_motion_generator.py,
tests/sim/motion/test_motion_generator_batched.py, embodichain/lab/sim/motion/planners/,
tests/sim/motion/expansion/, tests/sim/motion/planners/, tests/compute/, examples/expansion/trajectory/,
examples/expansion/README.md, tests/toolkits/test_coordinated_grasp.py, tests/toolkits/test_urdf_collision_surfaces.py,
Expand Down
8 changes: 8 additions & 0 deletions agent_context/topics/motion-planning/motion-planning.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,3 +146,11 @@ and [design contract](../../../extensions/embodichain_benchmarks/motion_generati
For stale obstacles inspect identity/capabilities; for duration or acceleration
changes inspect normalization and the destination clock before tuning limits.
Tests target production owners rather than importing tutorial implementations.

For physical single-object grasp evaluation, the installed
`embodichain_benchmarks.grasp_pose_generator` runner freezes ranked object-local
TCPs and delegates independent base/X/Y trials to
`embodichain.lab.sim.grasp_validation.GraspValidator`. The
[physical suite](../../../extensions/embodichain_benchmarks/grasp_pose_generator/README.md)
owns held-out splits, fixed attempt budgets and reports. The legacy CoffeeCup
sweep measures geometric sampling and selection.
16 changes: 16 additions & 0 deletions docs/source/api_reference/public_api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7173,3 +7173,19 @@ and scalar metadata, with explicit batch and row identity.

.. autoclass:: ResolvedContactPhase
:members:

Physical grasp validation
=========================

.. currentmodule:: embodichain.lab.sim.grasp_validation

.. autoclass:: GraspValidator
:members: validate, close

.. currentmodule:: embodichain_benchmarks.grasp_pose_generator.metrics

.. autofunction:: summarize

.. currentmodule:: embodichain_benchmarks.grasp_pose_generator.cli

.. autofunction:: main
5 changes: 4 additions & 1 deletion embodichain/cli/benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,10 @@ def _run_atomic_skill_profile_cli(_: argparse.Namespace) -> None:

def _run_grasp_pose_generator_cli(_: argparse.Namespace) -> None:
"""Run grasp pose generator benchmark CLI entrypoint."""
from scripts.benchmark.grasp_pose_generator.run_benchmark import main
if sys.argv[1:2] in (["validate"], ["run"]):
from embodichain_benchmarks.grasp_pose_generator.cli import main
else:
from scripts.benchmark.grasp_pose_generator.run_benchmark import main

main()

Expand Down
Loading