You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: FprimeZephyrReference/Components/Burnwire/docs/sdd.md
+13-9Lines changed: 13 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,8 @@
1
1
# Components::Burnwire
2
2
3
-
Driving the Burnwire on and off. The deployment will be handled by the Antenna Deployment component TODO ADD details
3
+
Driving the Burnwire on and off. This component activates the two pins that are required to heat the burnwire resisitor. The burnwire deployment will be handled by the Antenna Deployment, that will call the ports in the burnwire deployment. For testing, the commands to directly call the burnwire have been left in.
4
+
5
+
Burnwire is agnostic to the ideal safety count, it simply sets it to be whatever the port or command passes onto
4
6
5
7
## Sequence Diagrams
6
8
Add sequence diagrams here
@@ -9,12 +11,13 @@ Add sequence diagrams here
9
11
Add requirements in the chart below
10
12
| Name | Description | Validation |
11
13
| ---- | ----------- | ------ |
12
-
|BW-001|The burnwire shall turn on in response to a port call|Hardware Test|
13
-
|BW-002|The burnwire shall turn off in response to a port call|Hardware Test|
14
+
|BW-001|The burnwire shall turn on and off in response to a port calls|Hardware Test|
15
+
|BW-002|The burnwire shall turn on and off in response to commands (TBR for testing for now)|Hardware Test|
14
16
|BW-003|The burnwire component shall provide an Event when it is turned on and off |Integration Test|
15
17
|BW-004|The burnwire component shall activate by turning the GPIO pins on one at a time |Integration Test|
16
-
|BW-005|The burnwire component shall be controlled by a safety timeout attached to a 1Hz rate group that can be changed within the code |Integration Test|
17
-
|BW-006|The burnwire safety time shall emit an event when it starts and stops |Integration Test|
18
+
|BW-005|The burnwire component shall be controlled by a safety timeout attached to a 1Hz rate group |Integration Test|
19
+
|BW-006|The safety timeout shall emit an event when it is changes | Integration test|
20
+
|BW-007|The burnwire safety time shall emit an event when it starts and stops |Integration Test|
18
21
19
22
## Port Descriptions
20
23
Name | Type | Description |
@@ -28,14 +31,15 @@ Name | Type | Description |
28
31
## Commands
29
32
| Name | Description |
30
33
| ---- | ----------- |
31
-
|START_BURNWIRE|Starts the Burn|
34
+
|START_BURNWIRE|Starts the Burn. Takes a argument max_duration which sets the parameter safetyMaxCount to timeout the burnwire|
32
35
|STOP_BURNWIRE|Stops the Burn|
33
36
34
37
## Events
35
38
| Name | Description |
36
39
|---|---|
37
-
|Burnwire_Start|Emitted once the burnwire has started|
38
-
|Burnwire_Stop|Emitted once the burnwire has ended|
40
+
|SetBurnwireState|Emits whether the burnwire turns off or on when it changes state|
41
+
|SafetyTimerStatus|Emits when the Safety Time has stopped or started|
42
+
|SafetyTimerState|Emits the safety timer argument when it starts|
39
43
40
44
41
45
## Component States
@@ -55,4 +59,4 @@ Add unit test descriptions in the chart below
55
59
56
60
## Parameter
57
61
| Name | Description |
58
-
|m_safetyMaxCount | The maximum amount that the burnwire will burn before stopping itself for safety |
62
+
| SAFETY_TIMER | By Default set in fpp (currently 10) is the max time the burnwire should ever run|
0 commit comments