added basic accelleration management with trapezoid accelleration profiles but no look ahead optimization (coming next patch)
This commit is contained in:
10
nuts_bolts.h
10
nuts_bolts.h
@ -41,10 +41,10 @@
|
||||
#define Y_AXIS 1
|
||||
#define Z_AXIS 2
|
||||
|
||||
void scale_vector(float *target, float *source, float multiplier) {
|
||||
target[0] = source[0]*multiplier;
|
||||
target[1] = source[1]*multiplier;
|
||||
target[2] = source[2]*multiplier;
|
||||
}
|
||||
// void scale_vector(double *target, double *source, double multiplier) {
|
||||
// target[0] = source[0]*multiplier;
|
||||
// target[1] = source[1]*multiplier;
|
||||
// target[2] = source[2]*multiplier;
|
||||
// }
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user