cncserver icon indicating copy to clipboard operation
cncserver copied to clipboard

Movements may not work as expected with non-integer inputs

Open oskay opened this issue 9 years ago • 3 comments

Scratch API: A user reports that the machine may not be correctly responsive when controlled in scratch/snap if the movement values are non-integer. In other words, that we may need to add an integer cast or rounding to the input values.

Needs verification.

oskay avatar Oct 14 '16 21:10 oskay

Interesting! Will test, verify and fix.

techninja avatar Oct 16 '16 18:10 techninja

Hey! That was my issue last year! I don't think the issue was necessarily integer handling in CNCserver, rather generating small moves from WCBlocks that didn't clear the step threshold.

tieandjeans avatar Aug 21 '17 03:08 tieandjeans

Interesting-- yes, we could do this within WaterColorBlocks, but the API also needs to withstand this input.

oskay avatar Aug 22 '17 16:08 oskay