Prusa-Firmware-MMU/tests/unit/modules
Yuri D'Elia 3fbdf8bb2b motion: PlanMove() correctly also when overflowing Position()
Correctly compute both the number of steps and direction when
under/overflowing the current position by performing a relative move.

This makes a repeated PlanMove() _always_ perform the move correcly,
even when the upper-level code might require to handle the overflow
itself for measurement.

Add tests for this condition by exposing the internal CurBlockShift() to
the motion unit tests.
2022-05-11 08:48:53 +02:00
..
buttons Extract buttonADCMaxValue into config 2022-02-17 08:21:15 +01:00
leds Fix (workaround) LED blink when millis overflow + unit test 2021-10-18 16:30:08 +02:00
motion motion: PlanMove() correctly also when overflowing Position() 2022-05-11 08:48:53 +02:00
protocol Detect successful end of logic::command + start idle countdown 2022-05-10 20:03:16 +02:00
pulse_gen motion: Remove the TODO (tests are now complete) 2022-05-11 08:48:53 +02:00
speed_table tests: remove relative cmake paths in pulse_gen/speed_table 2021-07-12 11:11:49 +02:00
stubs Detect successful end of logic::command + start idle countdown 2022-05-10 20:03:16 +02:00
CMakeLists.txt Motion: add initial test infrastructure and stubs 2021-07-13 16:16:56 +02:00