moveit / srdfdom

Semantic Robot Description Format
BSD 3-Clause "New" or "Revised" License
12 stars 68 forks source link

Trigger error in case of SRDF syntax error #41

Closed kkufieta closed 5 years ago

kkufieta commented 5 years ago

This is to help with this issue in MoveIt!

rhaschke commented 5 years ago

Fixes https://github.com/ros-planning/moveit/issues/967.

kkufieta commented 5 years ago

@rhaschke initString already forwards false from initXml when it fails to find the robot element in the xml file. My change just catches the syntax failure case in addition and treats it the same way.

jonbinney commented 5 years ago

@kkufieta can you rebase and run clang-format?