iCub-main
|
Variables | |
props = yarp.Property() | |
armDriver = yarp.PolyDriver(props) | |
iPos = armDriver.viewIPositionControl() | |
iVel = armDriver.viewIVelocityControl() | |
iEnc = armDriver.viewIEncoders() | |
jnts = iPos.getAxes() | |
encs = yarp.Vector(jnts) | |
home = yarp.Vector(jnts, encs.data()) | |
store as home position | |
tmp = yarp.Vector(jnts) | |
python-motor-control.armDriver = yarp.PolyDriver(props) |
Definition at line 23 of file python-motor-control.py.
python-motor-control.encs = yarp.Vector(jnts) |
Definition at line 36 of file python-motor-control.py.
python-motor-control.home = yarp.Vector(jnts, encs.data()) |
store as home position
Definition at line 40 of file python-motor-control.py.
python-motor-control.iEnc = armDriver.viewIEncoders() |
Definition at line 28 of file python-motor-control.py.
python-motor-control.iPos = armDriver.viewIPositionControl() |
Definition at line 26 of file python-motor-control.py.
python-motor-control.iVel = armDriver.viewIVelocityControl() |
Definition at line 27 of file python-motor-control.py.
python-motor-control.jnts = iPos.getAxes() |
Definition at line 31 of file python-motor-control.py.
python-motor-control.props = yarp.Property() |
Definition at line 17 of file python-motor-control.py.
python-motor-control.tmp = yarp.Vector(jnts) |
Definition at line 43 of file python-motor-control.py.