mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-08-08 14:34:06 -06:00
kin_extruder: Apply pressure advance in kin_extruder.c
Implement the pressure advance calculations while performing the definitive integral calculations. This simplifies both the extruder.py and kin_extruder.c code. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
730a6d868b
commit
080ee0b512
3 changed files with 37 additions and 75 deletions
|
@ -91,8 +91,8 @@ defs_kin_winch = """
|
|||
|
||||
defs_kin_extruder = """
|
||||
struct stepper_kinematics *extruder_stepper_alloc(void);
|
||||
void extruder_set_pressure(struct stepper_kinematics *sk
|
||||
, double pressure_advance, double half_smooth_time);
|
||||
void extruder_set_smooth_time(struct stepper_kinematics *sk
|
||||
, double smooth_time);
|
||||
"""
|
||||
|
||||
defs_serialqueue = """
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue