Description
Another question I have in regards to off_x and off_y. Reference #552
For off_x, this should be easy to remove and just adjust the coordinates of the resources. There are no overhangs that I can see in -x direction, however, I found one trough carrier that has an overhang in the +x direction.
As for off_y, that is a bit more complicated. Tecan homes to the back left of the machine, which makes the front of the machine a larger coordinate value. This is opposite to how I visualize it. How does Hamilton work?
off_y is needed since each carrier is not the same size (see image below comparing plate carrier vs trough carrier).
Here is the code for placing a resource on the deck. It take 345(width of deck in mm) and subtracts the y size of the carrier and then adds off_y.
return Coordinate(
(rails - 1) * _RAILS_WIDTH - resource.off_x + 100,
resource.off_y + 345 - resource.get_absolute_size_y(),
0
)
If the carriers are specific to tecan do we need to get rid of off_y? It is only used in when setting up the deck. I suppose it could be integrated into the coordinates for the resources on the carrier.