Open DeflateAwning opened 8 months ago
there is a branch currently matjaz-GPS, let me know If you can see it
finished code that parses the receive array if there are multiple logs in one receive, started writing out test prints, need to complete this and test with rasberry pi to make sure parsing is working properly.
Looks like some awesome progress in there! Am excited to see how testing goes!
A bit of feedback:
main.c
. Looks like a bunch of whitespace changes got in there.Let's work on getting just one or two commands/incoming data types working for now, and move the rest of the functions out of this branch (to be worked on later)
Question for the Orbit team to answer here:
PPSCONTROL
command. Address more in #122.Update: 2024-08-29 - updated with answers.
Two commands to focus on parsing, only. The rest will be handled by a future mechanism in #138 (arbitrary GPS commands).
Two main commands:
In BESTXYZ, parse out, and later make very easy to log/downlink the following fields:
In TIME, parse out into a struct, and later use to update the clock:
@christopherkinyua was wondering what the status on this Issue is?
@christopherkinyua was wondering what the status on this Issue is?
Currently conducting tests with the GPS receiver. I need to solder pin headers onto my STM board then I can carry on with the testing. @NuclearTea
Notes
Implementation Steps
uart_handler.c
file. Register the interrupt.DEBUG_UART_print_str
orLOG_message
(ideally the latter, eventually) to log the GPS data (probably in JSON format).timekeeping.c
:TIM_set_current_unix_epoch_time_ms(time, GPS_ENUM_VALUE)