|
list | cmds = ['RESET_STATE','GET_STATE','APPLY_CONTROL','CMD_OK','STATE'] |
|
tuple | cmds = dict(zip(cmds,[str(i) for i in xrange(len(cmds))])) |
|
def kusanagi.shell.plant.SerialPlant.__init__ |
( |
|
self, |
|
|
|
params, |
|
|
|
x0, |
|
|
|
S0 = None , |
|
|
|
dt = 0.1 , |
|
|
|
noise = None , |
|
|
|
name = 'SerialPlant' , |
|
|
|
baud_rate = 115200 , |
|
|
|
port = '/dev/ttyACM0' , |
|
|
|
state_indices = None , |
|
|
|
maxU = None |
|
) |
| |
def kusanagi.shell.plant.SerialPlant.apply_control |
( |
|
self, |
|
|
|
u |
|
) |
| |
def kusanagi.shell.plant.SerialPlant.reset_state |
( |
|
self | ) |
|
def kusanagi.shell.plant.SerialPlant.state_from_serial |
( |
|
self | ) |
|
def kusanagi.shell.plant.SerialPlant.step |
( |
|
self, |
|
|
|
dt = None |
|
) |
| |
def kusanagi.shell.plant.SerialPlant.stop |
( |
|
self | ) |
|
kusanagi.shell.plant.SerialPlant.baud_rate |
list kusanagi.shell.plant.SerialPlant.cmds = ['RESET_STATE','GET_STATE','APPLY_CONTROL','CMD_OK','STATE'] |
|
static |
tuple kusanagi.shell.plant.SerialPlant.cmds = dict(zip(cmds,[str(i) for i in xrange(len(cmds))])) |
|
static |
kusanagi.shell.plant.SerialPlant.port |
kusanagi.shell.plant.SerialPlant.serial |
kusanagi.shell.plant.SerialPlant.state_indices |
kusanagi.shell.plant.SerialPlant.t |
kusanagi.shell.plant.SerialPlant.u |
kusanagi.shell.plant.SerialPlant.U_scaling |
The documentation for this class was generated from the following file: