Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to tinyxml2 for rviz #418

Merged
merged 4 commits into from
Sep 3, 2020

Conversation

Martin-Idel
Copy link
Contributor

TinyXML is no longer maintained (see e.g. https://sourceforge.net/projects/tinyxml/).
Since RViz does not expose any API using TinyXML, there is nothing stopping us from upgrading.

This PR accomplishes the upgrade:

  • upgrade from TinyXML to TinyXML2 within rviz_common. To ensure that everything still works as intended, I wrote unit tests for the display_factory in advance.
  • remove dependency in rviz_default_plugins. It was only used in the robot display to pass the xml file to the urdf parser, which also offers an interface to pass the string instead.
  • In addition, I did some refactoring of the display_factory for readability (last commit). I can easily omit the commit if this is deemed too much for now.

It was only used to parse a string for urdf parsing.
The API however already supports passing in the string.
@clalancette
Copy link
Contributor

Just FYI, I've rebased this onto the latest. The code generally seems fine; I'll do another quick pass at reviewing, then run CI on it.

@clalancette
Copy link
Contributor

clalancette commented Sep 3, 2020

CI:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@clalancette
Copy link
Contributor

Build is passing, looking good to me. I'm going to go ahead and merge this, thanks @Martin-Idel !

@clalancette clalancette merged commit 40e3b9a into ros2:ros2 Sep 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants