motion_report: Add get_status() method with current requested toolhead position

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2021-07-19 22:28:40 -04:00
parent 38766c367f
commit 60aa05829f
2 changed files with 55 additions and 4 deletions

View File

@@ -189,6 +189,18 @@ The following information is available in
- `last_stats.<statistics_name>`: Statistics information on the
micro-controller connection.
## motion_report
The following information is available in the `motion_report` object
(this object is automatically available if any stepper config section
is defined):
- `live_position`: The requested toolhead position interpolated to the
current time.
- `live_velocity`: The requested toolhead velocity (in mm/s) at the
current time.
- `live_extruder_velocity`: The requested extruder velocity (in mm/s)
at the current time.
## output_pin
The following information is available in