Skip to content

Conversation

@pkendall64
Copy link
Collaborator

By splitting the RC data send and the polling/queued data sending this allows us to limit the packet rate independently of all the other packet data that needs to be sent in a timely manner.
This is particularly useful for the MavLINK serial receiver code where we want to limit the number of RC packets to 250Hz but keep the OTA packet rate at say 1000Hz. This PR does NOT do this, it just enables it by the separation of the code paths.

To limit the RC rate we just need to return an interval from the sendRCFrame function in the serial handler rather than the current DURATION_IMMEDIATELY.

@JyeSmith JyeSmith merged commit 5f1fc58 into ExpressLRS:master Sep 23, 2024
@pkendall64 pkendall64 deleted the serial-io-split branch September 23, 2024 08:04
pkendall64 added a commit to pkendall64/ExpressLRS that referenced this pull request Sep 23, 2024
wvarty pushed a commit that referenced this pull request Sep 23, 2024
…nding" (#2949)

* Split RC data sending from polling and queued data sending (#2931)

* Limit mavlink RC packets to 100Hz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants