Skip to main content

Module units

Module units 

Source
Expand description

Type-safe physical units (Poka-Yoke).

Implements Kennedy’s dimensional analysis principles [28] to eliminate dimensional errors at compile time. All physical quantities use newtype wrappers from the uom crate.

§Toyota Way Alignment

  • Poka-Yoke (ポカヨケ): Mistake-proofing through design constraints
  • Compile-time dimensional analysis prevents position + velocity errors

§References

[28] A. J. Kennedy, “Dimension Types,” ESOP ’94, LNCS vol. 788, pp. 348-362, 1994.

Structs§

Acceleration3D
Type-safe 3D acceleration vector with dimensional safety.
OrbitMass
Type-safe mass wrapper.
OrbitTime
Type-safe time wrapper.
Position3D
Type-safe 3D position vector with dimensional safety.
Velocity3D
Type-safe 3D velocity vector with dimensional safety.

Constants§

AU
Astronomical unit in meters.
EARTH_MASS
Earth mass in kilograms.
G
Gravitational constant (m³ kg⁻¹ s⁻²).
SOLAR_MASS
Solar mass in kilograms.