mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-08-05 04:54:11 -06:00
stepper: Remove set_tag_position() code
Have callers store the stepper positions in a dict. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
77bc5e4388
commit
c0d860487a
17 changed files with 62 additions and 66 deletions
|
@ -331,12 +331,11 @@ Useful steps:
|
|||
seconds) to a cartesian coordinate (in millimeters), and then
|
||||
calculate the desired stepper position (in millimeters) from that
|
||||
cartesian coordinate.
|
||||
4. Implement the `calc_tag_position()` method in the new kinematics
|
||||
class. This method calculates the position of the toolhead in
|
||||
cartesian coordinates from the position of each stepper (as
|
||||
returned by `stepper.get_tag_position()`). It does not need to be
|
||||
efficient as it is typically only called during homing and probing
|
||||
operations.
|
||||
4. Implement the `calc_position()` method in the new kinematics class.
|
||||
This method calculates the position of the toolhead in cartesian
|
||||
coordinates from the position of each stepper. It does not need to
|
||||
be efficient as it is typically only called during homing and
|
||||
probing operations.
|
||||
5. Other methods. Implement the `check_move()`, `get_status()`,
|
||||
`get_steppers()`, `home()`, and `set_position()` methods. These
|
||||
functions are typically used to provide kinematic specific checks.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue