D.R.racer
6426295e32
Change the semantics of load filament
...
Load filament performs feed to FINDA and retract:
- engage idler
- feed normal to FINDA with config::feedToFinda distance until FINDA triggers
- retract normal and as soon FINDA un-triggers move back to PTFE config::cuttingEdgeToFindaMidpoint
- disengage the idler
That implied introducing another substate machine - RetractFromFinda, which does the opposite
of FeedToFinda while also checking for the FINDA switching off while retracting filament.
Still, ToolChange and CutFilament need fixing with this change
2021-10-12 18:11:05 +02:00
D.R.racer
01b2280ea6
Fix Feed To Bondtech unit tests (disengage idler after success)
2021-10-12 18:11:05 +02:00
D.R.racer
06e4cd900f
Fix Feed To Bondtech tests tags
2021-10-12 18:11:05 +02:00
D.R.racer
1563559685
Fix startup conditions for Unload to FINDA state machine tests
2021-10-12 18:11:05 +02:00
D.R.racer
2ca951ceea
Fix test_unload_filament
...
only green LED status was not correct after the latest changes
2021-10-12 18:11:05 +02:00
D.R.racer
1a6f49410c
Fix test_failing_tmc
2021-10-12 18:11:05 +02:00
D.R.racer
bb574603ba
Reformat helpers.ipp - makes placing breakpoint easier
2021-10-12 18:11:05 +02:00
D.R.racer
5eedeb0968
Remove redundant ::Color and ::Mode for LED colors and modes
...
makes the code shorter and more readable, no identifier clashes revealed
2021-10-12 18:11:05 +02:00
D.R.racer
53b329941f
Keep constants start with lowercase letter
...
and remove a few warnings from the build
2021-10-12 18:11:05 +02:00
D.R.racer
ac1f13672a
Fix format config.h
2021-10-12 18:11:05 +02:00
3d-gussner
0bead533df
clang-format
2021-10-12 18:11:05 +02:00
3d-gussner
5f28dbf056
Fix unit test feed to finda
2021-10-12 18:11:05 +02:00
3d-gussner
15adeaa180
Add DEBUG_LOGIC
2021-10-12 18:11:05 +02:00
3d-gussner
b8259ac555
Fix some LED status
2021-10-12 18:11:05 +02:00
3d-gussner
b1f50d8789
Use constants
2021-10-12 18:11:05 +02:00
3d-gussner
645d0b55ed
Use constants
2021-10-12 18:11:05 +02:00
3d-gussner
c0938e41d5
Use constants
2021-10-12 18:11:05 +02:00
3d-gussner
ddcf24af43
Use constants
2021-10-12 18:11:05 +02:00
3d-gussner
5c44cf9ee0
Add UnloadingToFinda
2021-10-12 18:11:05 +02:00
3d-gussner
afe732d3ff
Use constants
2021-10-12 18:11:05 +02:00
3d-gussner
64bd2bb894
Use constants
2021-10-12 18:11:05 +02:00
3d-gussner
2f2f4d7be3
Add some distances and put axis settings together
2021-10-12 18:11:05 +02:00
D.R.racer
1a5cd52d58
Fix some doxygen comments
2021-09-29 13:28:34 +02:00
D.R.racer
1402fb3dd6
Add 'F' and 'f' decoding + unit tests where necessary
2021-09-29 13:28:34 +02:00
D.R.racer
4900dd0222
Change FilamentSensor msg code from 'F' to 'f'
...
to avoid clash with Filament Type msg (which is not handled yet)
2021-09-29 13:28:34 +02:00
D.R.racer
e277ca75ee
Support F0 in response decoder
2021-09-29 13:28:34 +02:00
D.R.racer
dc3f5764a6
Add filament sensor status reporting from printer into MMU
2021-09-29 13:28:34 +02:00
D.R.racer
e59e7e3884
Make protocol decoder tolerant to leading whitespace
2021-09-29 13:28:34 +02:00
D.R.racer
ee353cd98c
Report "Reset finished" after MMU FW start
...
kudos to @leptun for this original and actually a very clean idea.
For the start we report "Reset finished" which in fact corresponds with the MMU state pretty closely
and plays nicely even with the protocol implementation.
And, since the default startup command is the noCommand, which always returns "Finished"
the implementation is clean and straightforward - the response to the first Q0 messages
will look like "X0 F" until a command (T, L, U ...) has been issued.
2021-09-29 13:28:34 +02:00
D.R.racer
89dcafbcef
Add internal protocol decoding reset
2021-09-29 13:28:34 +02:00
D.R.racer
8a5614844c
Add more error codes for the printer's perspective
2021-09-29 13:28:34 +02:00
D.R.racer
43c953b7f1
Fix appending newline character in puts* methods
2021-09-27 11:15:20 +02:00
D.R.racer
304988fc6c
Simple debug logging via USART1
...
Encapsulates the #define macros and AVR implementation of dumping strings
(RAM and PROGMEM) onto USART1.
2021-09-27 11:15:20 +02:00
DRracer
011b8cae33
Merge pull request #115 from DRracer/lufa-cmake
...
🚧 Add cmake project for LUFA
2021-09-23 13:47:17 +02:00
D.R.racer
57a3cfa109
Fix formatting
2021-09-23 13:43:18 +02:00
D.R.racer
c896031a62
Merge branch 'lufa-cmake' of github.com:DRracer/Prusa-Firmware-MMU-Private into lufa-cmake
2021-09-23 13:40:34 +02:00
D.R.racer
10e08021fb
Another fix format
2021-09-23 13:40:15 +02:00
Alex Voinea
77e0f56142
Merge branch 'main' into lufa-cmake
2021-09-23 04:31:11 -07:00
Alex Voinea
e35ae30470
Remove some debug code
2021-09-23 14:24:07 +03:00
D.R.racer
cddc16dc2e
Tune USB CDC class + doc
2021-09-23 13:14:28 +02:00
D.R.racer
b6d630d1c9
Clean up the code + introduce USB CDC module
...
... and tune some more namespaces
2021-09-23 13:06:36 +02:00
3d-gussner
d3d992da5b
Cheange LED modes to be consistent.
2021-09-23 10:04:50 +02:00
Alex Voinea
f01d3a342f
Fix unit test compatibility with mingw
...
change __mingw32__ to __win32__
2021-09-22 09:08:30 +02:00
Alex Voinea
c2d705e612
Fix unit tests
2021-09-20 19:10:27 +02:00
Alex Voinea
4f6ea16515
Functional USB reset
2021-09-20 19:01:08 +02:00
Alex Voinea
2b9c73dbd5
Make the config more similar to the demo
2021-09-20 19:00:54 +02:00
Alex Voinea
9f0f7bc33b
Fix limits.h naming conflict
2021-09-20 18:18:52 +02:00
Alex Voinea
6346dd3989
USB reset initial
2021-09-20 17:31:45 +02:00
Alex Voinea
29018671b5
Reduce verbosity
2021-09-20 17:31:45 +02:00
Alex Voinea
a8b1725dfe
Line encoding update
2021-09-20 17:31:45 +02:00