PID seems like almost working, but I have a great problem with model!
This commit is contained in:
@@ -60,8 +60,8 @@ typedef struct movemodel{
|
||||
moveparam_t Max;
|
||||
movingstage_t movingstage;
|
||||
movestate_t state;
|
||||
double Times[STAGE_AMOUNT];
|
||||
moveparam_t Params[STAGE_AMOUNT];
|
||||
double *Times;
|
||||
moveparam_t *Params;
|
||||
moveparam_t curparams; // init values of limits, jerk
|
||||
int (*calculate)(struct movemodel *m, moveparam_t *target, double t); // calculate stages of traectory beginning from t
|
||||
movestate_t (*proc_move)(struct movemodel *m, moveparam_t *next, double t); // calculate next model point for time t
|
||||
|
||||
Reference in New Issue
Block a user