Skip to content

Stuck on reworking GPS demo w/ buffer reads #1420

Answered by LeStarch
danjwait asked this question in Q&A
Discussion options

You must be logged in to vote

I think the GPS tutorial has made a bad assumption that it would receive a complete GPS frame per serial transaction. However, on newer PIs like the PI 4 the processing may out-pace the ability of the serial port to deliver.

You'd should have some local storage in the Gps component that aggregates data. Then process the aggregated data once its size has passed 24.

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
2 replies
@danjwait
Comment options

@danjwait
Comment options

Answer selected by danjwait
Comment options

You must be logged in to vote
4 replies
@danjwait
Comment options

@capsulecorplab
Comment options

@LeStarch
Comment options

@capsulecorplab
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants