robotology-legacy / mex-wholebodymodel

Matlab MEX interface to the iWholeBodyModel interface.
11 stars 9 forks source link

wholeBodyModel initialization opens some YARP ports #2

Closed iron76 closed 9 years ago

iron76 commented 9 years ago

Apparently the wholeBodyModel has still some YARP dependencies since when launching wholeBodyModel('model-initialise','icubGazeboSim'); I obtain the following messages on the shell where matlab was launched (yarserver running)

yarp: Port /wbiTestmodel/torso/rpc:o active at tcp://192.168.7.1:10002 yarp: Port /wbiTestmodel/torso/command:o active at tcp://192.168.7.1:10003 yarp: Port /wbiTestmodel/torso/state:i active at tcp://192.168.7.1:10004 Problems instantiating the device driver torso

If yarpserver is not running the test script timeTest.m crashes Matlab. If yarpserver is running everything goes smoothly.

traversaro commented 9 years ago

Fix is contained in https://github.com/robotology-playground/mex-wholebodymodel/pull/5 , I'll wait for a review of @naveenoid or @barrelback before merging.

traversaro commented 9 years ago

Fixed at higher level in https://github.com/robotology-playground/yarp-wholebodyinterface/commit/b78c3fe59cfdd4098a0da786f8ad43d8adb6b36c .