all fixed slot sequence improvenements #24

Merged
gaisser merged 13 commits from KSat/fsfw:mueller_FixedSequenceImprovements into master 2020-07-02 14:28:54 +02:00
Owner

This fixes #46 .
This fixes #23 .

Including:

  • Using std::multiset instead of std::list. I still think this
    is a nice feature. It allows PST insertion in ANY order. This is convenient when the PST is not generated automatically. The < operator was overloaded for the FixedSequenceSlot to allow this, it was tested and it works
  • Form stuff, consistent documentation
  • freeRTOS throws sanity error and exits if time is 0. for now, i set ms to 1 for that case, but maybe its better to print a warning and exit()
This fixes #46 . This fixes #23 . Including: - Using std::multiset instead of std::list. I still think this is a nice feature. It allows PST insertion in ANY order. This is convenient when the PST is not generated automatically. The < operator was overloaded for the FixedSequenceSlot to allow this, it was tested and it works - Form stuff, consistent documentation - freeRTOS throws sanity error and exits if time is 0. for now, i set ms to 1 for that case, but maybe its better to print a warning and exit()
gaisser was assigned by mohr 2020-04-20 14:35:50 +02:00
muellerr added the
feature
label 2020-04-30 22:01:50 +02:00
Owner

This pull request must merge the master branch again to avoid conflicts.

This pull request must merge the master branch again to avoid conflicts.
Author
Owner

I updated the branch. There were not any functional changes, so everything should work. However, I had to comment out all DHB related objects in my devel branch of the mission because they are already using the refactored DHB stuff which prevents me from doing immediate testing. maybe I'll write some unit tests to show that everything is working as intended.

I updated the branch. There were not any functional changes, so everything should work. However, I had to comment out all DHB related objects in my devel branch of the mission because they are already using the refactored DHB stuff which prevents me from doing immediate testing. maybe I'll write some unit tests to show that everything is working as intended.
gaisser reviewed 2020-05-11 16:36:04 +02:00
@ -51,6 +51,7 @@ public:
ReturnValue_t checkSequence() const;
ReturnValue_t sleepFor(uint32_t ms);
Owner

I think this can be removed from the pull request

I think this can be removed from the pull request
Author
Owner

merge upstream master

merge upstream master
gaisser reviewed 2020-06-23 20:12:47 +02:00
@ -6,1 +6,3 @@
#include <list>
#include <set>
using SlotList = std::multiset<FixedSequenceSlot>;
Owner

This is in global namespace or?

This is in global namespace or?
Author
Owner

Yes, maybe it woould be better to put it in the class..

Yes, maybe it woould be better to put it in the class..
gaisser added the
API Change
label 2020-06-25 14:34:15 +02:00
Owner

Ok to me it looks good now.

Ok to me it looks good now.
gaisser closed this pull request 2020-07-02 14:28:54 +02:00
gaisser deleted branch mueller_FixedSequenceImprovements 2020-07-02 14:29:00 +02:00
Sign in to join this conversation.
No description provided.