forked from KalicoCrew/kalico
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
extruder: Sync extruder motion with input shaping
Signed-off-by: Dmitry Butyugin <[email protected]>
- Loading branch information
1 parent
f0248a3
commit a893f98
Showing
6 changed files
with
315 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#ifndef __KIN_SHAPER_H | ||
#define __KIN_SHAPER_H | ||
|
||
struct shaper_pulses { | ||
int num_pulses; | ||
struct { | ||
double t, a; | ||
} pulses[5]; | ||
}; | ||
|
||
struct move; | ||
|
||
int init_shaper(int n, double a[], double t[], struct shaper_pulses *sp); | ||
double shaper_calc_position(struct move *m, int axis, double move_time | ||
, struct shaper_pulses *sp); | ||
|
||
#endif // kin_shaper.h |
Oops, something went wrong.