iCub-main
Loading...
Searching...
No Matches
Namespaces | Variables
python-motor-control.py File Reference

Go to the source code of this file.

Namespaces

namespace  python-motor-control
 

Variables

 python-motor-control.props = yarp.Property()
 
 python-motor-control.armDriver = yarp.PolyDriver(props)
 
 python-motor-control.iPos = armDriver.viewIPositionControl()
 
 python-motor-control.iVel = armDriver.viewIVelocityControl()
 
 python-motor-control.iEnc = armDriver.viewIEncoders()
 
 python-motor-control.jnts = iPos.getAxes()
 
 python-motor-control.encs = yarp.Vector(jnts)
 
 python-motor-control.home = yarp.Vector(jnts, encs.data())
 store as home position
 
 python-motor-control.tmp = yarp.Vector(jnts)