client¶
Module contents¶
Submodules¶
plico_motor.client.motor_client module¶
- class plico_motor.client.motor_client.MotorClient(rpcHandler, sockets, axis=1)¶
Bases:
AbstractMotorClient,HackerableClient,ServerInfoClient- home(timeout_in_sec=10.0)¶
- move_by(position_in_steps, timeout_in_sec=10.0)¶
- move_to(position_in_steps, timeout_in_sec=10.0)¶
- position()¶
- set_velocity(velocity_in_steps_per_second, timeout_in_sec=10.0)¶
- snapshot(prefix, timeout_in_sec=3.0)¶
- status(timeout_in_sec=3.0)¶
- velocity()¶
plico_motor.client.abstract_motor_client module¶
- class plico_motor.client.abstract_motor_client.AbstractMotorClient¶
Bases:
object- abstract home()¶
- abstract move_by(position_in_steps)¶
- abstract move_to(position_in_steps)¶
- abstract position()¶
- abstract set_velocity(velocity_in_steps_per_second)¶
- abstract snapshot(prefix='MY_MOTOR')¶
- abstract status()¶
- abstract velocity()¶