Repository navigation
Ondersteun bodemplaatverwarming in de ODU-simulator - #4
Merged
Merged
Conversation
Voeg de bodemplaatregisters 3236..3238 toe (modus, starttemperatuur als raw, stopdelta) met lezen, schrijven en een profielafhankelijke default: V1 start op modus 1, V1.5/V2 op modus 3. Hiermee kan PR #743 (variantbewuste bodemplaatverwarming) in HIL worden getest. Bij mode!=0 worden eerst de drempels geschreven en de modus als laatste; bij modus 0 wordt de modus als eerste geschreven, net als bottom_plate_write_targets in de controller. Hosttest dekt de round-trip, de default per variant en de bereikcontrole.
9 of 18 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Voegt de bodemplaatverwarming-registers toe aan de ODU-simulator zodat
PR #743 (OpenQuatt/OpenQuatt#743, variantbewuste bodemplaatverwarming) in
HIL op hardware kan worden getest.
Toegevoegd
stopdelta — lezen én schrijven, met een profielafhankelijke default:
V1 start op modus 1, V1.5/V2 op modus 3. Dit komt overeen met
default_bottom_plate_settings()in de controller.Write-orde
De simulator volgt dezelfde volgorde als
bottom_plate_write_targetsin decontroller: bij een modus ≠ 0 worden eerst de drempels (3237/3238) geschreven en
de modus (3236) als laatste; bij modus 0 wordt de modus als eerste geschreven.
Zo kan een onderbroken schrijfreeks nooit een nieuwe modus met verouderde
drempels activeren.
Getest (HIL, controller-PR #743
0x78c96fab, simulator0xf1328fb9)(cbi 55 resp. 3639).
invalid_settings, statusINVALID_SETTINGS, geen registerwrite (zoals bedoeld).IN_SYNC, readback exact; modus 1 idem.IN_SYNC, readback exact.Zie ook OpenQuatt/OpenQuatt#743.