138 lines
1.7 KiB
Markdown
138 lines
1.7 KiB
Markdown
# Тестовый стенд v0
|
|
```d2
|
|
direction: right
|
|
ПК: {
|
|
PySimSheduler (Python): {
|
|
sat: Модель КА
|
|
mag: Модель МПЗ
|
|
adcs: Модель СОС
|
|
db: БД
|
|
|
|
sat -> adcs
|
|
mag -> sat
|
|
adcs -> sat
|
|
|
|
sat <-> db: {
|
|
style: {
|
|
stroke-dash: 3
|
|
}
|
|
}
|
|
mag <-> db: {
|
|
style: {
|
|
stroke-dash: 3
|
|
}
|
|
}
|
|
adcs <-> db: {
|
|
style: {
|
|
stroke-dash: 3
|
|
}
|
|
}
|
|
}
|
|
}
|
|
```
|
|
|
|
![[Pasted image 20260526083938.png]]
|
|
|
|
# Тестовый стенд v1
|
|
```d2
|
|
direction: right
|
|
ПК: {
|
|
sim: PySimSheduler (Python)
|
|
prot: Prototype (Rust)
|
|
|
|
sim: {
|
|
sat: Модель КА
|
|
mag: Модель МПЗ
|
|
db: БД
|
|
|
|
mag -> sat
|
|
|
|
db <-> sat: {
|
|
style: {
|
|
stroke-dash: 3
|
|
}
|
|
}
|
|
db <-> mag: {
|
|
style: {
|
|
stroke-dash: 3
|
|
}
|
|
}
|
|
}
|
|
|
|
prot: {
|
|
adcs: Модель СОС
|
|
adpt: UDP Адаптер
|
|
|
|
adpt <-> adcs: {
|
|
style: {
|
|
stroke-dash: 3
|
|
}
|
|
}
|
|
}
|
|
|
|
sim.sat -> prot.adcs
|
|
prot.adcs -> sim.sat
|
|
|
|
sim.db <-> prot.adpt: {
|
|
style: {
|
|
stroke-dash: 3
|
|
}
|
|
}
|
|
}
|
|
```
|
|
|
|
# Тестовый стенд v2
|
|
```d2
|
|
direction: right
|
|
|
|
pc: ПК
|
|
mcu: MCU
|
|
|
|
mcu: {
|
|
fw: Firmware (Rust)
|
|
fw: {
|
|
adcs: СОС
|
|
adpt: UART Адаптер
|
|
|
|
adpt <-> adcs: {
|
|
style: {
|
|
stroke-dash: 3
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
pc: {
|
|
sim: PySimSheduler (Python)
|
|
|
|
sim: {
|
|
sat: Модель КА
|
|
mag: Модель МПЗ
|
|
db: БД
|
|
|
|
mag -> sat
|
|
|
|
db <-> sat: {
|
|
style: {
|
|
stroke-dash: 3
|
|
}
|
|
}
|
|
db <-> mag: {
|
|
style: {
|
|
stroke-dash: 3
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
pc.sim.sat <-> mcu.fw.adcs
|
|
mcu.fw.adcs -> pc.sim.sat
|
|
|
|
pc.sim.db <-> mcu.fw.adpt: {
|
|
style: {
|
|
stroke-dash: 3
|
|
}
|
|
}
|
|
```
|
|
|