added basic accelleration management with trapezoid accelleration profiles but no look ahead optimization (coming next patch)
This commit is contained in:
parent
e0f3dcbe43
commit
b628a4aabf
14 changed files with 129 additions and 108 deletions
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue