Robin Mueller
d2eeae9874
remove old dead code
2026-09-16 13:56:31 +02:00
Robin Mueller
d6dbf36c41
extract switch and mode helper
2026-09-16 13:55:15 +02:00
Robin Mueller
fe970ad881
feat: add FDIR fault counter and wire it into the MGM device handler
...
Add satrs::fdir::FaultCounter, an FSFW-style error threshold counter:
counts faults, decrements over time when faults stop, and reports
when a threshold is exceeded. Two variants for now, mirroring the
hk.rs helper pattern:
- FaultCounterStd, backed by std::time::Instant
- FaultCounterEmbassy, backed by embassy_time::Instant (embassy-time
feature), with an optional defmt::Format impl gated on the defmt
feature
Add satrs::health::HealthTableMapSync::default() for easy construction
of a shared, global health table.
Wire both into the example app's MGM device handler as the first real
FDIR use case:
- the minisim MGM model gains SpiFaultMode (None/AllZeros/AllOnes) and
a SetSpiFault request, so a stuck SPI bus can be injected for testing,
independent of switch state
- MgmHandlerLis3Mdl::poll_sensor checks the SPI transfer result: a
comm timeout or an all-1s stuck-bus reply (the same pattern the sim
already uses for "device off") counts as a fault. Above threshold,
the component is marked Faulty in a HealthTableMapSync shared from
main.rs. This logic lives in the device handler, not the SPI comm
layer, since deciding what a failed transfer means for FDIR is a
handler concern.
- an all-0s reply is deliberately not treated as a fault, since it
collides with a legitimate zero-field reading
2026-09-16 13:23:01 +02:00
muellerr
9de9ce3131
Merge pull request 'add sat-rs system view' ( #278 ) from satrs-system-view into main
...
Reviewed-on: #278
2026-09-15 15:47:13 +02:00
Robin Mueller
87fc65fdd4
add sat-rs system view
2026-09-15 15:46:26 +02:00
Robin Mueller
877312d3c3
Merge pull request #4 from 0rlych1kk4/fix/ccsds-packet-length
...
fix: correct CCSDS packet length calculation
2026-09-01 12:50:12 +02:00
0rlych1kk4
1649306802
fix: correct CCSDS packet length calculation
...
Signed-off-by: 0rlych1kk4 <orlychikka@gmail.com >
2026-08-31 14:28:24 +08:00
muellerr
12824b2906
Merge pull request 'small documentation fix' ( #276 ) from small-doc-fix into main
...
Reviewed-on: #276
2026-08-26 15:33:06 +02:00
Robin Mueller
cbce7916c2
small documentation fix
2026-08-26 15:32:06 +02:00
muellerr
54971683bf
Merge pull request 'continue PUS removal' ( #275 ) from continue-pus-removal into main
...
Reviewed-on: #275
2026-08-26 15:24:32 +02:00
Robin Mueller
4ba4d3e6a3
try to update more chapters
2026-08-26 15:24:08 +02:00
muellerr
2d9b14e69e
Merge pull request 'update satrs book' ( #274 ) from update-satrs-book into main
...
Reviewed-on: #274
2026-08-25 18:56:14 +02:00
Robin Mueller
d2b8bc6afb
update satrs book
2026-08-25 18:55:52 +02:00
muellerr
2cf39a0e1c
Merge pull request 'add tmtc-utils crate' ( #273 ) from add-tmtc-utils-crate into main
...
Reviewed-on: #273
2026-08-25 17:54:14 +02:00
Robin Mueller
1e44b2d59f
add tmtc-utils crate
2026-08-25 17:53:38 +02:00
muellerr
c40b8f32c9
Merge pull request 'continue subsystem integration' ( #272 ) from start-adding-acs-subsys into main
...
Reviewed-on: #272
2026-08-25 16:58:50 +02:00
Robin Mueller
f6a87cff28
continue subsystem integration
2026-08-25 16:57:34 +02:00
muellerr
8195dac587
Merge pull request 'Rename example models crates to types' ( #271 ) from rename-model-crates-to-types into main
...
Reviewed-on: #271
2026-08-25 14:19:17 +02:00
Robin Mueller and Claude Sonnet 5
5fffcc011f
Rename example models crates to types
...
- satrs-example/models (package "models") -> satrs-example/types ("types")
- embedded-examples/models (package "embedded-models") -> embedded-examples/types ("embedded-types")
Updates all path dependencies and use/models:: references accordingly.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com >
2026-08-25 14:13:02 +02:00
muellerr
3e4c3c4e64
Merge pull request 'start adding ACS subsystem' ( #266 ) from start-adding-acs-subsys into main
...
Reviewed-on: #266
2026-07-28 17:07:25 +02:00
Robin Mueller
3f0937de83
start adding ACS subsystem
2026-07-28 17:00:26 +02:00
muellerr
d2db28468f
Merge pull request 'ran cargo update' ( #270 ) from dep-update into main
...
Reviewed-on: #270
2026-07-10 12:05:22 +02:00
muellerr
3550026c00
ran cargo update
2026-07-07 13:27:43 +02:00
muellerr
ad4908feef
Merge pull request 'update STM32F3 example code' ( #268 ) from update-stm32f3-example-code into main
...
Reviewed-on: #268
2026-07-07 13:24:51 +02:00
muellerr
20bc6c4fb6
update STM32F3 example code
2026-07-07 13:21:26 +02:00
muellerr
e97e6f2a54
Merge pull request 'smaller fixes' ( #269 ) from smaller-fixes into main
...
Reviewed-on: #269
2026-05-19 11:57:00 +02:00
Robin Mueller
1c9ebe8a75
smaller fixes
2026-05-19 11:56:44 +02:00
muellerr
7a464843ed
Merge pull request 'update STM32H7 example code' ( #267 ) from update-stm32h7-example-code into main
...
Reviewed-on: #267
2026-05-19 11:52:45 +02:00
Robin Mueller
d58b1db55b
update STM32H7 example code
2026-05-19 11:51:43 +02:00
muellerr
b1253eaad4
Merge pull request 'Rework ACS' ( #264 ) from rework-acs into main
...
Reviewed-on: #264
2026-03-18 11:19:24 +01:00
Robin Mueller
ae4d26b8bd
re-work ACS
2026-03-17 15:56:25 +01:00
muellerr
cfcfabb5e3
Merge pull request 'fixes for switching' ( #262 ) from fix-for-mgm-switching into main
...
Reviewed-on: #262
2026-03-12 13:48:04 +01:00
Robin Mueller
70f747ad86
fixes for switching
2026-03-12 13:45:19 +01:00
muellerr
f44aac6ea2
Merge pull request 'probably need to re-work the mode model..' ( #261 ) from continue-example-update into main
...
Reviewed-on: #261
2026-03-12 12:01:16 +01:00
Robin Mueller
df517af85b
probably need to re-work the mode model..
2026-03-12 12:00:24 +01:00
muellerr
ae9edf5888
Merge pull request 'minor clean up' ( #260 ) from minor-cleanup into main
...
Reviewed-on: #260
2026-03-10 11:57:21 +01:00
Robin Mueller
512384026c
minor clean up
2026-03-10 11:56:39 +01:00
muellerr
42c7a3b9ee
Merge pull request 'Move to CCSDS + serde, rip out PUS' ( #259 ) from move-to-ccsds-and-serde into main
...
Reviewed-on: #259
2026-03-10 11:56:16 +01:00
muellerr
1e15e3d501
move to CCSDS + serde for sat-rs example
2026-03-10 11:45:11 +01:00
muellerr
d7e6732888
Merge pull request 'CCSDS scheduler' ( #258 ) from ccsds-scheduler into main
...
Reviewed-on: #258
2025-11-27 16:09:52 +01:00
Robin Mueller
c27569a526
new CCSDS packet scheduler
2025-11-27 16:02:39 +01:00
muellerr
b2bc87641c
Merge pull request 'bumped sat-rs' ( #257 ) from bump-satrs into main
...
Reviewed-on: #257
satrs-v0.3.0-alpha.3
2025-11-06 14:54:05 +01:00
Robin Mueller
c8245772bb
bumped sat-rs
2025-11-06 14:53:49 +01:00
muellerr
56d9cafa59
Merge pull request 'small changelog tweak' ( #256 ) from small-changelog-tweak into main
...
Reviewed-on: #256
satrs-shared-v0.2.4
2025-11-06 14:51:07 +01:00
Robin Mueller
7de057aaf2
small changelog tweak
2025-11-06 14:50:38 +01:00
muellerr
2f4a11a0bc
Merge pull request 'bump spacepackets version' ( #255 ) from bump-spacepackets-version into main
...
Reviewed-on: #255
2025-11-06 14:48:06 +01:00
Robin Mueller
0cd929a19c
bumped spacepackets version
2025-11-06 14:47:27 +01:00
muellerr
d54167837e
Merge pull request 'updated STM32F3 RTICv2 example' ( #254 ) from update-embedded-examples into main
...
Reviewed-on: #254
2025-10-31 14:31:05 +01:00
Robin Mueller
ecce07a471
updated STM32F3 RTICv2 example
2025-10-31 14:27:29 +01:00
muellerr
526254851a
Merge pull request 'updated dependencies' ( #253 ) from update-dependencies into main
...
Reviewed-on: #253
2025-10-29 16:41:58 +01:00