thinking out loud here, and leaving everything in so that others can be inspired by something I move away from and/or correct me
I can get a raspberry pi with a camera module (or a USB camera) for that.
If we want to have a system that can do calibration, we need a way to simulate detaching the anchors. Something like a 2nd set of motors that can pull the belts out and hold them in place (needs to be higher torque than the main set, but can be slower, I don’t thing extend-all powers out at anywhere near full speed)
make some custom spools so that when something goes wrong and it unspools to far we can reconnect (or at least just print new spools and re-use the belt) rather than have to buy new spools and belts by having them permanently glued together.
it would be fantastic if we could figure a way to have ‘fake motors/encoders’ or a set of steppers to drive the encoders to produce the results we want (while measuring that the motors are turning in the right direction)
actually, a set of low-res encoders on the motors and steppers to spin magnets in front of the encoders may be the right thing to do
the encoders are 40mm/rev, so 200 step/rev motors would be 0.2mm/step, we can microstep to at least 1/2 step to get to 0.1mm/step (encoders measure to 0.011mm/step, but I don’t think the test rig needs to get that precise, unless we run into oscilation, and if we do I think the answer would be to add an option that let us define the encoders to 4mm/rev for the test rather than getting really complex or add high gear ratios).
since the speed of the motors doesn’t really matter that much, we could go with low-res encoders to measure them (and use motors without gear trains, they just need to move slow enough for us to read encoders.
for that matter, we can define a ratio between motor movement and encoder movement (it doesn’t matter if it varies a bit)
oh, but we do need to have a way to add a lot of load to the motor (to trigger current limits. this means the simulator hardware needs to know where it is, not just let the motors go.
could we have a resistor we drop in parallel with the motor to burn current?
hmm, more to think about.