Closed jeljaik closed 8 years ago
this line of code is causing the problem. The filename
variable passed to the Matlab command xmlread
should be a full path to the urdf model name. It's fixed by setting the environmental variable $CODYCO_SUPERBUILD_DIR
which can be done in the startup.m
of your Matlab configuration if you launch Matlab clicking on its icon. If instead you prefer to launch Matlab from command line then Matlab will use your system env vars. Same has been done for the blocks:
wholeBodyModel/Dynamics/dj*dq Link
wholeBodyModel/Link Jacobian
Commit happening anytime soon ...
Two things must be taken into account when using these parametric blocks:
$YARP_ROBOT_NAME
and $CODYCO_SUPERBUILD_DIR
must be defined in Matlab's workspace if it is not launched from terminal.
... as soon as it's placed in the model.