j7126 / OctoPrint-Dashboard

A dashboard for Octoprint
GNU Affero General Public License v3.0
288 stars 39 forks source link

Feedrate / 5 second average value swapped #322

Open staffert opened 2 years ago

staffert commented 2 years ago

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):

OctoPrint server and Plugins:

Desktop (please complete the following information):

Logs see attached ZIP

j7126 commented 2 years ago

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 commented 2 years ago

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

staffert commented 2 years ago

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.

j7126 commented 2 years ago

Hmm, can you send over your gcode file?

staffert commented 2 years ago

It's just the tophat from a Voron 0.1

Unibody_Tophat_x1 N0.4 Z0.2 F42 ABS 245-240 °C CR10SPROV2_17h11m.gcode.zip