gradslam
Routes GradSLAM package workflows for RGB-D structures, tensor geometry, odometry and SLAM, dataset adapters, and CfgNode configuration on a CPU-first installation.
- License 许可
- MIT
- 最近更新
- 2026-10-08
- Stars
- ★ 11
- Forks
- 3
01 前言 Front Matter
- name
- gradslam
- license
- MIT
- metadata
- { "disco-role": "operating" }
- description
- Routes GradSLAM package workflows for RGB-D structures, tensor geometry, odometry and SLAM, dataset adapters, and CfgNode configuration on a CPU-first installation.
- disable-model-invocation
- true
02 资源文件 5
- 参考文档references/api-surface.md3.0 KB
- 参考文档references/compatibility.md2.9 KB
- 参考文档references/repo-provenance.md1.4 KB
- 参考文档references/repo-routing-metadata.json421 B
- 参考文档references/troubleshooting.md4.7 KB
03 SKILL.md 正文
GradSLAM operating guide
Use this repo skill when a Researcher needs the public gradslam Python
package for dense RGB-D geometry, RGB-D/point-cloud structures, odometry,
PointFusion or ICPSLAM, TUM/ICL/ScanNet loading, or CfgNode configuration.
This is operating context for a later Researcher, not a benchmark recipe and
not a replacement for the package's external datasets.
Start here
- Create an isolated environment, then install the public release with
python -m pip install gradslam. When the exact source baseline is required, install the pinned public Git revision instead:python -m pip install 'git+https://github.com/gradslam/gradslam.git@44470eee4484aaad703d7bf962a8f42496867a9d'. - Run
python -m pip check, then resolve and run the bundled environment diagnosticscripts/check_environment.py. Start with--help; the script reports import and backend facts without installing or changing anything. - Read compatibility before selecting a dependency combination. CPU is the required verified path; successful CPU execution does not certify CUDA.
- Record the input tensor contract, device, image layout, depth units, pose availability, and external-data boundary before calling package APIs.
- Route to exactly one focused sub-skill, then use its API/reference page and its deterministic helper where one exists.
Route by user intent
- RGB-D tensors, vertex/normal maps, point-cloud conversion, ragged clouds, or safe display adapters: structures.
- Projection, unprojection, intrinsics, pixel grids, rigid transforms, quaternions, or SE(3): geometry.
- Known-pose, ICP, GradICP, PointFusion, ICPSLAM, map fusion, or odometry diagnostics: odometry-slam.
- TUM, ICL-NUIM, ScanNet paths, association metadata, preprocessing, labels, or DataLoader handoff: datasets.
- Nested config trees, YAML/Python files, merge precedence, overrides, freezing, or migration diagnostics: configuration.
Cross-skill routing is intentional: datasets produce the RGB-D batch, structures validate its layout, geometry supplies transforms, and odometry/SLAM consumes the resulting objects. Do not skip the upstream shape and units check.
Package boundaries
- The package imports Open3D during
import gradslam; a missing or incompatible optional-looking dependency can therefore be an import blocker. - The historical package metadata permits older Torch/dependency combinations, but exact compatibility is release- and extension-dependent. Follow the compatibility and troubleshooting references instead of blindly upgrading one binary package.
- External TUM, ICL-NUIM, and ScanNet data are not bundled. Layout checks are read-only preflight, not proof that images, poses, or timestamp association are valid.
- The bundled smoke programs use tiny deterministic in-memory CPU fixtures. They do not validate an external sequence, a full benchmark, CUDA behavior, a GUI viewer, or notebook execution.
- Keep colors, depths, intrinsics, poses, and map tensors on a deliberate
device. Keep names, transforms, timestamps, semantic labels, and config
metadata outside
RGBDImagesunless an API explicitly accepts them.
Self-contained references
- API surface — package exports and direct-module entry points.
- Compatibility — supported claims, dependency caveats, and CPU/CUDA boundaries.
- Troubleshooting — install/import, extension, device, data, and cross-workflow failures.
- Provenance — source version and evidence baseline.
- Environment checker — no-mutation import and backend diagnostic.
Safe operating sequence
Prefer a short, observable progression: import check → tiny tensor or config fixture → focused sub-skill smoke → one small caller-owned data item → only then longer SLAM or dataset work. Stop when a required invariant fails. Do not invent poses, silently rescale depth, download data, open a viewer, or claim an accelerator path from a CPU-only result.
04 同仓库更多 Skills
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
python-api
Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP/mAP semantics, and source-style import diagnostics.
file-evaluation
Folder-based PASCAL VOC AP/mAP evaluation from ground-truth and detection text files.
object-detection-metrics
Guides legacy Object-Detection-Metrics PASCAL VOC AP/mAP evaluation from detection text folders and direct Python API classes.
nx-workspace-patterns
Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.