-
Notifications
You must be signed in to change notification settings - Fork 31
implement revamped textual-gs-cli #597
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
base: main
Are you sure you want to change the base?
Conversation
# Purpose Previously, no instructions were provided on how to build the ground station program for MacOS systems. This PR adds steps on how to fix the errors that are encountered while building it. # New Changes - Instructions on building gs for MacOS systems were added to the readme # Testing Explain tests that you ran to verify code functionality. - [x] I have unit-tested this PR. Otherwise, explain why it cannot be unit-tested. - [ ] I have tested this PR on a board if the code will run on a board (Only required for firmware developers). - [ ] I have tested this PR by running the ARO website (Only required if the code will impact the ARO website). - [ ] I have tested this PR by running the MCC website (Only required if the code will impact the MCC website). - [ ] I have included screenshots of the tests performed below. # Outstanding Changes If there are non-critical changes (i.e. additional features) that can be made to this feature in the future, indicate them here. - Currently, the instructions allow for successfully launching the cli. More thorough testing may be required for full functionality # Purpose Closes #ISSUE_NUMBER. Explain the purpose of the PR here if it doesn't match the linked issue. Be sure to add a comment in the linked issue explaining the changes. # New Changes Explain new changes below in short bullet points. # Testing Explain tests that you ran to verify code functionality. - [ ] I have unit-tested this PR. Otherwise, explain why it cannot be unit-tested. - [ ] I have tested this PR on a board if the code will run on a board (Only required for firmware developers). - [ ] I have tested this PR by running the ARO website (Only required if the code will impact the ARO website). - [ ] I have tested this PR by running the MCC website (Only required if the code will impact the MCC website). - [ ] I have included screenshots of the tests performed below. # Outstanding Changes If there are non-critical changes (i.e. additional features) that can be made to this feature in the future, indicate them here.
…mware into charles/textual-gs-cli
…mware into charles/textual-gs-cli
…mware into charles/textual-gs-cli
…mware into charles/textual-gs-cli
…mware into charles/textual-gs-cli
…mware into charles/textual-gs-cli
…mware into charles/textual-gs-cli
…mware into charles/textual-gs-cli
…mware into charles/textual-gs-cli
Pull reviewers statsStats of the last 120 days for UWOrbital:
|
…mware into charles/textual-gs-cli
…mware into charles/textual-gs-cli
…mware into charles/textual-gs-cli
…mware into charles/textual-gs-cli
…mware into charles/textual-gs-cli
…mware into charles/textual-gs-cli
…mware into charles/textual-gs-cli
…mware into charles/textual-gs-cli
camspec
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.
Lots of great revamping, but there are a few issues
| """ | ||
| Entry point for the CLI application, sets up serial and runs the app | ||
| """ | ||
| if len(argv) != 2: |
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 never reach this point if the argument is missing since argv[1] is undefined
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.
Crashes on line 18
…mware into charles/textual-gs-cli
camspec
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.
looks good! make sure Adityya reviews this
gs/backend/cli.py
Outdated
| def main() -> None: | ||
| """ | ||
| Entry point for the CLI application, sets up serial and runs the app | ||
| Usage: Entry point for the CLI application; opens the serial port at the com port and runs the ground station cli. |
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.
The Usage convention was referring to the error message when the arguments don't match. The original docstring was fine. Also, provide an exit code if there was a failure.
Adityya-K
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.
Code itself looks good and I see no glaring issues except for some minor things and the use of a lambda function I might be misunderstanding. Could you just move all the cli and ground_station_cli files into a separate folder named gs/backend/gs_cli.
Additionally this just needs to be tested and it should be good!
…mware into charles/textual-gs-cli
camspec
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.
lgtm, one small thing that would be good to change (unrelated)
Purpose
Closes #547, up until time tagged data functionality
New Changes
Testing
Explain tests that you ran to verify code functionality.
Outstanding Changes
If there are non-critical changes (i.e. additional features) that can be made to this feature in the future, indicate them here.
Screenshots
OLD LAYOUT BUT DEMONSTRATION OF LOGS

CURRENT LAYOUT
