iCub-main
Loading...
Searching...
No Matches
Variables
python-motor-control Namespace Reference

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)
 

Variable Documentation

◆ armDriver

python-motor-control.armDriver = yarp.PolyDriver(props)

Definition at line 23 of file python-motor-control.py.

◆ encs

python-motor-control.encs = yarp.Vector(jnts)

Definition at line 36 of file python-motor-control.py.

◆ home

python-motor-control.home = yarp.Vector(jnts, encs.data())

store as home position

Definition at line 40 of file python-motor-control.py.

◆ iEnc

python-motor-control.iEnc = armDriver.viewIEncoders()

Definition at line 28 of file python-motor-control.py.

◆ iPos

python-motor-control.iPos = armDriver.viewIPositionControl()

Definition at line 26 of file python-motor-control.py.

◆ iVel

python-motor-control.iVel = armDriver.viewIVelocityControl()

Definition at line 27 of file python-motor-control.py.

◆ jnts

python-motor-control.jnts = iPos.getAxes()

Definition at line 31 of file python-motor-control.py.

◆ props

python-motor-control.props = yarp.Property()

Definition at line 17 of file python-motor-control.py.

◆ tmp

python-motor-control.tmp = yarp.Vector(jnts)

Definition at line 43 of file python-motor-control.py.