#include <Reptier.h>
Data Fields |
byte | primaryAxis |
byte | flags |
byte | joinFlags |
byte | halfstep |
| 0 = disabled, 1 = halfstep, 2 = fulstep
|
byte | dir |
| Direction of movement. 1 = X+, 2 = Y+, 4= Z+, values can be combined.
|
long | delta [4] |
| Steps we want to move.
|
long | error [4] |
| Error calculation for Bresenham algorithm.
|
float | speedX |
| Speed in x direction at fullInterval in mm/s.
|
float | speedY |
| Speed in y direction at fullInterval in mm/s.
|
float | speedZ |
| Speed in z direction at fullInterval in mm/s.
|
float | fullSpeed |
| Desired speed mm/s.
|
float | acceleration |
| Real acceleration mm/s²
|
float | distance |
float | startFactor |
float | endFactor |
unsigned long | fullInterval |
| interval at full speed in ticks/step.
|
unsigned long | stepsRemaining |
| Remaining steps, until move is finished.
|
unsigned int | accelSteps |
| How much steps does it take, to reach the plateau.
|
unsigned int | decelSteps |
| How much steps does it take, to reach the end speed.
|
unsigned long | accelerationPrim |
| Acceleration along primary axis.
|
unsigned long | facceleration |
| accelerationPrim*262144/F_CPU
|
unsigned int | vMax |
| Maximum reached speed in steps/s.
|
unsigned int | vStart |
| Starting speed in steps/s.
|
unsigned int | vEnd |
| End speed in steps/s.
|
Field Documentation
Acceleration along primary axis.
How much steps does it take, to reach the plateau.
How much steps does it take, to reach the end speed.
Direction of movement. 1 = X+, 2 = Y+, 4= Z+, values can be combined.
Error calculation for Bresenham algorithm.
accelerationPrim*262144/F_CPU
interval at full speed in ticks/step.
0 = disabled, 1 = halfstep, 2 = fulstep
Speed in x direction at fullInterval in mm/s.
Speed in y direction at fullInterval in mm/s.
Speed in z direction at fullInterval in mm/s.
Remaining steps, until move is finished.
Maximum reached speed in steps/s.
Starting speed in steps/s.
The documentation for this struct was generated from the following file: