polygon_plugin tutorial

asked 2017-06-20 18:18:22 -0500

crvogt gravatar image

updated 2017-06-21 01:55:18 -0500

gvdhoorn gravatar image

Hi there, I'm looking for some clarification: After following the plugin tutorial I'm ending up with this error:

[ERROR] [1497996344.648813880]: Skipping XML Document "$/home/carson/catkin_ws/src/pluginlib_tutorials_/src/polygon_plugins.xml" which had no Root Element.  This likely means the XML is malformed or missing.

[ERROR] [1497996344.648951692]: The plugin failed to load for some reason. Error: According to the loaded plugin descriptions the class polygon_plugins::Triangle with base class type polygon_base::RegularPolygon does not exist.

The difficulty seems to be when working with the polygon_plugins.xml file (which seems to have some inconsistent text), ie where does it go, and which part of the tutorial should be in it.

Currently it looks like the example plugin xml before the writer looks deeper at the code, when some of the text starts to change.

Thanks in advance

edit retag flag offensive close merge delete


Your post is missing the error.

Geoff gravatar image Geoff  ( 2017-06-20 19:04:32 -0500 )edit

Thanks for the note. It showed up in the preview

crvogt gravatar image crvogt  ( 2017-06-20 19:07:36 -0500 )edit

Can you post that source file (polygon_plugins.xml) as well?

Geoff gravatar image Geoff  ( 2017-06-20 19:09:08 -0500 )edit

@crvogt: for console copy-pastes you'll need to use the Preformatted Text button (the one with 101010 on it). Otherwise things like [ERROR] will get filtered out of the HTML rendering.

gvdhoorn gravatar image gvdhoorn  ( 2017-06-21 01:56:07 -0500 )edit