Before trying these examples, make sure you read: http://wiki.icub.org/wiki/YARP_ROS_Interoperation There are prerequisites.