Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore Release 7.5.0 #15780

Merged
merged 4 commits into from
Jul 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions api/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,23 @@ log][]. For a list of currently known issues, please see the [Opentrons issue tr

---

## Opentrons Robot Software Changes in 7.4.0
## Opentrons Robot Software Changes in 7.5.0

Welcome to the v7.4.0 release of the Opentrons robot software!
Welcome to the v7.5.0 release of the Opentrons robot software!

This release adds support for the [Opentrons Flex HEPA/UV Module](https://opentrons.com/products/opentrons-flex-hepa-uv-module).
### Hardware Support

- [Opentrons Flex HEPA/UV Module](https://opentrons.com/products/opentrons-flex-hepa-uv-module)
- Latest Flex Gripper model (serial numbers beginning `GRPV13`)

### Bug Fixes

- Fixed certain string runtime parameter values being misinterpreted as an incorrect type.

### Known Issue

- The HEPA/UV Module's buttons may not respond properly after its safety shutoff is activated. This happens when the module is removed from the top of Flex while its lights are on. Power cycle the module to restore normal behavior. The module is safe to use even if you do not power cycle it.

---

## Opentrons Robot Software Changes in 7.3.1
Expand Down
7 changes: 6 additions & 1 deletion api/src/opentrons/config/gripper_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,12 @@ def info_num_to_model(num: str) -> GripperModel:
# PVT will now be 1.2
model_map = {
"0": {"0": GripperModel.v1, "1": GripperModel.v1},
"1": {"0": GripperModel.v1, "1": GripperModel.v1_1, "2": GripperModel.v1_2},
"1": {
"0": GripperModel.v1,
"1": GripperModel.v1_1,
"2": GripperModel.v1_2,
"3": GripperModel.v1_3,
},
}
return model_map[major_model][minor_model]

Expand Down
6 changes: 3 additions & 3 deletions app-shell/build/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ log][]. For a list of currently known issues, please see the [Opentrons issue tr

---

## Opentrons App Changes in 7.4.0
## Opentrons App Changes in 7.5.0

Welcome to the v7.4.0 release of the Opentrons App!
Welcome to the v7.5.0 release of the Opentrons App!

This release adds support for the [Opentrons Flex HEPA/UV Module](https://opentrons.com/products/opentrons-flex-hepa-uv-module).
There are no changes to the Opentrons App in v7.5.0, but it is required for updating the robot software to support the [Opentrons Flex HEPA/UV Module](https://opentrons.com/products/opentrons-flex-hepa-uv-module) and the latest Flex Gripper model (serial numbers beginning `GRPV13`).

---

Expand Down
29 changes: 29 additions & 0 deletions shared-data/gripper/definitions/1/gripperV1.3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"$otSharedSchema": "gripper/schemas/1",
"model": "gripperV1.3",
"schemaVersion": 1,
"displayName": "Flex Gripper",
"gripForceProfile": {
"polynomial": [
[0, 3.759869],
[1, 0.81005],
[2, 0.04597701]
],
"defaultGripForce": 15.0,
"defaultIdleForce": 10.0,
"defaultHomeForce": 12.0,
"min": 2.0,
"max": 30.0
},
"geometry": {
"baseOffsetFromMount": [19.5, -74.325, -94.825],
"jawCenterOffsetFromBase": [0.0, 0.0, -86.475],
"pinOneOffsetFromBase": [6.0, -54.0, -98.475],
"pinTwoOffsetFromBase": [6.0, 54.0, -98.475],
"jawWidth": {
"min": 60.0,
"max": 92.0
},
"maxAllowedGripError": 3.0
}
}
8 changes: 7 additions & 1 deletion shared-data/js/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,13 @@ export const MAGNETIC_BLOCK_V1: 'magneticBlockV1' = 'magneticBlockV1'
export const GRIPPER_V1: 'gripperV1' = 'gripperV1'
export const GRIPPER_V1_1: 'gripperV1.1' = 'gripperV1.1'
export const GRIPPER_V1_2: 'gripperV1.2' = 'gripperV1.2'
export const GRIPPER_MODELS = [GRIPPER_V1, GRIPPER_V1_1, GRIPPER_V1_2]
export const GRIPPER_V1_3: 'gripperV1.3' = 'gripperV1.3'
export const GRIPPER_MODELS = [
GRIPPER_V1,
GRIPPER_V1_1,
GRIPPER_V1_2,
GRIPPER_V1_3,
]

// robot display name
export const OT2_DISPLAY_NAME: 'Opentrons OT-2' = 'Opentrons OT-2'
Expand Down
10 changes: 9 additions & 1 deletion shared-data/js/gripper.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
import gripperV1 from '../gripper/definitions/1/gripperV1.json'
import gripperV1_1 from '../gripper/definitions/1/gripperV1.1.json'
import gripperV1_2 from '../gripper/definitions/1/gripperV1.2.json'
import gripperV1_3 from '../gripper/definitions/1/gripperV1.3.json'

import { GRIPPER_V1, GRIPPER_V1_1, GRIPPER_V1_2 } from './constants'
import {
GRIPPER_V1,
GRIPPER_V1_1,
GRIPPER_V1_2,
GRIPPER_V1_3,
} from './constants'

import type { GripperModel, GripperDefinition } from './types'

Expand All @@ -16,6 +22,8 @@ export const getGripperDef = (
return gripperV1_1 as GripperDefinition
case GRIPPER_V1_2:
return gripperV1_2 as GripperDefinition
case GRIPPER_V1_3:
return gripperV1_3 as GripperDefinition
default:
console.warn(
`Could not find a gripper with model ${gripperModel}, falling back to most recent definition: ${GRIPPER_V1_2}`
Expand Down
2 changes: 2 additions & 0 deletions shared-data/js/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import {
GRIPPER_V1,
GRIPPER_V1_1,
GRIPPER_V1_2,
GRIPPER_V1_3,
EXTENSION,
MAGNETIC_BLOCK_V1,
} from './constants'
Expand Down Expand Up @@ -230,6 +231,7 @@ export type GripperModel =
| typeof GRIPPER_V1
| typeof GRIPPER_V1_1
| typeof GRIPPER_V1_2
| typeof GRIPPER_V1_3

export type ModuleModelWithLegacy =
| ModuleModel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,15 @@ class GripperModel(str, Enum):
v1 = "gripperV1"
v1_1 = "gripperV1.1"
v1_2 = "gripperV1.2"
v1_3 = "gripperV1.3"

def __str__(self) -> str:
"""Model name."""
enum_to_str = {
self.__class__.v1: "gripperV1",
self.__class__.v1_1: "gripperV1.1",
self.__class__.v1_2: "gripperV1.2",
self.__class__.v1_3: "gripperV1.3",
}
return enum_to_str[self]

Expand Down
Loading