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
passive component that handles camera specific payload capabilities
3
+
Passive component that handles camera specific payload capabilities.
4
+
- Taking Images
5
+
- Pinging
4
6
5
7
## Usage Examples
6
-
Add usage examples here
7
-
8
-
### Diagrams
9
-
Add diagrams here
8
+
The camera handler can be commanded to take an image, after which it will forward a command to the PayloadCom component. It will then read in data from the PayloadCom until the image has finished sending.
10
9
11
10
### Typical Usage
12
-
And the typical usage of the component here
13
-
14
-
## Class Diagram
15
-
Add a class diagram here
11
+
Prior to taking a picture, the payload power loadswitch must be activated. Then "PING" the camera with the ping command. If the PING command returns successfully, then the camera is ready to take an image.
16
12
17
13
## Port Descriptions
18
14
| Name | Description |
19
-
|---|---|
20
-
|---|---|
15
+
|commandOut|Command to forward to the PayloadCom component|
16
+
|dataIn|Data received from the PayloadCom component|
21
17
22
18
## Component States
23
19
Add component states in the chart below
24
20
| Name | Description |
25
-
|---|---|
26
-
|---|---|
27
-
28
-
## Sequence Diagrams
29
-
Add sequence diagrams here
30
-
31
-
## Parameters
32
-
| Name | Description |
33
-
|---|---|
34
-
|---|---|
21
+
|m_receiving|True when the camera is currently receiving image data|
35
22
36
23
## Commands
37
24
| Name | Description |
38
-
|---|---|
39
-
|---|---|
25
+
|PING|Send a ping to the camera - wait for a response|
26
+
|TAKE_IMAGE|Send "snap" command to the payload com component|
27
+
|SEND_COMMAND|Send a user-specified command to the payload com component|
40
28
41
29
## Events
42
30
| Name | Description |
@@ -57,10 +45,12 @@ Add unit test descriptions in the chart below
57
45
## Requirements
58
46
Add requirements in the chart below
59
47
| Name | Description | Validation |
60
-
|---|---|---|
61
-
|---|---|---|
48
+
|CameraHandler-001|The CameraHandler has a command to take an image. |Manual Test|
49
+
|CameraHandler-002|The CameraHandler has a command to "ping" the camera. |Manual Test|
50
+
|CameraHandler-003|The Camera Handler forwards the commands to the PayloadCom Component.|Manual Test|
51
+
|CameraHandler-004|The Camera Handler receives all image data bytes and saves them to a new file.|Manual Test|
0 commit comments