Skip to content

Commit

Permalink
removed more unneeded code
Browse files Browse the repository at this point in the history
  • Loading branch information
caila-marashaj committed Jul 26, 2023
1 parent 57bb955 commit e201a43
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
8 changes: 0 additions & 8 deletions api/src/opentrons/hardware_control/backends/ot3simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,14 +249,6 @@ async def update_motor_status(self) -> None:
(node, MotorStatus(True, True)) for node in self._present_nodes
)

@ensure_yield
async def home_gear_motors(
self,
distance: float,
velocity: float,
) -> None:
return None

@ensure_yield
async def update_motor_estimation(self, axes: Sequence[Axis]) -> None:
"""Update motor position estimation for commanded nodes, and update cache of data."""
Expand Down
11 changes: 0 additions & 11 deletions hardware/opentrons_hardware/firmware_bindings/messages/payloads.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,17 +225,6 @@ class MoveCompletedPayload(MoveGroupResponsePayload):
ack_id: utils.UInt8Field


@dataclass(eq=False)
class GearMotorPositionResponse(MoveGroupResponsePayload):
"""Read Gear Motor Position Estimation."""

seq_id: utils.UInt8Field
current_position_um: utils.UInt32Field
encoder_position_um: utils.Int32Field
position_flags: MotorPositionFlagsField
ack_id: utils.UInt8Field


@dataclass(eq=False)
class MotorPositionResponse(EmptyPayload):
"""Read Encoder Position."""
Expand Down

0 comments on commit e201a43

Please sign in to comment.