device.base.inomotorbase module¶
- class device.base.inomotorbase.ArduinoMotorsBase(calibfile, buses=None, limits_enabled=True, **kwargs)[source]¶
Bases:
HardwareBaseBase class for …
- limits(motor_id)[source]¶
Return position limits of specified motor [mm].
- Parameters:
motor_id (str) – Id of motor, see property
motor_ids.
- property motor_ids¶
- moveto(motor_id, position)[source]¶
Move a specified motor to new position [mm].
- Parameters:
motor_id (str) – Id of motor, see property
motor_ids.position (float) – New position in mm.
- class device.base.inomotorbase.MotorsCalibration(filename, limits_enabled=True)[source]¶
Bases:
objectHelper class that parses calibration file and uses the data.
- Calibration file - required options and data types
unit, id : str invert direction : bool or yes/no offset, limit low, limit high, limits bounce : float
- property motor_ids¶