Skip to content

Add metrics for current coordinates#42

Open
hyperair wants to merge 4 commits intotg44:masterfrom
hyperair:add-current-coord-metrics
Open

Add metrics for current coordinates#42
hyperair wants to merge 4 commits intotg44:masterfrom
hyperair:add-current-coord-metrics

Conversation

@hyperair
Copy link
Contributor

@hyperair hyperair commented Feb 5, 2024

This PR introduces four new gauge metrics showing the current toolhead position as derived from the gcode parser

  • octoprint_current_x
  • octoprint_current_y
  • octoprint_current_z
  • octoprint_current_e

It also adds an editorconfig entry for metrics.py since that file appears to be indented by spaces instead of tabs

We have the data already, might as well export it for print visualization. Also useful to tell approximately where a
print failed if the controller gets reset in the middle of a print.
This file also uses spaces instead of tabs
@hyperair hyperair marked this pull request as ready for review February 5, 2024 03:39
@tg44 tg44 mentioned this pull request Feb 5, 2024
@hyperair hyperair force-pushed the add-current-coord-metrics branch from 77d50c5 to 33d2c52 Compare February 22, 2024 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant