robotology / icub-models-generator

Resources and programs to generated models (URDF, SDF) of the iCub robot
14 stars 23 forks source link

iCubGazeboV2_7: xsens root_link IMU not published correctly #245

Closed martinaxgloria closed 10 months ago

martinaxgloria commented 11 months ago

The model iCubGazeboV2_7 returns some errors when the model is imported into Gazebo. I attach here the log:

This error doesn't cause the yarprobotinterface close, so it is not blocking, but it is something to be investigated due to the fact that, for example, with iCubGazeboV2_5 I didn't retrieve any error.

For the sake of completeness, I'm using the last distro v2023.05.02

cc @traversaro @pattacini

pattacini commented 11 months ago

For completeness, I've also tested iCubGazeboV2_6 and it seems running as good as iCubGazeboV2_5:

traversaro commented 11 months ago

Thanks for reporting the error! The problem seems that the change in https://github.com/robotology/icub-models-generator/pull/231/ did not updated the files for the xsens imu in the torso, see https://github.com/robotology/icub-models-generator/blob/master/simmechanics/data/icub2_5/conf/gazebo_icub_xsens_inertial.ini . The problem is that after the migration to the use of gazebo_yarp_robotinterface, having an additional IMU in the robot means that we should in theory have a completly different set of xml files just for icub 2.7 .

I renamed the issue to describe more in detail the actual problem