Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add metrics for current coordinates #42

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

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