Messy Serial Plotter

Hi Everyone,

Just wanted some help getting some cleaner data from the serial plotter. For some reason every time I load up the Serial plotter there is a great big red spike along the left that seems to zoom out the entire graph to where I can't see the values I wish to see properly. Below is a picture of what I'm seeing in the serial plotter.

Some context - I'm trying to tune a PID controller and see when I have a stable oscillation vs an unstable osculation. I'm getting a bunch of random boxes coming up in they key of the plotter and I want to be able to clearly see the error, output and setpoint to analyse the oscillation patterns and accurately tune my PID loop.

If seeing the code would help let me know and I will post it.

amanbasra:
If seeing the code would help let me know

It probably would. Indeed it is fair to say that the only thing messy is your code, so there is no point in being coy about it.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.