added basic accelleration management with trapezoid accelleration profiles but no look ahead optimization (coming next patch)

This commit is contained in:
Simen Svale Skogsrud
2011-01-14 12:10:18 +01:00
parent e0f3dcbe43
commit b628a4aabf
14 changed files with 129 additions and 108 deletions

View File

@ -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