Robot Skill Hub by Superfast Robotics

PythonRobotics: fast slam1

Official PythonRobotics python main example for fast slam1. Inspect the pinned source and upstream setup before use.

pythonrobotics-slam-fastslam1-fast-slam1-py | Record version: source-d71a5058ef872f5a691c5451f698d6897948502aacee6c183a99abdd4a8b3f0d

Record JSON | Markdown | Pinned upstream source

Access

Fetch the pinned repository, verify this source checksum, and use upstream installation and invocation. This record does not install or execute code.

For one verified inert file, use the installed CLI's inspect response fetch_source_args and append --project DIR --json. Source-file retrieval creates no environment and does not install or run the source.

Hub preparation adapter: false. Follow the upstream setup and invocation contract.

Source and license

Repository
https://github.com/AtsushiSakai/PythonRobotics
Revision
cdd0cc888802b584c2d654ca85e3c5460973487d
Path
SLAM/FastSLAM1/fast_slam1.py
Source SHA256
d71a5058ef872f5a691c5451f698d6897948502aacee6c183a99abdd4a8b3f0d
Source bytes
10321
Original authors
Atsushi Sakai
License
MIT
License scope
Selected PythonRobotics algorithm demonstration source under the pinned MIT license text, Copyright (c) 2016 - now Atsushi Sakai and other contributors. Preserve repository license and each selected file's author notices. This is source-text scope only; dependencies, mathematical references, generated plots and any external assets retain separate terms. GitHub's automated classifier reports NOASSERTION; the MIT identity here comes from the exact reviewed LICENSE bytes, not that classifier.
License SHA256
ca6f10832a25c1cd07fa62872458ca336a6ea83ee2f2236216086bd7a5bbf264
Hub commit
7741931797a318413f93af14351b3cc8d904869b

Requirements

{
  "python": "Upstream README and requirements/environment.yml declare Python 3.13.x; no interpreter/package combination was installed or tested.",
  "packages": [
    "matplotlib==3.11.2 (pinned repository requirements declaration; selected entrypoints use pyplot)",
    "numpy==2.5.3 (pinned repository requirements declaration; applicable selected sources import NumPy directly or through local dependencies)",
    "scipy==1.18.1 (pinned repository requirements declaration; selected Hybrid A* source imports scipy.spatial)",
    "cvxpy==1.9.3 (pinned repository requirements declaration; selected MPC source calls solver=cvxpy.CLARABEL)",
    "ecos==2.0.14 (pinned repository requirements declaration; not substituted for the selected MPC source's CLARABEL solver)",
    "Matching pinned in-repository helpers for applicable selected sources, including SLAM, localization, RRT*, Hybrid A*, and tracking; a single source-file reference is not a complete runnable bundle"
  ],
  "display": "Mathematical planning, tracking, localization and SLAM demonstrations with hard-coded maps, trajectories, landmark observations or simulated dynamics; no physical robot controller or exact supported robot model is identified. Matplotlib animation is enabled in selected sources and needs suitable display/backend setup. Inspect each record's source_imports. SLAM/tracking sources import local utils.angle; EKF localization imports utils.plot; RRT* imports RRT.rrt; Stanley imports PathPlanning.CubicSpline; Hybrid A* and MPC also need their original local helpers and declared SciPy/cvxpy dependencies. These local helper dependencies are not newly downloaded or counted as additional skills. The pure-pursuit/Stanley headers use the term PID speed control, but their complete reviewed speed-control functions implement only Kp * (target - current), without integral or derivative terms. Use the exact upstream checkout/layout and read its setup. EKF SLAM and FastSLAM1 import utils.angle without modifying sys.path; the pinned project root must be available on Python's module search path. Python/package versions, GUI/backend availability and transitive dependency compatibility were not tested.",
  "execution_domain": "computation-or-algorithm-simulation",
  "source_imports": [
    "math",
    "matplotlib.pyplot",
    "numpy",
    "utils.angle"
  ]
}

Invocation

{
  "entrypoint": "python SLAM/FastSLAM1/fast_slam1.py",
  "notes": "Run a selected Python main only after independent upstream dependency, GUI/backend and local-helper setup review. These are numerical algorithm demonstrations, not commands for physical robots or ready deployment policies. The repository recommends pip requirements/requirements.txt or conda requirements/environment.yml; those are upstream declarations and were not executed. Keep the exact checkout layout and the upstream project root on Python's module search path for local imports. Sources were only read, hashed and statically parsed; no Hub adapter, installation, simulation result, robot-model support or compatible runtime combination is asserted."
}

Explicit compatibility

[]

Missing environment fields remain unknown. Discovery labels do not establish robot compatibility.

Evidence

Level: source_reviewed; runtime verification: not_run.

Fetched and SHA-256 checked this immutable source; statically parsed Python or located native main; verified pinned license bytes and checked explicit per-file license identifiers. No upstream code executed.

Source review and contributor reports do not establish task completion. Preserve upstream attribution and licenses.