-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Update/cmd sequencer heli #882
Conversation
@check-spelling-bot ReportUnrecognized words, please review:
Previously acknowledged words that are now absentlxrTo accept these unrecognized words as correct (and remove the previously acknowledged and now absent words), run the following commands... in a clone of the git@github.com:timcanham/fprime.git repository
|
@@ -26,8 +33,13 @@ namespace Svc { | |||
// ---------------------------------------------------------------------- | |||
|
|||
CmdSequencerComponentImpl:: | |||
#if FW_OBJECT_NAMES == 1 |
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.
We don't use this check anymore. Just keep line 37-38. We intercept the name at a higher level such that this construct is not needed.
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.
Okay, remove those. Also in the header file.
@@ -6,8 +6,15 @@ | |||
// \copyright | |||
// Copyright (C) 2009-2018 California Institute of Technology. | |||
// ALL RIGHTS RESERVED. United States Government Sponsorship | |||
// acknowledged. | |||
// acknowledged. Any commercial use must be negotiated with the Office |
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.
Clean up headers:
// Copyright (C) 2009-2018 California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Sponsorship
// acknowledged.
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.
A ton of these updated!
@@ -60,9 +75,9 @@ namespace Svc { | |||
|
|||
void CmdSequencerComponentImpl :: | |||
allocateBuffer( | |||
const NATIVE_INT_TYPE identifier, | |||
NATIVE_INT_TYPE identifier, |
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 think these inputs should remain const
here like they were before. This affects:
NATIVE_INT_TYPE identifier,
...
NATIVE_UINT_TYPE bytes
Should be:
const NATIVE_INT_TYPE identifier,
...
const NATIVE_UINT_TYPE bytes
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.
const updates added.
Change Description
This change brings in improvements from Mars Helicopter that allows invoking a sequence and having the command return immediately and not wait for the sequence to complete.
Rationale
This allows flexibility in how the sequences are started. It allows multiple sequences to run in parallel if there are multiple sequence engines.
Testing/Review Recommendations
Review the updated command logic with the
CS_RUN
command with theSEQ_BLOCK
andSEQ_NO_BLOCK
argument options.Future Work
None