ifw-fcf  4.1.0-pre2
Public Member Functions | List of all members
Motor.Motor Class Reference

Test library for testing Motor business logic. More...

Inheritance diagram for Motor.Motor:
Device.Device Adc.Adc Drot.Drot

Public Member Functions

def __init__ (self, server, ns, name, program="MAIN")
 
def ctrl_move_abs (self, pos, vel)
 
def ctrl_move_rel (self, pos, vel)
 
def ctrl_move_vel (self, vel)
 
- Public Member Functions inherited from Device.Device
def call_rpc (self, rpc, *args)
 
def ctrl_reset (self)
 
def ctrl_init (self)
 
def ctrl_enable (self)
 
def ctrl_disable (self)
 
def ctrl_stop (self)
 

Additional Inherited Members

- Public Attributes inherited from Device.Device
 server
 

Detailed Description

Test library for testing Motor business logic.

Methods common to all device, e.g. reset, init, enable, etc are defined in the base class Device. Here we define only the Motor specific methods.

Constructor & Destructor Documentation

◆ __init__()

def Motor.Motor.__init__ (   self,
  server,
  ns,
  name,
  program = "MAIN" 
)

Reimplemented from Device.Device.

Reimplemented in Drot.Drot, and Adc.Adc.

Member Function Documentation

◆ ctrl_move_abs()

def Motor.Motor.ctrl_move_abs (   self,
  pos,
  vel 
)

◆ ctrl_move_rel()

def Motor.Motor.ctrl_move_rel (   self,
  pos,
  vel 
)

◆ ctrl_move_vel()

def Motor.Motor.ctrl_move_vel (   self,
  vel 
)

The documentation for this class was generated from the following file: