Commit Graph

189 Commits

Author SHA1 Message Date
lkoester
b0c831d0dc added sequence counter to verification helper, increments after succesful sending, added very basic test (does it even increment?), needs some more tests probably 2023-03-09 09:03:14 +01:00
bb5279b277 Merge branch 'main' into feature_sender_abstraction_has_id_and_name 2023-02-28 18:43:20 +01:00
2f724f8ce3 Merge branch 'main' into feature_sender_abstraction_has_id_and_name 2023-02-28 18:35:16 +01:00
53003b9c66
allow verif failure and completion starting from accepted
- Also add some prototyping code a prep for generic PUS router
2023-02-28 14:53:57 +01:00
c8d6cc5977
delete code 2023-02-28 14:05:36 +01:00
283fd61f81
TM sender abstractions have ID and name now 2023-02-28 14:01:40 +01:00
lkoester
153659bb88 added getter to mode and submode 2023-02-28 12:02:18 +01:00
lkoester
cf9b12b1dc made mode elements public 2023-02-28 11:59:56 +01:00
9fdd100f13 Merge branch 'main' into feature_change_request_types 2023-02-27 21:45:15 +01:00
6072bc7657
new generic Mpsc PUS senders 2023-02-27 17:00:21 +01:00
1d19f09519
reduced features 2023-02-27 13:44:24 +01:00
f639eb9b9a
refactor messages 2023-02-27 11:51:48 +01:00
b89b4db1db
improve core docs 2023-02-19 18:32:06 +01:00
lkoester
8a025c84b1 changed name convention 2023-02-16 16:37:28 +01:00
lkoester
260ec364e2 added getter fuctions to modecommand 2023-02-16 15:43:10 +01:00
943ae821de
add basic mode request handling 2023-02-15 11:19:23 +01:00
933f94f687
stupid windows 2023-02-15 11:05:32 +01:00
802333cf3e
started adding mode request handler in PUS handler 2023-02-15 02:12:00 +01:00
d960c089fd add mode module with basic defintions 2023-02-15 00:33:33 +01:00
ec46d94dc7
cargo fmt and clippy 2023-02-14 15:53:14 +01:00
lkoester
707baa8585 Merge branch 'request_id_support_sched' into power_abstractions 2023-02-13 09:23:01 +01:00
lkoester
9a7f3962cf modified power abstractions 2023-02-13 09:20:00 +01:00
839762942d
use released spacepackets version again 2023-02-12 17:29:19 +01:00
08cd4c9bf7
almost done 2023-02-12 17:18:19 +01:00
08de5cb41c add deletion unittests 2023-02-12 17:01:30 +01:00
60db6e022d finished retrieval unittests 2023-02-12 16:22:09 +01:00
1fcb8163e4 improved API and fixes tests for it 2023-02-12 01:19:09 +01:00
21b9434d18 the tests work now 2023-02-12 00:31:34 +01:00
bd016130b8 add initial support for request ID in scheduler 2023-02-11 14:03:30 +01:00
lkoester
ae8718ed6a simplified get is switch on 2023-02-07 16:01:25 +01:00
lkoester
be1299e7d6 added result return to get_switch_state 2023-02-07 14:56:50 +01:00
ae3e85c50a
power abstraction 2023-02-06 11:38:13 +01:00
33e6a26d22
completed docs 2023-02-06 00:24:09 +01:00
0c7590414a
small fix 2023-02-06 00:22:38 +01:00
6ef57d57c4
store error propagation tests complete
adding docs
2023-02-06 00:22:07 +01:00
28e244029c
bump spacepackets to v0.5.3 2023-02-05 23:49:57 +01:00
745bbb745e
good coverage 2023-02-05 18:59:28 +01:00
7d695fc15b some improvements for tests 2023-02-05 17:48:07 +01:00
63152739c4
extend basic impl 2023-02-05 14:15:48 +01:00
9e2d300347
first power abstraction 2023-02-05 01:18:23 +01:00
20327d14c0
bump spacepackets again 2023-02-04 15:48:41 +01:00
7dbbd18be4
bump spacepackets, clippy fixes 2023-02-04 15:35:18 +01:00
23287301c1
update names 2023-02-04 14:01:37 +01:00
lkoester
c2768a2735 added requested changes and used clippy to clean up code 2023-02-01 10:27:12 +01:00
lkoester
7569244a90 fixed scheduler logic in tmtc loop and pus handler, fixed pyclient implementation of service 11 2023-01-30 13:49:37 +01:00
lkoester
3fb028a239 small changes to scheduler and main 2023-01-30 09:52:11 +01:00
lkoester
a7aad003ab scheduler implemented in tmtc task 2023-01-27 14:02:46 +01:00
lkoester
f215d121cc got scheduler unit tests to work 2023-01-27 11:01:43 +01:00
lkoester
ebc2330747 Merge branch 'main' into pus_schedule_implementation 2023-01-27 09:53:02 +01:00
lkoester
ecddd739ac some fixes 2023-01-27 09:44:02 +01:00
4f7a0785f1
add Error impls for tmtc Error enums 2023-01-27 00:25:51 +01:00
40120dc83f
various fixes and updates for satrs-core
1. Fix pools integration test to avoid occasional deadlocks
2. tmtc module: The `CcsdsPacketHandler` and `PusServiceProvider`
   do not require a send bound anymore. However, these traits now
   have an extension trait called `Sendable<DefaultName>` which requires
   the trait + Send. A blanket implementation is provided. The helper
   structs like `PusDistributor` and `CcsdsDistributor` require
   the new Sendable trait version to allow more ergnomic usage
   with threads.
