ephys_link.platforms.ump3_manipulator
Sensapex uMp-3 Manipulator class
Extends from ephys_link.platforms.sensapex_manipulator.SensapexManipulator
to support the uMp-3 manipulator.
Classes
Representation of a single Sensapex manipulator |
- class UMP3Manipulator(device: SensapexDevice)[source]
Bases:
SensapexManipulator
Representation of a single Sensapex manipulator
- Parameters:
device – A Sensapex device
- get_pos() PositionalOutputData [source]
Get the current position of the manipulator and convert it into mm.
- Returns:
Position in (x, y, z, x) (or an empty array on error) in mm and error message (if any).
- Return type:
- async goto_pos(position: list[float], speed: float) PositionalOutputData [source]
Move manipulator to position.
- Parameters:
position (list[float]) – The position to move to in mm.
speed (float) – The speed to move at (in mm/s).
- Returns:
Resulting position in (x, y, z, x) (or an empty array on error) in mm and error message (if any).
- Return type:
- async drive_to_depth(depth: float, speed: float) DriveToDepthOutputData [source]
Drive the manipulator to a certain depth.
- Parameters:
depth (float) – The depth to drive to in mm.
speed (float) – The speed to drive at in mm/s.
- Returns:
Resulting depth in mm (or 0 on error) and error message (if any).
- Return type: