Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Model SDF parsing error

After working with gazebo/drcsim all day yesterday with only the occasional crash/freeze, I started up my projects today to find that the atlas model.urdf will not load.

If I were to run:

roslaunch atlas_utils atlas.launch

I get the following Errors:

Warning [parser.cc:377] SDF has no <sdf> element in file[/usr/share/drcsim-1.3/models/atlas/model.urdf]
Error [parser.cc:619] Unable to read file[/usr/share/drcsim-1.3/models/atlas/model.urdf]
Error [parser.cc:686] Error reading element <world>
Error [parser.cc:369] Unable to read element <sdf>
Error [Server.cc:235] Unable to read sdf file[atlas.world]

And gazebo/drcsim exits cleanly. This similarly happens if the Atlas model is loaded from the Gazebo gui (with roscore running as well).

The solutions I've tried:

  • Complete uninstall of ROS/Gazebo/DRCSIM and reinstallation, including wiping the keys/repositories of these packages.
  • Regenerating the model.urdf under a different name using the rosrun xacro command to encounter the same error
  • Renaming world files, model files, running gzsdf to update SDF files

Any assistance to get gazebo up and running would be very appreciated.

Model SDF parsing error

After working with gazebo/drcsim all day yesterday with only the occasional crash/freeze, I started up my projects today to find that the atlas model.urdf will not load.

If I were to run:

roslaunch atlas_utils atlas.launch

I get the following Errors:

Warning [parser.cc:377] SDF has no <sdf> element in file[/usr/share/drcsim-1.3/models/atlas/model.urdf]
Error [parser.cc:619] Unable to read file[/usr/share/drcsim-1.3/models/atlas/model.urdf]
Error [parser.cc:686] Error reading element <world>
Error [parser.cc:369] Unable to read element <sdf>
Error [Server.cc:235] Unable to read sdf file[atlas.world]

And gazebo/drcsim exits cleanly. This similarly happens if the Atlas model is loaded from the Gazebo gui (with roscore running as well).

The solutions I've tried:

  • Complete uninstall of ROS/Gazebo/DRCSIM and reinstallation, including wiping the keys/repositories of these packages.
  • Regenerating the model.urdf under a different name using the rosrun xacro command to encounter the same error
  • Renaming world files, model files, running gzsdf to update SDF files

Any assistance to get gazebo up and running would be very appreciated.

Model SDF parsing error

After working with gazebo/drcsim all day yesterday with only the occasional crash/freeze, I started up my projects today to find that the atlas model.urdf will not load.

If I were to run:

roslaunch atlas_utils atlas.launch

I get the following Errors:

Warning [parser.cc:377] SDF has no <sdf> element in file[/usr/share/drcsim-1.3/models/atlas/model.urdf]
Error [parser.cc:619] Unable to read file[/usr/share/drcsim-1.3/models/atlas/model.urdf]
Error [parser.cc:686] Error reading element <world>
Error [parser.cc:369] Unable to read element <sdf>
Error [Server.cc:235] Unable to read sdf file[atlas.world]

And gazebo/drcsim exits cleanly. This similarly happens if the Atlas model is loaded from the Gazebo gui (with roscore running as well).

The solutions I've tried:

  • Complete uninstall of ROS/Gazebo/DRCSIM and reinstallation, including wiping the keys/repositories of these packages.
  • Regenerating the model.urdf under a different name using the rosrun xacro command to encounter the same error
  • Renaming world files, model files, running gzsdf to update SDF files

Any assistance to get gazebo up and running would be very appreciated.

EDIT: env | grep GAZEBO:

GAZEBO_MODEL_PATH=/usr/share/drcsim-1.3/models:
GAZEBO_RESOURCE_PATH=/usr/share/drcsim-1.3/worlds:/usr/share/gazebo-1.3:/usr/share/gazebo_models
GAZEBO_MASTER_URI=http://localhost:11345
GAZEBO_PLUGIN_PATH=/usr/lib/drcsim-1.3/plugins:/usr/lib/gazebo-1.3/plugins
GAZEBO_MODEL_DATABASE_URI=http://gazebo

env | grep ROS:

ROS_ROOT=/opt/ros/fuerte/share/ros
ROS_PACKAGE_PATH=/usr/share/drcsim-1.3/ros:/usr/share/drcsim-1.3/models/atlas_irobot_hand:/usr/share/drcsim-1.3/models/sandia_hand:/usr/share/drcsim-1.3/models/powerplant:/usr/share/drcsim-1.3/models/fire_hose:/usr/share/drcsim-1.3/models/atlas_sandia_hand:/usr/share/drcsim-1.3/models/atlas:/usr/share/drcsim-1.3/models/sandia_hand_left:/usr/share/drcsim-1.3/models/standpipe:/usr/share/drcsim-1.3/models/golf_cart:/usr/share/drcsim-1.3/models/sandia_hand_right:/usr/share/drcsim-1.3/models/irobot_hand:/usr/share/drcsim-1.3/models/multisense_sl:/usr/share/drcsim-1.3/models/drc_terrain:/opt/ros/fuerte/share:/opt/ros/fuerte/stacks
ROSLISP_PACKAGE_DIRECTORY=/opt/ros/fuerte/share/common-lisp/ros
ROS_MASTER_URI=http://localhost:11311
ROS_DISTRO=fuerte
ROS_ETC_DIR=/opt/ros/fuerte/etc/ros

