Crumple Zone: Crash Test Dummy Simulator
README.md
crashRig.launch
The rig's three launch modes (tow, drive, ramp) and the ramp launch's geometry, in one place.
CrashRig uses Launch.ramp(speedKmh) and Launch.rampPose(...) to build the ramp and to set the
tow's release speed; the rig gallery draws the same ramp; the test suite checks the angle stays within
2 to 12 degrees and that a faster test gets a flatter ramp.
Launch.MODES:{ id, name, detail }for each mode, for a menu.Launch.ramp(speedKmh):{ theta, length, h, lip, land, vLip, vRelease }, angle in radians, lip heighth(m), the speed to leave the lip at and the speed the tow lets go at (m/s).Launch.rampPose(g, x, y, faceZ, width): the unit cube's position, rotation and scale for a barrier face atfaceZwith the car running toward -Z.