Skip to content

ignore#2430

Closed
EV3KevinDEV wants to merge 2 commits intoPhotonVision:mainfrom
EV3KevinDEV:codex/document-jetson-image-generation
Closed

ignore#2430
EV3KevinDEV wants to merge 2 commits intoPhotonVision:mainfrom
EV3KevinDEV:codex/document-jetson-image-generation

Conversation

@EV3KevinDEV
Copy link
Copy Markdown

What changed

  • documented the local Jetson-style image generation flow in the root README and contributor build docs
  • added a concrete example command for building a Linux ARM64 jar and injecting it into a custom Jetson base image
  • made scripts/generatePiImage.sh configurable with PV_ROOT_PARTITION, PV_PHOTON_DIR, and PV_SYSTEMD_UNIT_DIR

Why

The existing helper and docs only described Raspberry Pi-oriented image generation. That made the Jetson path unclear even though the same basic jar-injection workflow can be reused for custom Linux ARM64 images.

Impact

Developers can now adapt the image helper for Jetson-style layouts without editing the script first, and the docs now make it explicit that a Jetson base .img.xz must be supplied separately.

Validation

  • bash -n scripts/generatePiImage.sh
  • git diff --check

- Added LibraryLoader methods to load NVIDIA AprilTag libraries.
- Created AprilTagBackendManager to manage backend selection for AprilTag detection.
- Introduced AprilTagBackendSelection and AprilTagDetectorBackend enums for backend handling.
- Developed NvidiaAprilTagDetector class for utilizing NVIDIA's CUDA for AprilTag detection.
- Implemented JNI bindings for NVIDIA AprilTag detection in NvidiaAprilTagJNI.
- Added native API header for NVIDIA AprilTag functionality.
- Created unit tests for AprilTagBackendManager to validate backend selection logic.
- Added benchmark tests for performance comparison between CPU and NVIDIA backends.
@github-actions github-actions bot added documentation Anything relating to https://docs.photonvision.org backend Things relating to photon-core and photon-server labels Apr 13, 2026
@EV3KevinDEV EV3KevinDEV deleted the codex/document-jetson-image-generation branch April 13, 2026 15:56
@EV3KevinDEV EV3KevinDEV changed the title [codex] document jetson image generation ignore Apr 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend Things relating to photon-core and photon-server documentation Anything relating to https://docs.photonvision.org

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant