gazebosim / gazebo-classic

Gazebo classic. For the latest version, see https://github.com/gazebosim/gz-sim
http://classic.gazebosim.org/
Other
1.16k stars 476 forks source link

Check if file is a valid SDF before trying to parse it as SDF. #518

Open osrf-migration opened 11 years ago

osrf-migration commented 11 years ago

Original report (archived issue) by John Hsu (Bitbucket: hsu, GitHub: hsu).


From discussion on warning messages.

In place of calling readDoc from gazebo/sdf/interface/parser.cc:277 and gazebo/sdf/interface/parser.cc:305, do a check to see if the incoming model is SDF first, then perform readDoc or conversion from URDF accordingly. This way, we can avoid unnecessary warnings from failures to parse valid URDF files as SDF.

osrf-migration commented 11 years ago

Original comment by Nate Koenig (Bitbucket: Nathan Koenig).


Until after June, 2013.

osrf-migration commented 11 years ago

Original comment by Ian Chen (Bitbucket: Ian Chen, GitHub: iche033).


osrf-migration commented 7 years ago

Original comment by Nate Koenig (Bitbucket: Nathan Koenig).


osrf-migration commented 7 years ago

Original comment by Nate Koenig (Bitbucket: Nathan Koenig).