photonvision icon indicating copy to clipboard operation
photonvision copied to clipboard

Device metrics and control reorganization

Open DevonRD opened this issue 2 months ago • 11 comments

Cleans up the settings page by doing the following:

  • Introduces real time metric history to help with diagnostics/monitoring and make the data actually usable
  • Categorizes and cleans up the general information and control buttons

Before and after sample: image

image

DevonRD avatar Oct 22 '25 00:10 DevonRD

linttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt

samfreund avatar Oct 22 '25 14:10 samfreund

image bit of a bug here

samfreund avatar Oct 22 '25 14:10 samfreund

Tooltip is sometimes light sometimes dark, not quite sure why it's changing.

samfreund avatar Oct 22 '25 15:10 samfreund

image bit of a bug here

We send CPU mem usage as a num value, then we send available mem separately. You'll have to divide to get a percent.

samfreund avatar Oct 22 '25 15:10 samfreund

linttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt

draft pr :)

DevonRD avatar Oct 24 '25 07:10 DevonRD

image bit of a bug here

We send CPU mem usage as a num value, then we send available mem separately. You'll have to divide to get a percent.

should be fixed, if you are able to confirm

DevonRD avatar Oct 24 '25 08:10 DevonRD

Tooltip is sometimes light sometimes dark, not quite sure why it's changing.

also should be fixed. will be dark-ish in both light and dark mode (currently follows background color for easy readability) but dark mode should be noticeably darker

DevonRD avatar Oct 24 '25 08:10 DevonRD

We should do some sniffing to see what kind of bandwidth publishing at 1 hz uses.

samfreund avatar Oct 24 '25 14:10 samfreund

We should do some sniffing to see what kind of bandwidth publishing at 1 hz uses.

Upon further thinking, it might be all on the robot network, so we'll have to explore how NT handles that.

samfreund avatar Oct 24 '25 14:10 samfreund

So just anecdotally, this seems to use almost half the CPU. I determined this from disabling everything, then checking CPU usage w/ and w/out. We should see if we can reduce that.

samfreund avatar Nov 01 '25 01:11 samfreund

So just anecdotally, this seems to use almost half the CPU. I determined this from disabling everything, then checking CPU usage w/ and w/out. We should see if we can reduce that.

yeah my bad, some test data snuck in there. should be fixed

DevonRD avatar Nov 01 '25 06:11 DevonRD