Skip to content

Remove Tecan parameter off x/y #580

Open
@nedru004

Description

@nedru004

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.

Image

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.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions