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

Remove rviz_default_plugins dependency on TinyXML #531

Merged
merged 3 commits into from
May 19, 2020

Conversation

rotu
Copy link
Contributor

@rotu rotu commented Apr 28, 2020

This clears the way for urdf to switch to TinyXML2
Note that internally, urdf was converting the passed XML to a string and reparsing it in the implementation of urdf::model::initXml

This clears the way for urdf to switch to TinyXML2
Note that internally, urdf was converting the passed XML to a string and reparsing it in the implementation of `urdf::model::initXml`
@Martin-Idel
Copy link
Contributor

Note also that there is already my ancient PR to get rid of TinyXML also in rviz_common #418 (I can rebase if anyone wants to take a look) - if time is of the essence of course this is easier to review, but I think it's even better to update all of RViz.

rotu added a commit to rotu/urdf that referenced this pull request Apr 28, 2020
This clears the way for urdfdom to switch to TinyXML2
Depends on ros2/rviz#531 and ros2/kdl_parser#7
@rotu
Copy link
Contributor Author

rotu commented Apr 28, 2020

@Martin-Idel it's sad to see a PR like that wither on the vine. @cottsay, @wjwwood, any idea why #418 never got pulled in and how to prevent such backlogs?

@wjwwood
Copy link
Member

wjwwood commented Apr 28, 2020

@cottsay, @wjwwood, any idea why #418 never got pulled in and how to prevent such backlogs?

We don't have time to review all the pull requests and that one was considered to be cleanup, and so lower priority than bug fixes or feature development.

Preventing them? More maintainers to share the load is the only thing I can think of.

We have a triage process, but it's imperfect, we don't get to all issues, simply because we do not have the resources to do so. I don't know why this one was not triaged to be honest.

@rotu
Copy link
Contributor Author

rotu commented Apr 28, 2020

Even if low priority, it probably should have come up at some time in the last 10 months.

I can't find public details on the current triage process, but there should be some action authors can take or automatic re-triage for PRs that have been idle for a few weeks.

Resolve merge conflicts from ros2#533
@rotu
Copy link
Contributor Author

rotu commented Apr 30, 2020

Ready for review

@Martin-Idel
Copy link
Contributor

To me, this looks good.

@wjwwood I know that your time is limited, that's why I never proposed changes that are even more cleanup (getting rid of an old dependencies is more important than cleaning up the cmake code which I always wanted to do because it's so messy...), I just wanted to point out that maybe if you look at this, it's time to get rid of tinyxml once and for all - that'd be one less package to worry about ;-).

I also have only so much time, but if I can help you somehow let me know (for instance, do reviews help? I don't know how much that helps you or whether Open Robotics wants a full internal review of any PR).

@clalancette
Copy link
Contributor

@Martin-Idel We do appreciate any reviews you can give, especially given that you did a lot of this port initially. So that is always valuable.

Discussing this PR vs #418, I would like to eventually get all of #418 in, but I think getting just this in for now is a good step forward. That way we can deprecate the URDF initXML API. So I'll suggest we review and get this one done, then rebase #418 for later review.

@rotu With all of that said, this needs a rebase to get to a green CI. Once this is rebased I'll fire up a CI job for this along with ros2/kdl_parser#8 and ros2/urdf#12

@rotu
Copy link
Contributor Author

rotu commented May 14, 2020

@clalancette backmerged.

@clalancette
Copy link
Contributor

@clalancette backmerged.

Fantastic, thanks. I'll kick off CI on this along with the other PRs.

@clalancette
Copy link
Contributor

clalancette commented May 14, 2020

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

Copy link
Member

@wjwwood wjwwood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, @clalancette's plan seems to make sense to me.

@clalancette
Copy link
Contributor

clalancette commented May 19, 2020

All right, we have a fix for the deprecation warnings over in ros2/kdl_parser#8 (thanks @rotu). Here's another CI go:

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

@clalancette
Copy link
Contributor

macOS warning is known problem, so we can ignore that one.

I think we are good to go here, but I want to get approval from the Foxy ROS Boss before we go ahead and merge these three.

Copy link
Member

@jacobperron jacobperron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@clalancette clalancette merged commit 4b4be6e into ros2:ros2 May 19, 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

5 participants