RoboPilot
RoboPilot is a no-ROS-required static engineering toolchain for ROS-style projects and ROS1-to-ROS2 migration scaffolds.
It helps robotics learners and developers plan, refine, validate, generate, inspect, update, roll back, document, and review ROS/ROS2-style project structure without installing ROS, ROS2, catkin, colcon, simulator runtimes, or robot hardware.
What RoboPilot Does
- Creates and validates
ProjectSpecfiles from robotics tasks. - Renders deterministic ROS-style Python package skeletons.
- Refines and diffs specs before generation.
- Previews, exports, applies, backs up, rolls back, and journals safe project updates.
- Inspects projects and exports read-only reports.
- Detects RoboPilot, ROS1, ROS2, mixed, non-ROS, and unknown project types.
- Statically inspects ROS1 catkin and ROS2 ament packages.
- Analyzes declared and detected dependencies.
- Builds static ROS1-to-ROS2 migration plans, validates/diffs them, previews file-level migration work, generates conservative ROS2 scaffold placeholders, validates generated scaffolds, and exports scaffold reports.
- Provides small offline utilities for robotics error logs and Mermaid workflow graphs.
- Optionally uses an LLM only to produce or refine validated
ProjectSpecdata. - Provides a lightweight Python API layer for scripts and future integrations.
- Documents stable top-level JSON keys for integration-oriented
--jsonoutputs. - Provides a VSCode Marketplace extension that wraps RoboPilot CLI JSON outputs, including the migration scaffold review workflow.
RoboPilot does not run ROS, ROS2, launch files, generated code, catkin_make, or colcon.
Migration scaffolds are conservative review artifacts, not full automatic migrations; manual review is still required.
Quick Start
Supported Python versions for this release line are Python 3.10 and 3.11. Package metadata declares >=3.10,<3.12; Python 3.12 and 3.13 are not claimed until the test suite passes there.
Install from PyPI:
pip install robopilot
robopilot --help
Install the VSCode extension from Visual Studio Marketplace:
code --install-extension j1angjj.robopilot-vscode
Source install is for development:
python -m venv .venv
.venv\Scripts\activate
python -m pip install -U pip
pip install -e ".[dev]"
On Windows, if pytest has temporary directory permission issues:
python -m pytest --basetemp=".pytest_tmp" -p no:cacheprovider
Core Workflows
Spec-first generation:
robopilot plan --name demo_detector --task "Create an object detection pipeline" --output robopilot.yaml
robopilot validate --spec robopilot.yaml
robopilot generate --spec robopilot.yaml
Iterative spec review:
robopilot refine --spec robopilot.yaml --instruction "Add a tracker node after the detector" --output refined.yaml
robopilot diff --old robopilot.yaml --new refined.yaml
Safe project update loop:
robopilot apply-preview --spec refined.yaml --project outputs/demo_detector
robopilot apply-plan --spec refined.yaml --project outputs/demo_detector --output apply_plan.yaml
robopilot apply --plan apply_plan.yaml
robopilot apply --plan apply_plan.yaml --confirm
robopilot history --project outputs/demo_detector
Static project review:
robopilot inspect examples/generated_projects/demo_detector
robopilot repair-suggest examples/generated_projects/demo_detector
robopilot report examples/generated_projects/demo_detector --output report.md
ROS-style static analysis:
robopilot detect path/to/project
robopilot inspect-ros1 path/to/ros1_package
robopilot inspect-ros2 path/to/ros2_package
robopilot deps path/to/project
ROS1 to ROS2 migration planning:
robopilot migrate-plan --from path/to/ros1_package --to ros2 --output migration_plan.yaml
robopilot migrate-plan-validate --plan migration_plan.yaml
robopilot migrate-preview --plan migration_plan.yaml --project path/to/ros1_package
robopilot migrate-scaffold-preview --plan migration_plan.yaml
robopilot migrate-scaffold --plan migration_plan.yaml --output path/to/ros2_scaffold
robopilot migrate-scaffold-validate --plan migration_plan.yaml --scaffold path/to/ros2_scaffold
robopilot migrate-scaffold-report --plan migration_plan.yaml --scaffold path/to/ros2_scaffold --output scaffold_report.md
Documentation
- Chinese Documentation
- Command Reference
- Workflows
- Architecture
- Python API
- JSON Contracts
- Integration Notes
- VSCode Extension
- VSCode Packaging
- VSCode Marketplace Publishing
- ROS1 to ROS2 Migration Tutorial
- VSCode Migration Tutorial
- Demo Walkthrough
- Troubleshooting
- Examples
- Developer Setup
- Testing
- Release Process
- PyPI Publishing
- Compatibility
- Known Limitations
- Stability Policy
- Demo Script
- Changelog
- Roadmap
- 2.x Research Planning
Safety Model
RoboPilot is designed around static analysis and explicit review:
- Default planning, validation, diff, inspection, report, detection, dependency, and migration commands are read-only.
applyis dry-run by default and writes only with--confirm.- Confirmed updates write only files listed in a validated apply plan.
- Existing files are backed up before updates.
rollbackis dry-run by default and restores only files from RoboPilot backup directories.- Migration planning, validation, diff, and preview do not modify source projects.
- Migration scaffold generation writes only to the explicit output directory, refuses overwrites by default, and does not modify the original ROS1 project.
- Migration scaffold validation is read-only and checks generated placeholders without executing or importing scaffold code.
- Migration scaffold reports are read-only unless writing to an explicit report output file.
- Optional LLM paths are limited to
ProjectSpecplanning/refinement and must pass validation before generation or apply workflows.
Example Output
A static generated demo project is committed at:
examples/generated_projects/demo_detector/
Migration tutorial examples are committed at:
examples/ros1_migration_demo/
examples/ros2_scaffold_demo/
examples/migration_outputs/
Start with the ROS1-to-ROS2 migration tutorial, the VSCode migration tutorial, or the demo walkthrough.
Transient generated projects should go under outputs/, which is intentionally ignored by git.
Project Status
Current stable release: v2.1.0.
v2.1.0 adds 10 milestones across Education (more templates, interactive tutorials, error diagnosis, custom templates) and Static Quality (lint, migration scoring, launch validation, workspace analysis, CI check with SARIF export).
RoboPilot's no-ROS-required static engineering workflow is the stable v2.0.x baseline:
plan -> refine -> diff -> validate -> generate
-> apply-preview -> apply-plan -> apply -> rollback -> history
-> inspect -> repair-suggest -> report
-> detect -> inspect-ros1 -> inspect-ros2 -> deps
-> migrate-plan -> migrate-plan-validate -> migrate-plan-diff -> migrate-preview
-> migrate-scaffold-preview -> migrate-scaffold -> migrate-scaffold-validate
-> migrate-scaffold-report
The Python API layer, documented CLI JSON contracts, ROS2 static inspector, enhanced dependency analyzer, and VSCode extension source are available for integration work while the CLI remains the primary user interface. The no-ROS-required safety model is unchanged in this stable release.
The VSCode extension is available from Visual Studio Marketplace as j1angjj.robopilot-vscode, and the source lives under vscode-extension/. The extension requires the RoboPilot CLI to be installed, supports the migration scaffold workflow, and remains a thin wrapper over CLI/API/JSON contracts.
pip install robopilot
code --install-extension j1angjj.robopilot-vscode
See docs/vscode_extension.md, docs/vscode_packaging.md, and docs/vscode_marketplace.md.
The Python package version is 2.1.0; the human-facing tag and release name should be v2.1.0. The VSCode extension is versioned separately and remains available as j1angjj.robopilot-vscode.
Development
Run tests:
python -m pytest
Windows fallback:
python -m pytest --basetemp=".pytest_tmp" -p no:cacheprovider
License
MIT
Metadata
Release files for robopilot 2.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| robopilot-2.1.0.tar.gz | 162.1 kB | With provenance | Details for robopilot-2.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| robopilot-2.1.0-py3-none-any.whl | Python 3 | none | any | Details for robopilot-2.1.0-py3-none-any.whl |
Total release size: 314.5 kB
Release files / robopilot-2.1.0.tar.gz
| Download URL | robopilot-2.1.0.tar.gz |
|---|---|
| Size | 162.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7a275614e76e0f6e46ff3d74afdb9095312d2ccf0f3dbe8752774290be96a732
|
|
BLAKE2b-256 checksum How to use checksums |
2b415f7193ea12aa8101dcb70405a45e08fab39bd891579e90a79d636cba7d4b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 16, 2026.
Transparency logRelease files / robopilot-2.1.0-py3-none-any.whl
| Download URL | robopilot-2.1.0-py3-none-any.whl |
|---|---|
| Size | 152.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5900fc3f6ec3bd436b454964bf4e2bfc6e7afde26702d3a978fba87796b14c79
|
|
BLAKE2b-256 checksum How to use checksums |
dbf8b12943f47395fc79f3f5d73b8d80d72646c8adfe1ce6b7d07cfa9163e623
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 16, 2026.
Transparency logSecurity for robopilot 2.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for robopilot-2.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 16, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.