Runs all managed steppers until they acheived their target position. Blocks until all that position is acheived. If you dont want blocking consider using multirun instead.
multirunspeedtoposition
@/multirunspeedtoposition
Runs all managed steppers until they acheived their target position. Blocks until all that position is acheived. If you dont want blocking consider using multirun instead.
MDEV@/multistepper-device
UPDpulse
DONEpulse
To use the node in your project you should have the ivanmason/accelstepper library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.
C++ implementation
struct State {
};
{{ GENERATED_CODE }}
void evaluate(Context ctx) {
auto multistepper = getValue<input_MDEV>(ctx);
if (!isInputDirty<input_UPD>(ctx))
return;
multistepper->runSpeedToPosition();
emitValue<output_DONE>(ctx, 1);
}