ami-iit / matlab-whole-body-simulator

A robot simulator running on simulink
BSD 3-Clause "New" or "Revised" License
31 stars 9 forks source link

iDynTree IrrIicht visualizer does not work if the robot model is not in the yarp path #60

Closed VenusPasandi closed 2 years ago

VenusPasandi commented 2 years ago

By default, the visualizer assumes that the robot urdf is in the yarp path. So, if the robot urdf is not in the yarp path and "YARP_ROBOT_NAME" does not match the robot urdf name, the visualizer does not work. In fact, the issue arises in "https://github.com/ami-iit/matlab-whole-body-simulator/blob/master/lib/%2Bmwbs/getModelPathFromFileNameAndYarpFinder.m".