Prusa-Firmware-MMU/tests/unit/modules
Yuri D'Elia 240f4c28ab Complete motion ramp checks
- Add additional information in the output generated by rampgen in order
  to allow recalculating the acceleration curves independently
- Implement motion ramp checks inside test_motion_ramp.py

test_motion_ramp reads the output of a merged stepping sequence and
splits the motion of each axis, checking the acceleration curves
independently.

This ensures both that the acceleration curves are correct (as generated
by the PulseGen class) and that the multiplexed moves are too.

The nominal rate is checked exactly, while the acceleration/deceleration
segment allow for some deviation from an ideal curve.

This is currently 5% for both expected speed and acceleration, with
an absolute limit of 20mm/s of maximum difference in each point.
2021-08-12 17:50:07 +02:00
..
buttons Introduce short namespace aliases 2021-08-04 11:03:56 +02:00
leds Fix LED unit tests 2021-08-04 11:40:02 +02:00
motion Complete motion ramp checks 2021-08-12 17:50:07 +02:00
protocol Add K1, 2, 3, 4 into unit tests 2021-08-12 10:55:27 +02:00
pulse_gen PulseGen: introduce CurPosition() for testing 2021-07-13 00:48:44 +02:00
speed_table tests: remove relative cmake paths in pulse_gen/speed_table 2021-07-12 11:11:49 +02:00
stubs Introduce short namespace aliases 2021-08-04 11:03:56 +02:00
CMakeLists.txt Motion: add initial test infrastructure and stubs 2021-07-13 16:16:56 +02:00