Model SDF parsing error

After working with gazebo/drcsim all day yesterday with only the occasional crash/freeze, I started up my projects today to find that the atlas model.urdf will not load.

If I were to run:

roslaunch atlas_utils atlas.launch

I get the following Errors:

Warning [parser.cc:377] SDF has no <sdf> element in file[/usr/share/drcsim-1.3/models/atlas/model.urdf]
Error [parser.cc:619] Unable to read file[/usr/share/drcsim-1.3/models/atlas/model.urdf]
Error [parser.cc:686] Error reading element <world>
Error [parser.cc:369] Unable to read element <sdf>
Error [Server.cc:235] Unable to read sdf file[atlas.world]

And gazebo/drcsim exits cleanly. This similarly happens if the Atlas model is loaded from the Gazebo gui (with roscore running as well).

The solutions I've tried:

  • Complete uninstall of ROS/Gazebo/DRCSIM and reinstallation, including wiping the keys/repositories of these packages.
  • Regenerating the model.urdf under a different name using the rosrun xacro command to encounter the same error
  • Renaming world files, model files, running gzsdf to update SDF files

Any assistance to get gazebo up and running would be very appreciated.

EDIT: env | grep GAZEBO:

GAZEBO_MODEL_PATH=/usr/share/drcsim-1.3/models:
GAZEBO_MODEL_PATH=/usr/share/drcsim-1.3/models:/usr/share/drcsim-1.3/models:
GAZEBO_RESOURCE_PATH=/usr/share/drcsim-1.3/worlds:/usr/share/gazebo-1.3:/usr/share/gazebo_models
GAZEBO_MASTER_URI=http://localhost:11345
GAZEBO_PLUGIN_PATH=/usr/lib/drcsim-1.3/plugins:/usr/lib/gazebo-1.3/plugins
GAZEBO_MODEL_DATABASE_URI=http://gazebo
GAZEBO_MODEL_DATABASE_URI=http://gazebosim.org/models

env | grep ROS:

ROS_ROOT=/opt/ros/fuerte/share/ros
ROS_PACKAGE_PATH=/usr/share/drcsim-1.3/ros:/usr/share/drcsim-1.3/models/atlas_irobot_hand:/usr/share/drcsim-1.3/models/sandia_hand:/usr/share/drcsim-1.3/models/powerplant:/usr/share/drcsim-1.3/models/fire_hose:/usr/share/drcsim-1.3/models/atlas_sandia_hand:/usr/share/drcsim-1.3/models/atlas:/usr/share/drcsim-1.3/models/sandia_hand_left:/usr/share/drcsim-1.3/models/standpipe:/usr/share/drcsim-1.3/models/golf_cart:/usr/share/drcsim-1.3/models/sandia_hand_right:/usr/share/drcsim-1.3/models/irobot_hand:/usr/share/drcsim-1.3/models/multisense_sl:/usr/share/drcsim-1.3/models/drc_terrain:/opt/ros/fuerte/share:/opt/ros/fuerte/stacks
ROSLISP_PACKAGE_DIRECTORY=/opt/ros/fuerte/share/common-lisp/ros
ROS_MASTER_URI=http://localhost:11311
ROS_DISTRO=fuerte
ROS_ETC_DIR=/opt/ros/fuerte/etc/ros
GAZEBO_MODEL_DATABASE_URI=http://gazebo

env | grep ROS:

ROS_ROOT=/opt/ros/fuerte/share/ros
ROS_PACKAGE_PATH=/usr/share/drcsim-1.3/ros:/usr/share/drcsim-1.3/models/atlas_irobot_hand:/usr/share/drcsim-1.3/models/sandia_hand:/usr/share/drcsim-1.3/models/powerplant:/usr/share/drcsim-1.3/models/fire_hose:/usr/share/drcsim-1.3/models/atlas_sandia_hand:/usr/share/drcsim-1.3/models/atlas:/usr/share/drcsim-1.3/models/sandia_hand_left:/usr/share/drcsim-1.3/models/standpipe:/usr/share/drcsim-1.3/models/golf_cart:/usr/share/drcsim-1.3/models/sandia_hand_right:/usr/share/drcsim-1.3/models/irobot_hand:/usr/share/drcsim-1.3/models/multisense_sl:/usr/share/drcsim-1.3/models/drc_terrain:/opt/ros/fuerte/share:/opt/ros/fuerte/stacks
ROSLISP_PACKAGE_DIRECTORY=/opt/ros/fuerte/share/common-lisp/ros
ROS_MASTER_URI=http://localhost:11311
ROS_DISTRO=fuerte
ROS_ETC_DIR=/opt/ros/fuerte/etc/ros

