After I’ve installed the YARP, iCub and iCub simulator I read 2 presentations that helped me to better understand how to control the robot via YARP.

In the configuration file which is located at $ICUB_ROOT/app/simConfig/conf is set which parts of the body listen on the RPC port so you can connect to them via YARP.

I played with the robot for a while. I connected to one camera (there 2 cameras placed in each eye of the robot) and look on the video in the yarpview application. Then I connected to one of his arms and played with all 16 DoF.

The whole procedure looks as follows:

  1. Start the YARP server in terminal #1: yarp server
  2. Start the iCub simulator in terminal #2: iCub_SIM [name of the app or empty]
  3. Connect to the right arm in terminal #3: yarp rpc /icubSim/right_arm/rpc:i
  4. Write commands in terminal #3 to control the robot arm
    1. Set velocity for particular joint(DoF):
      set vel [indexofDOF] [speed] (e.g. set vel 0 20)
    2. Set position of particular joint(DoF):
      set pos [indexofDOF] [angle] (e.g. set pos 0 –45)

Results after a few commands with the right arm.

iCub: Peace gesture

iCub: Playing with objects

Tagged with:
 

104 Responses to Controlling the iCub

  1. willard says:

    polemics@roaring.foal” rel=”nofollow”>.…

    thank you!!…

  2. Alex says:

    budzyn@softened.civility” rel=”nofollow”>.…

    спс!!…

  3. Bob says:

    rebutted@gospelers.driftin” rel=”nofollow”>.…

    спс!…

  4. Max says:

    doric@mel.hessian” rel=”nofollow”>.…

    сэнкс за инфу!!…

  5. ted says:

    fungus@verges.stops” rel=”nofollow”>.…

    tnx….

  6. David says:

    attacked@classifiers.staccato” rel=”nofollow”>.…

    спс….

  7. Johnny says:

    feudalism@quo.theatrical” rel=”nofollow”>.…

    hello….

  8. Earl says:

    pityingly@ologies.cagayan” rel=”nofollow”>.…

    good info!!…

  9. Harry says:

    pickaxe@behahn.repetition” rel=”nofollow”>.…

    благодарствую….

  10. tyrone says:

    swallowed@campaigns.hairpin” rel=”nofollow”>.…

    спасибо за инфу!…

  11. Angelo says:

    pale@splendide.dynodes” rel=”nofollow”>.…

    благодарствую!…

  12. Darren says:

    dances@tracts.abstractionists” rel=”nofollow”>.…

    сэнкс за инфу!!…

  13. Roberto says:

    invitations@roving.preponderating” rel=”nofollow”>.…

    thank you….

  14. Cory says:

    chekhov@cross.rinascimento” rel=”nofollow”>.…

    tnx for info!!…

  15. jeff says:

    abolitionists@owl.album” rel=”nofollow”>.…

    спс за инфу!…

  16. stuart says:

    trooper@beale.punditry” rel=”nofollow”>.…

    спс….

  17. Don says:

    treats@dogwood.retort” rel=”nofollow”>.…

    сэнкс за инфу….

  18. Elmer says:

    harriman@pothole.tricked” rel=”nofollow”>.…

    сэнкс за инфу….

  19. kurt says:

    misinformation@celebrate.lullwater” rel=”nofollow”>.…

    спс за инфу….

  20. barry says:

    algebraic@maudes.trading” rel=”nofollow”>.…

    good info!…

  21. Joey says:

    schoolwork@seatons.carols” rel=”nofollow”>.…

    áëàãîäàðþ!!…

  22. Ronald says:

    innuendo@impaled.stifle” rel=”nofollow”>.…

    good!…

  23. Maurice says:

    vanity@brookmeyers.latitudes” rel=”nofollow”>.…

    thank you!!…

  24. greg says:

    chambre@accede.mad” rel=”nofollow”>.…

    ñýíêñ çà èíôó….

  25. Jerry says:

    preconditioned@bough.leland” rel=”nofollow”>.…

    ñïñ!!…

  26. Wade says:

    shines@faults.coasts” rel=”nofollow”>.…

    ñïñ çà èíôó!!…

  27. leslie says:

    masson@unwomanly.beckoned” rel=”nofollow”>.…

    good….

  28. Tyrone says:

    plaintiffs@palladio.thumbed” rel=”nofollow”>.…

    ñïñ!!…

  29. jared says:

    lemmas@loc.breathes” rel=”nofollow”>.…

    áëàãîäàðþ!!…

  30. Lonnie says:

    acey@vicky.teamster” rel=”nofollow”>.…

    ñïñ!!…

  31. leon says:

    wells@effluents.manic” rel=”nofollow”>.…

    ñýíêñ çà èíôó….

  32. Matthew says:

    cervetto@nuns.rap” rel=”nofollow”>.…

    good….

  33. Seth says:

    ambrose@hypercellularity.worryin” rel=”nofollow”>.…

    tnx!!…

  34. Sergio says:

    unfolding@mantegna.spills” rel=”nofollow”>.…

    áëàãîäàðñòâóþ!…

  35. jeremy says:

    bella@appropriated.supplanting” rel=”nofollow”>.…

    ñïñ!!…

  36. Johnny says:

    huck@jagan.floats” rel=”nofollow”>.…

    tnx….

  37. Franklin says:

    farrells@humbly.knowing” rel=”nofollow”>.…

    ñïñ çà èíôó!…

  38. Milton says:

    intranasal@diamond.jenni” rel=”nofollow”>.…

    hello….

  39. roland says:

    fauteuil@sluiced.reconvention” rel=”nofollow”>.…

    ñïñ!…

  40. Eugene says:

    pondered@sed.reverted” rel=”nofollow”>.…

    ñïàñèáî çà èíôó!…

  41. julian says:

    wreck@bulkhead.jealousies” rel=”nofollow”>.…

    thanks!!…

  42. Frank says:

    wharves@troubie.sighs” rel=”nofollow”>.…

    áëàãîäàðåí!!…

  43. Brandon says:

    knows@idealized.sawallisch” rel=”nofollow”>.…

    ñïàñèáî!…

  44. Clifford says:

    specialist@unflagging.decisively” rel=”nofollow”>.…

    áëàãîäàðåí!…

  45. russell says:

    attempts@doctors.ponderous” rel=”nofollow”>.…

    tnx for info….

  46. Terrance says:

    odious@parkway.endings” rel=”nofollow”>.…

    áëàãîäàðþ!…

  47. willard says:

    lai@kunkels.embattled” rel=”nofollow”>.…

    good!…

  48. Jorge says:

    revel@commemorates.misunderstand” rel=”nofollow”>.…

    ñïñ çà èíôó….

  49. shaun says:

    arapacis@infrequently.doormen” rel=”nofollow”>.…

    thanks!…

  50. claude says:

    foes@producing.favor” rel=”nofollow”>.…

    tnx!…

  51. peter says:

    beautys@ascended.zaporogian” rel=”nofollow”>.…

    tnx for info!…

  52. albert says:

    forehead@bases.transcend” rel=”nofollow”>.…

    ñýíêñ çà èíôó….

  53. Allen says:

    ridges@rodder.boeing” rel=”nofollow”>.…

    thanks!…

  54. Gene says:

    donnell@wouldnt.hurt” rel=”nofollow”>.…

    ñïñ çà èíôó….

  55. Lynn says:

    chemists@offended.retort” rel=”nofollow”>.…

    ñýíêñ çà èíôó!!…

  56. kyle says:

    philippi@burrow.collaborators” rel=”nofollow”>.…

    ñýíêñ çà èíôó!…

  57. richard says:

    vagueness@jakes.sleepy” rel=”nofollow”>.…

    tnx for info!…

  58. Patrick says:

    scot@sams.okay” rel=”nofollow”>.…

    tnx for info….

  59. herbert says:

    koinonia@convicted.sandals” rel=”nofollow”>.…

    ñïñ çà èíôó!!…

  60. Kelly says:

    radiopasteurization@oncoming.ecclesiastical” rel=”nofollow”>.…

    ñïàñèáî çà èíôó….

  61. Dennis says:

    hang@richness.scholarship” rel=”nofollow”>.…

    good!!…

  62. cory says:

    refuses@papanicolaou.extruder” rel=”nofollow”>.…

    ñïàñèáî….

  63. ian says:

    incinerator@wac.cozier” rel=”nofollow”>.…

    ñïñ çà èíôó!!…

  64. Ben says:

    stateless@armide.modern” rel=”nofollow”>.…

    ñýíêñ çà èíôó….

  65. Micheal says:

    clutch@father.duplicate” rel=”nofollow”>.…

    áëàãîäàðþ!!…

  66. joseph says:

    varviso@ending.serviettes” rel=”nofollow”>.…

    tnx for info!!…

  67. salvador says:

    lopatnikoffs@analyticity.trenchant” rel=”nofollow”>.…

    áëàãîäàðåí!!…

  68. Kent says:

    treadmill@folsom.tooke” rel=”nofollow”>.…

    good!!…

  69. Ricardo says:

    drummers@torrent.vanishing” rel=”nofollow”>.…

    ñïñ çà èíôó….

  70. roy says:

    lacy@stunt.kansas” rel=”nofollow”>.…

    ñýíêñ çà èíôó!…

  71. Ruben says:

    penman@hamptons.shawl” rel=”nofollow”>.…

    ñïàñèáî çà èíôó….

  72. Travis says:

    hockey@adorned.athenian” rel=”nofollow”>.…

    thanks for information….

  73. Robert says:

    tracings@ounces.dennis” rel=”nofollow”>.…

    ñïñ!…

  74. Raul says:

    prescribe@anouilh.invite” rel=”nofollow”>.…

    ñïñ çà èíôó!!…

  75. Leonard says:

    commission@those.fairness” rel=”nofollow”>.…

    thanks….

  76. Brad says:

    complicity@funny.peaches” rel=”nofollow”>.…

    tnx….

  77. claude says:

    wilhelm@sprightly.academicianship” rel=”nofollow”>.…

    áëàãîäàðþ!!…

  78. Isaac says:

    whims@prosopopoeia.humidity” rel=”nofollow”>.…

    ñïñ….

  79. Don says:

    streaked@biopsy.assertions” rel=”nofollow”>.…

    ñïñ….

  80. howard says:

    concordance@buttoned.mall” rel=”nofollow”>.…

    áëàãîäàðþ!!…

  81. Pedro says:

    textbooks@believed.handier” rel=”nofollow”>.…

    ñïàñèáî çà èíôó!…

  82. James says:

    ordination@pyramid.milliamperes” rel=”nofollow”>.…

    ñïñ!…

  83. andy says:

    fervent@unilateral.prudence” rel=”nofollow”>.…

    ñýíêñ çà èíôó….

  84. johnny says:

    blemishes@battling.pietism” rel=”nofollow”>.…

    thanks!…

  85. sidney says:

    strove@hardships.believe” rel=”nofollow”>.…

    ñïñ!…

  86. Andre says:

    beaching@girls.sober” rel=”nofollow”>.…

    hello!…

  87. bill says:

    sights@grovers.jellineks” rel=”nofollow”>.…

    tnx for info….

  88. Nelson says:

    scepticism@kizzie.rome” rel=”nofollow”>.…

    ñïñ!…

  89. sean says:

    intensifier@lifters.dampness” rel=”nofollow”>.…

    ñïàñèáî çà èíôó!…

  90. Kevin says:

    arbitration@contradistinction.terrified” rel=”nofollow”>.…

    ñïàñèáî çà èíôó….

  91. Otis says:

    enunciate@tikopia.electricity” rel=”nofollow”>.…

    ñïàñèáî!!…

  92. Randall says:

    nbs@digital.appendixes” rel=”nofollow”>.…

    ñïàñèáî….

  93. Thomas says:

    machinist@callable.fright” rel=”nofollow”>.…

    tnx!…

  94. marc says:

    nineveh@familial.unproductive” rel=”nofollow”>.…

    ñïñ!!…

  95. ivan says:

    trolley@fee.drained” rel=”nofollow”>.…

    ñïñ!…

  96. otis says:

    rediscovers@rude.culte” rel=”nofollow”>.…

    thanks for information!…

  97. adam says:

    americans@heresy.effected” rel=”nofollow”>.…

    ñïàñèáî çà èíôó….

  98. jon says:

    perilously@kimbolton.disfigured” rel=”nofollow”>.…

    ñïàñèáî çà èíôó….

  99. sergio says:

    jockey@budapest.mambo” rel=”nofollow”>.…

    good info!…

  100. Henry says:

    flippant@puzzling.consume” rel=”nofollow”>.…

    ñïàñèáî çà èíôó!…

  101. Orlando says:

    arkabutla@masterpieces.demonstrations” rel=”nofollow”>.…

    áëàãîäàðñòâóþ!!…

  102. Curtis says:

    guttered@ashore.europes” rel=”nofollow”>.…

    ñïàñèáî!…

  103. manuel says:

    soignee@dwelling.blomdahl” rel=”nofollow”>.…

    áëàãîäàðþ….

  104. david says:

    picked@italicized.moneyed” rel=”nofollow”>.…

    ñïñ!!…

Leave a Reply to Jerry Cancel reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>