gazebosim / gazebo-classic

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

Gazebo URDF parser issues #890

Open osrf-migration opened 11 years ago

osrf-migration commented 11 years ago

Original report (archived issue) by Norman Hendrich (Bitbucket: norman_hendrich).


Hi, I am trying to develop URDF for our robot(s). This is straighforward for the naked kinematics, and mostly works on Fuerte (gazebo 1.02) but is VERY annoying in Groovy and up.

(Lots of gzserver crashes, then crazy searching in the log for the actual problem, and minute-long waiting until the nice very user-friendly gzserver actual decides to eventually maybe react to ctrl-c after is already dead. Whoever wrote the ctrl-c signal-handler in gzserver wastes hours of man-hours every day.)

1) Why can't the URDF parser output the line-number where a problem occured in the source file?

2) Why has the URDF to crash on ANY problem? Can't it just ignore any broken items in the URDF, and still (try to) load the rest of the robot? That would help a lot.

3) On any crash, the full expanded XML is appended to the error, requiring to scroll-back manually a couple of thousand lines, at least for my robot.

4) The plugin documentation on the Gazebo site is crazy. It currently only lists the 1.9 plugin parameters, and the examples provided don't work on Groovy (1.5.0). This requires a lot of trial and error to try some parameters (e.g. ), crash gzserver, scroll back, educated guess about what went bad this time, retry. If Hydro+1.9 is required, just TELL so on the website.

osrf-migration commented 8 years ago

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