photonvision icon indicating copy to clipboard operation
photonvision copied to clipboard

Mulitag samples aren't properly filling in Client

Open srimanachanta opened this issue 2 years ago • 2 comments

The sample count should be increasing with each new result but it isn't. See here, sample count is stuck at 8. Sometimes it will show NaN aswell.

https://github.com/PhotonVision/photonvision/assets/68172138/7d0336ab-09cd-4f3d-8719-ccf1b5db0790

srimanachanta avatar Jan 04 '24 21:01 srimanachanta

I've seen this a couple times. Samples will stop updating. Reports NaN/100 samples.

I'll add that hitting the "RESET SAMPLES" button will sometimes lock up the UI, Firefox reports that the web page is using too much cpu. Only fix is to close the tab and reconnect. [edit to add:}

When the UI locks up firefox reports "This page is slowing down firefox. To speed up your browser close this page."

stdev sampling seems to be dead more than it's alive. This is on latest dev build.

randomstring avatar Jan 05 '24 21:01 randomstring

I belive the fact that we are using a while loop to remove samples which the store is adding them is bad practice and relys on getting more samples then are removed, it should be redone. Not sure why samples are filling in but might also be related to that.

srimanachanta avatar Jan 08 '24 20:01 srimanachanta