pop() probably doesn't work #1

Open
opened 2026-08-25 18:41:40 +02:00 by gnxlxnxx · 0 comments
Owner

This should probably decrement the end index instead of incrementing the start index

self.start += 1;
self.start %= N;

This should probably decrement the end index instead of incrementing the start index https://git.gnxlxnxx.space/gnxlxnxx/BA-pid-controller/src/commit/5a007851ff79fa81962b114f92c0fc923a4b73f4/src/ringbuffer.rs#L43-L44
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: gnxlxnxx/BA-pid-controller#1