forked from nasa/astrobee
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeployment.puml
151 lines (120 loc) · 3.03 KB
/
deployment.puml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
@startuml
!include "colors.puml"
!define COLOR_MPROC COLOR_6PASTEL_5
!define COLOR_PSOM COLOR_6PASTEL_3
'!define SHOW_NETWORK
'!define SHOW_OS
skinparam component {
backgroundColor COLOR_6PASTEL_2
borderColor COLOR_6DARK_2
arrowColor #MidnightBlue
}
skinparam interface {
borderColor<<wired>> COLOR_6DARK_4
backgroundColor<<wired>> COLOR_6PASTEL_4
borderColor<<wifi>> COLOR_6DARK_6
backgroundColor<<wifi>> COLOR_6PASTEL_6
}
title Astrobee Hardware Deployement Diagram
frame Dock {
interface "Network \n Switch \n(to each \n dock berths)" <<wired>> as ethd
node DockBoard <<Wandboard Dual>> COLOR_PSOM [
**Dock** Processor
!ifdef SHOW_OS
//Ubuntu//
!endif
]
node "Dock Controller" <<PIC>> as DockControl COLOR_MPROC
node ["DockActuator (2x)"] as DA
DockControl -- DA
}
frame Astrobee {
interface "Network \n Switch" <<wired>> as etha
node HLP <<Inforce 6601>> COLOR_PSOM [
**HLP**
!ifdef SHOW_OS
//Android//
!endif
]
node MLP <<Inforce 6501>> COLOR_PSOM [
**MLP**
!ifdef SHOW_OS
//Ubuntu//
!endif
]
node LLP <<Wandboard Dual>> COLOR_PSOM [
**LLP**
!ifdef SHOW_OS
//Ubuntu//
!endif
]
node "PMC (2x)" <<PIC>> as PMC COLOR_MPROC
node "SignalLight (2x)" <<PIC>> as SL COLOR_MPROC
node Speedcam <<ARM Cortex>> COLOR_6PASTEL_1
node EPS <<PIC>> COLOR_MPROC
node PerchArm <<PIC>> COLOR_MPROC
[Scicam] -- HLP : MIPI-CSI
[TouchScreen] -- HLP : MIPI-DSI
[Microphone] -- HLP : audio
[Speaker] -- HLP : audio
[IMU] -- LLP : SPI
[Laser] -- LLP : GPIO
[FrontLight] --o LLP : I2C (i2c-1)
[BackLight] --o LLP : I2C (i2c-1)
[Navcam] -- MLP : USB
[Dockcam] -- MLP : USB
[Hazcam] -- MLP : USB
[Perchcam] -- MLP : USB
EPS -- [StatusLights] : GPIO
EPS o-- [SmartBatteries] : I2C/SMbus
interface "MLP Wifi" <<wifi>> as mlp_wifi
interface "HLP Wifi" <<wifi>> as hlp_wifi
HLP -- etha
MLP -- etha
mlp_wifi -left- MLP
hlp_wifi -left- HLP
}
!ifdef SHOW_NETWORK
frame "ISS Services" {
interface "ISS Wifi" <<wifi>> as iss_wifi
interface "ISS Payload LAN" <<wired>> as wired
iss_wifi -down- wired
}
wired -down- ethd
mlp_wifi ..right.. iss_wifi
hlp_wifi ..right.. iss_wifi
!endif
etha -right- ethd
DockBoard -left- ethd
DockBoard o-- DockControl : I2C
EPS o-right- DockControl : "I2C (2x)"
MLP -- PerchArm : USB
etha -l- LLP
LLP "2" o-- PMC : I2C (i2c-2)
LLP "2" o-- SL : I2C (i2c-1)
LLP -- Speedcam : USB
LLP o-- EPS : I2C (i2c-1)
' To help get a nice layout:
PMC -[hidden]- SL
PMC -[hidden]> Speedcam
Speedcam -[hidden]> EPS
MLP --[hidden]-- LLP
HLP --[hidden]-- MLP
' Notation used in the diagram:
node ProcessorLegend COLOR_PSOM
node MicrocontrollerLegend COLOR_MPROC
ProcessorLegend -- [DeviceLegend] : communication protocol\n indicated
ProcessorLegend o-- MicrocontrollerLegend : losange indicates master\n if I2C device
note top of ProcessorLegend
Microprocessor
(System On Chip computer)
end note
note bottom of [DeviceLegend]
Hardware component (sensor
or actuator
end note
note bottom of MicrocontrollerLegend
Microntroller with custom
firmware
end note
@enduml