aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/motion_report.py
Commit message (Collapse)AuthorAgeFilesLines
* motion_report: Don't negate step_distance on steppers with inverted dir pinKevin O'Connor2024-04-021-2/+0
| | | | | | | | | | When querying the stepper motion queue, the resulting "interval", "count", and "add" are already normalized to the correct direction. That is, the "count" field will be positive if moving in a positive axis direction and negative if moving in the reverse direction. So, negating the step_distance field just complicates the readers. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* bulk_sensor: Rework APIDumpHelper() to BatchBulkHelper()Kevin O'Connor2023-12-261-15/+17
| | | | | | | The APIDumpHelper class is mainly intended to help process messages in batches. Rework the class methods to make that more clear. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* bulk_sensor: New add_mux_endpoint() helper function in APIDumpHelperKevin O'Connor2023-12-261-15/+7
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* bulk_sensor: Move APIDumpHelper() from motion_report.py to bulk_sensor.pyKevin O'Connor2023-12-261-95/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* motion_report: Ensure startstop_cb is called atomicallyKevin O'Connor2022-02-211-4/+12
| | | | | | | Make sure APIDumpHelper() does not invoke the startstop callback while it is already running. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* extruder: Add support for reversing the direction of extruder stepper movementKevin O'Connor2022-02-101-1/+1
| | | | | | | Extend SET_EXTRUDER_ROTATION_DISTANCE to support reversing the direction of extruder movement. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* motion_report: Fix typo causing error reports to not propagateKevin O'Connor2021-09-261-1/+1
| | | | | | | The APIDumpHelper._start() method should propagate errors to its caller. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* motion_report: Add helper tool for internal subscribers of dataKevin O'Connor2021-08-301-0/+22
| | | | | | | Add support for internal clients to "subscribe" to data like external clients. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* motion_report: Add support for dumping steps/trapq via API serverKevin O'Connor2021-08-221-5/+125
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* motion_report: Fix typo causing incomplete queriesKevin O'Connor2021-08-171-4/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* motion_report: Add get_status() method with current requested toolhead positionKevin O'Connor2021-07-291-4/+43
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* motion_report: Add new extras module for low-level motion diagnosticsKevin O'Connor2021-07-291-0/+146
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>