Script demo_clp_py
[hide private]
[frames] | no frames]

Script demo_clp_py

source code

Functions [hide private]
 
getAllOD(clst)
Get all readable object dictionary properties in a Cluster.
source code
 
getDofByNID(clst)
Get an array of position setting functions for all servo Modules, sorted in order of increasing node-id.
source code
Function Details [hide private]

getAllOD(clst)

source code 

Get all readable object dictionary properties in a Cluster.

INPUT:
  clst -- a Cluster
  
OUTPUT:
  dictionary with Hardware CLP mapping to value

getDofByNID(clst)

source code 

Get an array of position setting functions for all servo Modules, 
sorted in order of increasing node-id.

INPUT:
  clst -- a Cluster
  
OUTPUT:
  list of setter functions

NOTE: this does not require walking the OD-s