OctoPrint-Dashboard icon indicating copy to clipboard operation
OctoPrint-Dashboard copied to clipboard

Feedrate / 5 second average value swapped

Open staffert opened this issue 3 years ago • 5 comments

Describe the bug It seems to me like the instantaneous feed-rate needle indicator is actually reporting the 5 second rolling average value, and the average value arc is indicating the instantaneous value...

To Reproduce Steps to reproduce the behavior:

  1. Install Dashboard Plugin
  2. Set display options to include Feedrate display graph
  3. Print any job
  4. See behavior above

Expected behavior Expected to see needle indicator as instantaneous value, as indicated in help screen for configuration.

Screenshots If applicable, add screenshots to help explain your problem.

Screenshot 2022-01-02 154326

Files (please attach the following Files or screenshots when applicable):

  • use any and all g-code that I have printed with. This is a long standing issue.

OctoPrint server and Plugins:

Desktop (please complete the following information):

  • OS and version: Windows 10
  • Browser and version: FireFox 95.0.2 64 bit
  • Slicer version: multiple, typically PrusaSlicer 2.3.3 or SuperSlicer 2.3.57.8

Logs see attached ZIP

staffert avatar Jan 02 '22 20:01 staffert

I think that the case is that they are not switched around, but in fact the average 5 seconds value is just buggy and incorrect and jumps around.

j7126 avatar Jan 12 '22 09:01 j7126

I have made some improvements, it should work a bit better now.

j7126 avatar Jan 12 '22 10:01 j7126

I've done some testing with the newly released version, but now it seems to drop to a zero value more often.....as an average value, that shouldn't be the case, especially when I am printing large filled sections with virtually no change in feedrate for minutes. I think there is still something wrong with this functionality.

staffert avatar Jan 13 '22 02:01 staffert

Hmm, can you send over your gcode file?

j7126 avatar Jan 13 '22 02:01 j7126