Skip to content

feat(physics): wire spatial index and LP-0 systems#141

Merged
erematorg merged 2 commits into
erematorg:mainfrom
M1thieu:main
Jan 22, 2026
Merged

feat(physics): wire spatial index and LP-0 systems#141
erematorg merged 2 commits into
erematorg:mainfrom
M1thieu:main

Conversation

@M1thieu
Copy link
Copy Markdown
Collaborator

@M1thieu M1thieu commented Jan 21, 2026

Pull Request

Objective

  • Align LP’s physics scaffolding with explicit IRL laws/approximations and improve scheduling safety for real-time simulation.
  • Clean up docs/licensing and make CI safe on GitHub runners.

Implementation

  • Added UnifiedSpatialIndex with correct membership tracking and PreUpdate maintenance.
  • Wired Coulomb/thermal systems to the unified index and ordered physics sets.
  • Added SI units helpers and smooth force cutoffs; improved stability/diagnostics.
  • Updated README + crate READMEs for honest scope and dual-license clarity.
  • CI now uses RUSTFLAGS=-Ctarget-cpu=generic to avoid SIGILL on runners.

Testing

  • cargo fmt --all
  • cargo clippy --workspace -- -A clippy::upper-case-acronyms -A clippy::manual-flatten -A clippy::excessive-precision -A clippy::too-many-arguments
  • cargo test --workspace

Visual Changes

  • README badges/structure, Simulation Scope, Status/Warning cleanup.
  • Added license section and dual-license files.

Technical Notes

Clarify scope/status, add dual-license files, and set crate license metadata.
Add unified spatial index, SI units helpers, Coulomb/thermal updates, and smoke tests.
@erematorg erematorg merged commit 898b752 into erematorg:main Jan 22, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants