Open matosinho opened 3 years ago
track_drive.sdf
has these warning upon loading:Warning [Utils.cc:129] [/sdf/world[@name="track_drive"]/model[@name="vehicle_blue"]/link[@name="base_link"]/inertial/pose[@relative_to=""]:/home/matosinho/dev/ROS2/fortress_party/install/share/ignition/ignition-gazebo6/worlds/track_drive.sdf:L88]: XML Attribute[relative_to] in element[pose] not defined in SDF. Warning [Utils.cc:129] [/sdf/world[@name="track_drive"]/model[@name="vehicle_green"]/link[@name="base_link"]/inertial/pose[@relative_to=""]:/home/matosinho/dev/ROS2/fortress_party/install/share/ignition/ignition-gazebo6/worlds/track_drive.sdf:L1082]: XML Attribute[relative_to] in element[pose] not defined in SDF.
these warnings about //inertial/pose[@relative_to=""]
should be fixed by https://github.com/ignitionrobotics/sdformat/pull/720
I dunno if I did something wrong, but I have changed to the sdf11, pulled your changes, ran colcon build --merge-install
again and source again the setup.bash
. Unfortunatelly, the warning is still apearing to me. Also, I've updated the issue so we can track better the problems in the scenes. If you think I should do anything differently, please tell me.
If you have a source workspace and debian packages installed to /usr
, it can be tricky to ensure that ign
commands are using the intended libraries. If you have ign-tools
in your workspace, I think it should find the right libraries. Otherwise, you can set IGN_CONFIG_PATH
to the install/share/ignition
folder of your colcon workspace.
Also, sdf11
works with ign-gazebo5
. I think you will need to use the main
branch of sdformat to work with ign-gazebo6
Environment
Description
quadcopter.sdf
,lift_drag.sdf
,multicopter_velocity_control.sdf
,buoyancy.sdf
,track_drive.sdf
.plane_propeller_demo.sdf
should work fine without printing warningsquadcopter.sdf
,lift_drag.sdf
,multicopter_velocity_control.sdf
,buoyancy.sdf
,track_drive.sdf, plane_propeller_demo.sdf
are printing warnings as soon as they open.Issue Resolution Tracker
quadcopter.sdf
lift_drag.sdf
multicopter_velocity_control.sdf
buoyancy.sdf
track_drive.sdf
plane_propeller_demo.sdf
Steps to reproduce
ign gazebo quadcopter.sdf
ign gazebo lift_drag.sdf
ign gazebo multicopter_velocity_control.sdf
ign gazebo buoyancy.sdf
ign gazebo track_drive.sdf
ign gazebo plane_propeller_demo.sdf
Output
quadcopter.sdf
has these warning upon loading:lift_drag.sdf
has these warning upon loading:multicopter_velocity_control.sdf
has these warning upon loading:buoyancy.sdf
has these warning upon loading:track_drive.sdf
has these warning upon loading:plane_propeller_demo.sdf
has these warning upon loading: