Prusa-Firmware-MMU/tests/unit
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
..
hal Disable preprocessor code indentation 2021-07-07 16:33:03 +02:00
logic Add unit tests for logic state machines reusal 2021-08-12 10:30:40 +02:00
modules Complete motion ramp checks 2021-08-12 17:50:07 +02:00
CMakeLists.txt Do not use hard-to-read relative paths in CMake 2021-07-12 09:09:21 +02:00
system_test.cpp Remove invalid/useless test sizeof(ptr) == 4 2021-06-29 08:59:36 +02:00
test_main.cpp Add first unit test 2021-05-13 17:35:08 +02:00