trapq: Add new trapq.c file with code for trapezoidal velocity handling

Move the "struct move" code from itersolve.c to new file trapq.c.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2019-10-27 13:23:03 -04:00
parent 374eb98765
commit fdbdb3c707
11 changed files with 142 additions and 126 deletions

View file

@ -9,6 +9,7 @@
#include <string.h> // memset
#include "compiler.h" // __visible
#include "itersolve.h" // struct stepper_kinematics
#include "trapq.h" // move_get_coord
static double
polar_stepper_radius_calc_position(struct stepper_kinematics *sk, struct move *m