romainbrette / holypipette

Holy Pipette
GNU General Public License v3.0
4 stars 0 forks source link

Collisions during calibration #21

Closed romainbrette closed 6 years ago

romainbrette commented 7 years ago

I believe during one of my tests the objective and pipette collided. This could happen in two cases:

romainbrette commented 7 years ago

This requires to know what is "up" and "down". For this, we use the fact that pipettes are always inclined downwards. When we move along the X axis, the pipette moves on the image. We can detect whether it advances on the image, for example using template matching together with the cardinal position (there's this Aurélien's code). So can we associate a direction to the axis (ie +1 = advance). Then we can estimate the focal Z move; from this, we deduce the direction of the Z axis (ie, +1 = down). From that, we can guess also the direction of the Z axis of the manipulator.

Alternatively, we require the user to provide the direction of microscope Z for going down.

romainbrette commented 6 years ago

Done