Skip to content

Commit

Permalink
CCW ShankOrientation
Browse files Browse the repository at this point in the history
  • Loading branch information
kjy5 committed Feb 5, 2024
1 parent c4ac523 commit cc3b575
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/ephys_link/platforms/new_scale_pathfinder_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def _get_angles(self, manipulator_id: str) -> com.AngularOutputData:
[
adjusted_polar if adjusted_polar > 0 else 360 + adjusted_polar,
manipulator_data["Pitch"],
manipulator_data.get("ShankOrientation", 0),
(360 - manipulator_data.get("ShankOrientation", 0)) % 360,
],
"",
)
Expand Down Expand Up @@ -219,11 +219,11 @@ def _bypass_calibration(self, manipulator_id: str) -> str:
return ""

def _set_can_write(
self,
manipulator_id: str,
can_write: bool,
hours: float,
sio: socketio.AsyncServer,
self,
manipulator_id: str,
can_write: bool,
hours: float,
sio: socketio.AsyncServer,
) -> com.StateOutputData:
raise NotImplementedError

Expand Down

0 comments on commit cc3b575

Please sign in to comment.