Model SDF parsing error

After working with gazebo/drcsim all day yesterday with only the occasional crash/freeze, I started up my projects today to find that the atlas model.urdf will not load.

If I were to run:

roslaunch atlas_utils atlas.launch

I get the following Errors:

Warning [parser.cc:377] SDF has no <sdf> element in file[/usr/share/drcsim-1.3/models/atlas/model.urdf]
Error [parser.cc:619] Unable to read file[/usr/share/drcsim-1.3/models/atlas/model.urdf]
Error [parser.cc:686] Error reading element <world>
Error [parser.cc:369] Unable to read element <sdf>
Error [Server.cc:235] Unable to read sdf file[atlas.world]

And gazebo/drcsim exits cleanly. This similarly happens if the Atlas model is loaded from the Gazebo gui (with roscore running as well).

The solutions I've tried:

  • Complete uninstall of ROS/Gazebo/DRCSIM and reinstallation, including wiping the keys/repositories of these packages.
  • Regenerating the model.urdf under a different name using the rosrun xacro command to encounter the same error
  • Renaming world files, model files, running gzsdf to update SDF files

Any assistance to get gazebo up and running would be very appreciated.

EDIT: env | grep GAZEBO:

GAZEBO_MODEL_PATH=/usr/share/drcsim-1.3/models:/usr/share/drcsim-1.3/models:
GAZEBO_RESOURCE_PATH=/usr/share/drcsim-1.3/worlds:/usr/share/gazebo-1.3:/usr/share/gazebo_models
GAZEBO_MASTER_URI=http://localhost:11345
GAZEBO_PLUGIN_PATH=/usr/lib/drcsim-1.3/plugins:/usr/lib/gazebo-1.3/plugins
GAZEBO_MODEL_DATABASE_URI=http://gazebosim.org/models

env | grep ROS:

ROS_ROOT=/opt/ros/fuerte/share/ros
ROS_PACKAGE_PATH=/usr/share/drcsim-1.3/ros:/usr/share/drcsim-1.3/models/atlas_irobot_hand:/usr/share/drcsim-1.3/models/sandia_hand:/usr/share/drcsim-1.3/models/powerplant:/usr/share/drcsim-1.3/models/fire_hose:/usr/share/drcsim-1.3/models/atlas_sandia_hand:/usr/share/drcsim-1.3/models/atlas:/usr/share/drcsim-1.3/models/sandia_hand_left:/usr/share/drcsim-1.3/models/standpipe:/usr/share/drcsim-1.3/models/golf_cart:/usr/share/drcsim-1.3/models/sandia_hand_right:/usr/share/drcsim-1.3/models/irobot_hand:/usr/share/drcsim-1.3/models/multisense_sl:/usr/share/drcsim-1.3/models/drc_terrain:/opt/ros/fuerte/share:/opt/ros/fuerte/stacks
ROSLISP_PACKAGE_DIRECTORY=/opt/ros/fuerte/share/common-lisp/ros
ROS_MASTER_URI=http://localhost:11311
ROS_DISTRO=fuerte
ROS_ETC_DIR=/opt/ros/fuerte/etc/ros
GAZEBO_MODEL_DATABASE_URI=http://gazebo

env | grep ROS:

ROS_ROOT=/opt/ros/fuerte/share/ros
ROS_PACKAGE_PATH=/usr/share/drcsim-1.3/ros:/usr/share/drcsim-1.3/models/atlas_irobot_hand:/usr/share/drcsim-1.3/models/sandia_hand:/usr/share/drcsim-1.3/models/powerplant:/usr/share/drcsim-1.3/models/fire_hose:/usr/share/drcsim-1.3/models/atlas_sandia_hand:/usr/share/drcsim-1.3/models/atlas:/usr/share/drcsim-1.3/models/sandia_hand_left:/usr/share/drcsim-1.3/models/standpipe:/usr/share/drcsim-1.3/models/golf_cart:/usr/share/drcsim-1.3/models/sandia_hand_right:/usr/share/drcsim-1.3/models/irobot_hand:/usr/share/drcsim-1.3/models/multisense_sl:/usr/share/drcsim-1.3/models/drc_terrain:/opt/ros/fuerte/share:/opt/ros/fuerte/stacks
ROSLISP_PACKAGE_DIRECTORY=/opt/ros/fuerte/share/common-lisp/ros
ROS_MASTER_URI=http://localhost:11311
ROS_DISTRO=fuerte
ROS_ETC_DIR=/opt/ros/fuerte/etc/ros