-
Notifications
You must be signed in to change notification settings - Fork 0
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
GPS: Send log command and receive log response from gps receiver #247
base: main
Are you sure you want to change the base?
GPS: Send log command and receive log response from gps receiver #247
Conversation
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.
Awesome work!
@@ -0,0 +1,144 @@ | |||
#include "main.h" | |||
|
|||
#include "debug_tools/debug_uart.h" |
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.
Please change file to indent using spaces.
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.
Changed my VS Code Preferences and saved the file. I dont see any changes after this. Can you elaborate if that is what you meant?
Related Issues
Closes #246
Summary
This PR implements UART communication between the GNSS Receiver and the OBC. This includes transmitting a log command as a string and receiving a log response from the GNSS receiver
Changes Made
The changes made to realize this were as follows:
uart_handler
to receive the GNSS response in interrupt mode.GPS_set_uart_interrupt_state
to initialize UART communicationgps_internal_drivers
that contains the function,GPS_send_cmd_get_response
, that handles the communication with the GNSS receiver.TCMDEXEC_gps_send_log_cmd
to call the function mentioned above.Testing Instructions
Tests were conducted on 28th November with @DeflateAwning and @NuclearTea present and we verified the functionality of the functions mentioned. Hence, the tests were successful.
Special Notes for Your Reviewer(s)
There are some
TODO
andFIXME
tags within the code based on the current implementation that will need deeper looking into for proper functionality.