-
Notifications
You must be signed in to change notification settings - Fork 1.4k
FpySequencer 0.1 #3334
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FpySequencer 0.1 #3334
Conversation
…ading header from disk
LeStarch
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I addressed all your comments as best I could.
| @@ -0,0 +1,26 @@ | |||
| # Svc::FpySequencer | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bocchino wants a minimal SDD.
|
Awesome, just the feedback I was looking for. Will fix. |
|
Finalizing changes:
Once done, I will review one more time and then merge as-is. To make this prime-time we will additionally need to:
|
|
Finalizing changes:
The remainder are about the "what to do if we get an unexpected response" problem. Here is the behavior that I think we want:
Working on implementing this now. |
|
The implementation of the new, more precise command response behavior is quite complex and needs another pair of eyes. @LeStarch please review EDIT--this is ready to review now |
LeStarch
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still need to confirm 2 more things:
prioritieswhen we discussed, @timcanham heard "priorities aren't needed in this component", and @zimri-leisher heard "Priorities can be used". Both statements were true, but created different expectations to the path forward. I am working on a resolution- I see exactly what I expect from the code block for the new command response handling, except it seems to me that the m_statementsDispatched is incremented in the wrong place as it is incremented just after dispatch, resulting in a wait for the next command. What am I missing?
- Remove from Ref when the above two are resolved.
Very good work. We are in the final steps.
I confirmed Priorities are green-light. Thus to close out this PR
|
|
Okay, I think I have completed all of those items. |
bocchino
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR looks good to me!
- I reviewed and approved the state machine design
- I asked for a minimal SDD, which was provided
|
@zimri-leisher we'll need to fix the CI errors that came in when you bumped F Prime. Let me know if you need help! |
|
Okay, believe they're all fixed now. |
|
|
||
| #if FW_SERIALIZABLE_TO_STRING | ||
| void StatementArgBuffer::toString(Fw::StringBase& text) const { | ||
| static const char * formatString = "(data = %p, size = %" PRI_FwSizeType ")"; |
Check notice
Code scanning / CodeQL
Use of basic integral type Note
| // Construction, initialization, and destruction | ||
| // ---------------------------------------------------------------------- | ||
|
|
||
| FpySequencer ::FpySequencer(const char* const compName) : |
Check notice
Code scanning / CodeQL
Use of basic integral type Note
|
@LeStarch let's get this merged!!! So excited. |
|
Change Description
The 0.1 version of the
FpySequencer, which replicates the functionality of the existingCmdSequencercomponent.Features:
It uses FPP state machines extensively.
~1300 lines of CPP
~550 lines of FPP
Rationale
This is the first part of the roadmap for the implementation of the advanced sequencing language.