Open juliomateoslangerak opened 1 year ago
This appears to work fine. I didnt have a camera connected and wasn't taking images but from feeling the stage it appears to move in x and then y, then back in x etc. The movement weren't regular I assume this is this is the servo have a bit of variable seek time, I strongly suspect out stage could do with some lubrication. I might try to do this.
Overall I think the ASI updates are a big win and appear to work so should be merged into master.
While setting some experiments I realized that the stage was not waiting until the next move.
I think I fixed this and I also tried to remove some redundancy in the code managing the moves and the waiting for the stage to idle.
This is all in my branch here. @iandobbie can you check this? You can use this code to test with a tiling array. In my case it was drawing little circles no matter the size of the tile. now it seems to work. Simultaneous move in x and y is kept.