Skip to content

Rate Group Slipping #2340

Closed Answered by timcanham
noahrose18 asked this question in Q&A
Oct 25, 2023 · 1 comments · 10 replies
Discussion options

You must be logged in to vote

Is the ISR driven by a hardware timer? Something else?

If you are doing the pattern:

while (1) {
   doSomething();
   sleep(100ms);
}

It will slow the loop since you are executing the logic then sleeping.

Replies: 1 comment 10 replies

Comment options

You must be logged in to vote
10 replies
@noahrose18
Comment options

@timcanham
Comment options

@noahrose18
Comment options

@timcanham
Comment options

Answer selected by noahrose18
@noahrose18
Comment options

@timcanham
Comment options

@timcanham
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants