Skip to content

Commit

Permalink
removev api changes
Browse files Browse the repository at this point in the history
  • Loading branch information
caila-marashaj committed Aug 24, 2023
1 parent e176545 commit e4e9941
Show file tree
Hide file tree
Showing 66 changed files with 164 additions and 574 deletions.
14 changes: 2 additions & 12 deletions api/src/opentrons/hardware_control/ot3api.py
Original file line number Diff line number Diff line change
Expand Up @@ -799,23 +799,13 @@ async def home_gripper_jaw(self) -> None:
except GripperNotAttachedError:
pass

async def home_plunger(self, mount: Union[top_types.Mount, OT3Mount], unstick: bool = False) -> None:
async def home_plunger(self, mount: Union[top_types.Mount, OT3Mount]) -> None:
"""
Home the plunger motor for a mount, and then return it to the 'bottom'
position.
"""
checked_mount = OT3Mount.from_mount(mount)

if unstick:
instr = self._pipette_handler.hardware_instruments[checked_mount]
unstick_current = instr.plunger_motor_current.homing

await self._backend.set_active_current(
{
Axis.of_main_tool_actuator(checked_mount): unstick_current
}
)

checked_mount = OT3Mount.from_mount(mount)
await self.home([Axis.of_main_tool_actuator(checked_mount)])
instr = self._pipette_handler.hardware_instruments[checked_mount]
if instr:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,23 +35,12 @@
},
"partialTipConfigurations": {
"partialTipSupported": true,
"availableConfigurations": [
1,
2,
3,
4,
5,
6,
7,
8
]
"availableConfigurations": [1, 2, 3, 4, 5, 6, 7, 8]
},
"channels": 8,
"shaftDiameter": 1.0,
"shaftULperMM": 0.785,
"backCompatNames": [],
"backlashDistance": 0.0,
"quirks": [
"dropTipShake"
]
}
"quirks": ["dropTipShake"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,23 +35,12 @@
},
"partialTipConfigurations": {
"partialTipSupported": true,
"availableConfigurations": [
1,
2,
3,
4,
5,
6,
7,
8
]
"availableConfigurations": [1, 2, 3, 4, 5, 6, 7, 8]
},
"channels": 8,
"shaftDiameter": 1.0,
"shaftULperMM": 0.785,
"backCompatNames": [],
"backlashDistance": 0.0,
"quirks": [
"dropTipShake"
]
}
"quirks": ["dropTipShake"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,23 +35,12 @@
},
"partialTipConfigurations": {
"partialTipSupported": true,
"availableConfigurations": [
1,
2,
3,
4,
5,
6,
7,
8
]
"availableConfigurations": [1, 2, 3, 4, 5, 6, 7, 8]
},
"channels": 8,
"shaftDiameter": 1.0,
"shaftULperMM": 0.785,
"backCompatNames": [],
"backlashDistance": 0.0,
"quirks": [
"dropTipShake"
]
}
"quirks": ["dropTipShake"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,24 +35,12 @@
},
"partialTipConfigurations": {
"partialTipSupported": true,
"availableConfigurations": [
1,
2,
3,
4,
5,
6,
7,
8
]
"availableConfigurations": [1, 2, 3, 4, 5, 6, 7, 8]
},
"channels": 8,
"shaftDiameter": 1.0,
"shaftULperMM": 0.785,
"backCompatNames": [],
"backlashDistance": 0.0,
"quirks": [
"dropTipShake",
"doubleDropTip"
]
}
"quirks": ["dropTipShake", "doubleDropTip"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,24 +35,12 @@
},
"partialTipConfigurations": {
"partialTipSupported": true,
"availableConfigurations": [
1,
2,
3,
4,
5,
6,
7,
8
]
"availableConfigurations": [1, 2, 3, 4, 5, 6, 7, 8]
},
"channels": 8,
"shaftDiameter": 1.0,
"shaftULperMM": 0.785,
"backCompatNames": [],
"backlashDistance": 0.0,
"quirks": [
"dropTipShake",
"doubleDropTip"
]
}
"quirks": ["dropTipShake", "doubleDropTip"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,7 @@
}
},
"availableSensors": {
"sensors": [
"pressure",
"capacitive",
"environment"
],
"sensors": ["pressure", "capacitive", "environment"],
"pressure": {
"count": 2
},
Expand All @@ -45,21 +41,12 @@
},
"partialTipConfigurations": {
"partialTipSupported": true,
"availableConfigurations": [
1,
2,
3,
4,
5,
6,
7,
8
]
"availableConfigurations": [1, 2, 3, 4, 5, 6, 7, 8]
},
"backCompatNames": [],
"channels": 8,
"shaftDiameter": 9.0,
"shaftULperMM": 63.617,
"backlashDistance": 0.0,
"quirks": []
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,7 @@
}
},
"availableSensors": {
"sensors": [
"pressure",
"capacitive",
"environment"
],
"sensors": ["pressure", "capacitive", "environment"],
"pressure": {
"count": 2
},
Expand All @@ -45,21 +41,12 @@
},
"partialTipConfigurations": {
"partialTipSupported": true,
"availableConfigurations": [
1,
2,
3,
4,
5,
6,
7,
8
]
"availableConfigurations": [1, 2, 3, 4, 5, 6, 7, 8]
},
"backCompatNames": [],
"channels": 8,
"shaftDiameter": 4.5,
"shaftULperMM": 15.904,
"backlashDistance": 0.1,
"quirks": []
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,7 @@
}
},
"availableSensors": {
"sensors": [
"pressure",
"capacitive",
"environment"
],
"sensors": ["pressure", "capacitive", "environment"],
"pressure": {
"count": 2
},
Expand All @@ -45,21 +41,12 @@
},
"partialTipConfigurations": {
"partialTipSupported": true,
"availableConfigurations": [
1,
2,
3,
4,
5,
6,
7,
8
]
"availableConfigurations": [1, 2, 3, 4, 5, 6, 7, 8]
},
"backCompatNames": [],
"channels": 8,
"shaftDiameter": 4.5,
"shaftULperMM": 15.904,
"backlashDistance": 0.1,
"quirks": []
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,7 @@
}
},
"availableSensors": {
"sensors": [
"pressure",
"capacitive",
"environment"
],
"sensors": ["pressure", "capacitive", "environment"],
"pressure": {
"count": 2
},
Expand All @@ -45,21 +41,12 @@
},
"partialTipConfigurations": {
"partialTipSupported": true,
"availableConfigurations": [
1,
2,
3,
4,
5,
6,
7,
8
]
"availableConfigurations": [1, 2, 3, 4, 5, 6, 7, 8]
},
"backCompatNames": [],
"channels": 8,
"shaftDiameter": 4.5,
"shaftULperMM": 15.904,
"backlashDistance": 0.1,
"quirks": []
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,7 @@
}
},
"availableSensors": {
"sensors": [
"pressure",
"capacitive",
"environment"
],
"sensors": ["pressure", "capacitive", "environment"],
"pressure": {
"count": 2
},
Expand All @@ -45,21 +41,12 @@
},
"partialTipConfigurations": {
"partialTipSupported": true,
"availableConfigurations": [
1,
2,
3,
4,
5,
6,
7,
8
]
"availableConfigurations": [1, 2, 3, 4, 5, 6, 7, 8]
},
"backCompatNames": [],
"channels": 8,
"shaftDiameter": 4.5,
"shaftULperMM": 15.904,
"backlashDistance": 0.1,
"quirks": []
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,23 +35,12 @@
},
"partialTipConfigurations": {
"partialTipSupported": true,
"availableConfigurations": [
1,
2,
3,
4,
5,
6,
7,
8
]
"availableConfigurations": [1, 2, 3, 4, 5, 6, 7, 8]
},
"channels": 8,
"shaftDiameter": 1.0,
"shaftULperMM": 0.785,
"backCompatNames": [
"p10_multi"
],
"backCompatNames": ["p10_multi"],
"backlashDistance": 0.0,
"quirks": []
}
}
Loading

0 comments on commit e4e9941

Please sign in to comment.