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

feat(emulator): allow overriding pipettes used by smoothie emulator #7868

Merged
merged 4 commits into from
Jun 3, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
more notes.
  • Loading branch information
amit lissack committed Jun 2, 2021
commit 08902d009f17ddbef021799402b18460a0a03f9d
2 changes: 1 addition & 1 deletion api/src/opentrons/hardware_control/emulation/settings.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from pydantic import BaseSettings, Field, BaseModel
from pydantic import BaseSettings, BaseModel


class PipetteSettings(BaseModel):
Expand Down
2 changes: 2 additions & 0 deletions robot-server/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,5 @@ This requires two steps. Enter these commands from the opentrons directory:

- `make -C api emulator`
- `make -C robot-server dev-with-emulator`

By default a `p20_multi_v2.0` is on the left mount and `p20_single_v2.0` is on the right. These can be changed by modifying the `OT_EMULATOR_smoothie` environment variable which contains a stringified JSON object with a `model` and `id` field for the `left` and `right`. All fields are optional. For example to use a `p300_multi` on the right use `export OT_EMULATOR_smoothie='{"right": {"model": "p300_multi"}}' && make -C api emulator`