HexapodDevice¶
- class lsst.ts.athexapod.HexapodDevice¶
Bases:
object
Implement a fake PI Hexapod controller.
Methods Summary
activate_soft_limit
(x, y, z, u, v, w)Activate the software limits.
check_offset
(x, y, z, u, v, w)Check that the hexapod can move.
Check that the software limits are active.
Return the closed loop velocity.
Return formatted controller ready response.
Return get error string
Return formatted higher position software limit string.
Return formatted lower position software limit string.
Return formatted motion status response.
format_offset
(x, y, z, u, v, w)Set offset for hexapod.
Return formatted on target string.
Return formatted get pivot point string
Return formatted get position unit string.
Return formatted position response.
Return formatted reference result.
Return the system velocity.
Return formatted string for target position
parse_message
(line)Parse the message and return a response if any.
Reference the hexapod.
set_clv
(x, y, z, u, v, w)Set the closed loop velocity.
set_high_position_soft_limit
(x, y, z, u, v, w)Set higher position software limit.
set_low_position_soft_Limit
(x, y, z, u, v, w)Set the lower position software limit. Parameters ---------- x : float The x axis minimum software limit. y : float The y axis minimum software limit. z : float The z axis minimum software limit. u : float The u axis minimum software limit. v : float The v axis minimum software limit. w : float The w axis minimum software limit.
set_pivot_point
(x, y, z)Set the pivot point.
set_position
(x, y, z, u, v, w)Set the position.
set_sv
(velocity)Set the system velocity.
Stop all axes.
Methods Documentation
- async activate_soft_limit(x: float, y: float, z: float, u: float, v: float, w: float) None ¶
Activate the software limits. Parameters ———- x : float y : float z : float u : float v : float w : float
- async check_offset(x: float, y: float, z: float, u: float, v: float, w: float) str ¶
Check that the hexapod can move. Parameters ———- x : float y : float z : float u : float v : float w : float
- async format_high_position_soft_limit() str ¶
Return formatted higher position software limit string.
- async format_offset(x: float, y: float, z: float, u: float, v: float, w: float) None ¶
Set offset for hexapod. Parameters ———- x : float y : float z : float u : float v : float w : float
- async parse_message(line: str) None | str ¶
Parse the message and return a response if any.
- Parameters:
- linestr
The command received.
- Returns:
- Optional[str]
Returns a string response if expected.
- Raises:
- Exception
Raised if command is not implemented.
- async set_clv(x: float, y: float, z: float, u: float, v: float, w: float) None ¶
Set the closed loop velocity. Parameters ———- x : float y : float z : float u : float v : float w : float
- async set_high_position_soft_limit(x: float, y: float, z: float, u: float, v: float, w: float) None ¶
Set higher position software limit. Parameters ———- x : float y : float z : float u : float v : float w : float
- async set_low_position_soft_Limit(x: float, y: float, z: float, u: float, v: float, w: float) None ¶
Set the lower position software limit. Parameters ———- x : float
The x axis minimum software limit.
- yfloat
The y axis minimum software limit.
- zfloat
The z axis minimum software limit.
- ufloat
The u axis minimum software limit.
- vfloat
The v axis minimum software limit.
- wfloat
The w axis minimum software limit.
- async set_pivot_point(x: float, y: float, z: float) None ¶
Set the pivot point. Parameters ———- x : float y : float z : float