2023-01-27 00:04:56 +01:00
4e361e4421
all clippy 1.67 fixes 2023-01-26 23:31:09 +01:00
81ba7c7e79
bump/tweak some deps
- spacepackets to 0.5.2 for include PartialEq fix
- paste: "1.0" to "1"
- delegate: Allow 0.8 and 0.9
2023-01-26 22:07:50 +01:00
lkoester
e876433396 fixed tc creation 2023-01-26 17:34:55 +01:00
lkoester
8734fa0499 issues with testing wrapped/unwrapped tc 2023-01-26 14:52:51 +01:00
lkoester
8df56ca63a merged main 2023-01-26 10:58:44 +01:00
d92b386374
update all NOTICE files 2023-01-25 21:39:35 +01:00
7a2d518a8c
docs fixes 2023-01-25 10:52:24 +01:00
36e63bc9a9
closure returns a boolean whether to del or not 2023-01-25 10:43:11 +01:00
lkoester
dce29035a2 merging main 2023-01-25 10:15:21 +01:00
19d43b1b2c
Extend scheduler and tests
1. `reset` and `release_telecommands`: Add store handling to avoid memory leaks
2. Add first documentation
3. Add `new_with_current_time` method.
2023-01-25 01:40:44 +01:00
lkoester
299135a4c4 ran clippy and fmt, added insert checks to insert_multi test 2023-01-24 18:57:19 +01:00
lkoester
82f44ed0cc fixed tc insertion, added unit tests for releasing single tcs as well as inserting and releasing multiple tcs with same timestamp 2023-01-24 14:44:28 +01:00
3315017b9b
bugfix for scheduling file 2023-01-24 11:37:25 +01:00
ad6e8a149e Merge branch 'main' of https://egit.irs.uni-stuttgart.de/rust/satrs-launchpad 2023-01-22 16:58:37 +01:00
64bac76e29
add more scheduler unittests 2023-01-22 16:58:23 +01:00
0eb245b190
use specific spacepackets release again 2023-01-22 13:25:05 +01:00
ce6f804eed
first basic scheduler impl 2023-01-21 14:29:40 +01:00
300eabafe2
fix tests 2023-01-21 13:52:21 +01:00
89a7de355f
continue scheduler 2023-01-21 13:18:57 +01:00
1f27c23447
bump used spacepackets version 2023-01-21 12:19:05 +01:00
a665b04844
re-add satrs-core without git submoudule 2023-01-11 10:30:03 +01:00
eeccc66f0a
actually, id prefer not to use submodules for this.. 2023-01-11 10:28:27 +01:00
2d37300b74
use alpha version now 2023-01-11 09:58:08 +01:00
7ba69a09e7
add satrs-core as submodule 2023-01-11 09:50:07 +01:00
f24b27ccaf
remove satrs-core to replace with submodule 2023-01-11 09:49:34 +01:00
2be2ef20c9
dont need a preview release 2023-01-10 17:18:29 +01:00
622dfb2089
use re-export in example now 2023-01-10 17:16:57 +01:00
af8a7e3e7a
preview version 0, re-export spacepackets 2023-01-10 17:08:30 +01:00
ef547b4d80 bump spacepackets to 0.4.0 2023-01-10 16:27:31 +01:00
93bd12ad3e
make some fields public 2023-01-04 15:00:23 +01:00
d5d816b846
use new API internally now 2023-01-04 14:55:14 +01:00
3b5aa8c1eb
cargo update and completed new send API 2023-01-04 14:39:56 +01:00
2427e9ef6e
additional type parameter for success/failure 2023-01-04 13:51:04 +01:00
fc47159806
needs to be done differently.. 2023-01-04 11:55:04 +01:00
2ca2abe0bb
the release function returns the TM struct 2023-01-04 11:07:58 +01:00
aa2989b16f
even better 2023-01-04 00:30:00 +01:00
f6b88a9ae0
ithink this name is better 2023-01-04 00:29:47 +01:00
316a52b4fb
add utility function and rename to release 2023-01-04 00:28:34 +01:00
86710efc56
allow type/lifetime/ref erasure 2023-01-04 00:22:52 +01:00
9b4ada9bcb
split up error type to avoid unecessary generics 2023-01-03 20:44:28 +01:00
4effc5bbb3
that was annoying 2023-01-03 20:06:10 +01:00
245388fafa
remove mut bound for seq counter impl 2023-01-03 17:20:17 +01:00
328a060e9c
its not that easy.. 2023-01-03 16:54:01 +01:00
b5d3b47056
maybe this will work for bare metal code as well 2023-01-03 16:35:23 +01:00
74c3f78183
some more docs added 2023-01-03 14:36:43 +01:00
c606bfae5a
add SequenceCountProvider blanket impl 2023-01-03 13:09:14 +01:00
a952a8405f
doc fixes 2023-01-03 13:02:12 +01:00
985dca351a
a blanket impl makes this easier 2023-01-03 12:45:53 +01:00