feat(i18n): tools + landing page + doorstop generator in English
Phase 1 of full English translation: - generate_doorstop_items.py: all 55 items (SG/SYS/SWE/SA/SWA) rewritten in English - generate_landing_page.py: full UI labels, KPI cards, section headings in English - traceability.py: docstring, error messages, HTML headers in English - generate_test_report.py: report content + table headers in English - All 55 markdown items in safety/sg/, reqs/, arch/ regenerated in English Still to come: - demo-epb filled Word docs (PID, plans, safety, manuals, audit artefacts) - Code comments + test names + CI workflow step names - README + dev-process repo templates
This commit is contained in:
+22
-21
@@ -16,12 +16,13 @@ asil: D
|
||||
|
||||
# SWA-002: Apply Controller
|
||||
|
||||
## Verantwortung
|
||||
## Responsibility
|
||||
|
||||
Zentraler Controller fuer Apply, Hold und Release der Parkbremse.
|
||||
ASIL-D-Kern der EPB-Software. Implementiert in `src/apply_controller.c`.
|
||||
Central controller for apply, hold and release of the parking brake.
|
||||
ASIL-D core of the EPB software. Implemented in
|
||||
`src/apply_controller.c`.
|
||||
|
||||
## Statische Sicht
|
||||
## Static view
|
||||
|
||||
```plantuml
|
||||
@startuml
|
||||
@@ -34,7 +35,7 @@ ASIL-D-Kern der EPB-Software. Implementiert in `src/apply_controller.c`.
|
||||
@enduml
|
||||
```
|
||||
|
||||
## Schnittstellen (Provided)
|
||||
## Provided interfaces
|
||||
|
||||
```c
|
||||
Status apply_ctrl_init(void);
|
||||
@@ -42,7 +43,7 @@ void apply_ctrl_step_50ms(const ApplyInputs* in);
|
||||
EpbStatus apply_ctrl_get_status(void);
|
||||
```
|
||||
|
||||
## Dynamisches Verhalten
|
||||
## Dynamic behaviour
|
||||
|
||||
```plantuml
|
||||
@startuml
|
||||
@@ -58,24 +59,24 @@ Error --> Released : reset & no fault
|
||||
@enduml
|
||||
```
|
||||
|
||||
## Ressourcen
|
||||
## Resources
|
||||
|
||||
- Stack: <= 384 B
|
||||
- Worst-Case Timing: 350 us / Aufruf
|
||||
- Worst-case timing: 350 us per call
|
||||
|
||||
## Designentscheidungen
|
||||
## Design decisions
|
||||
|
||||
| Entscheidung | Begruendung |
|
||||
|--------------|-------------|
|
||||
| Statische Allokation, kein Heap | Determinismus, MISRA C 21.3 |
|
||||
| State Machine | Einfacher zu verifizieren, deterministisch |
|
||||
| 50ms Step-Funktion | Synchron zur Inclinometer-Abtastung |
|
||||
| Decision | Rationale |
|
||||
|----------|-----------|
|
||||
| Static allocation, no heap | Determinism, MISRA C 21.3 |
|
||||
| State machine | Easier to verify, deterministic |
|
||||
| 50 ms step function | Synchronous with inclinometer sample rate |
|
||||
|
||||
## Mapping auf Anforderungen
|
||||
## Mapping to requirements
|
||||
|
||||
| Anforderung | Wie abgedeckt |
|
||||
|-------------|---------------|
|
||||
| SWE-001 | Hold-Zustand mit periodischer Klemmkraft-Pruefung |
|
||||
| SWE-002 | Watchdog-Pet im step_50ms |
|
||||
| SWE-003 | sw_apply Input wird sofort ausgewertet |
|
||||
| SWE-004 | Current-Target-Detektion via Actuator-Driver-Feedback |
|
||||
| Requirement | How covered |
|
||||
|-------------|-------------|
|
||||
| SWE-001 | Hold state with periodic clamping-force check |
|
||||
| SWE-002 | Watchdog pet in step_50ms |
|
||||
| SWE-003 | sw_apply input is evaluated immediately |
|
||||
| SWE-004 | current-target detection via actuator-driver feedback |
|
||||
|
||||
Reference in New Issue
Block a user