Skip to content

Remove boost shared ptrs - #896

Closed
bmagyar wants to merge 1 commit into
moveit:melodic-develfrom
bmagyar:remove_boost_shared_ptrs
Closed

bmagyar wants to merge 1 commit into
moveit:melodic-develfrom
bmagyar:remove_boost_shared_ptrs

Conversation

@bmagyar

@bmagyar bmagyar commented May 15, 2018 •

Copy link
Copy Markdown
Member

Description

I've removed all actively used occurences of boost::shared_ptr.

It seems that the issue that kept us using it was the rviz API for fetching the tf listener. I have solved it by adding a conversion function (in separate commit) although it is questionable if we should stick to this rviz API at all. The updated API works with tf2. I think we should use that but it implies further refactoring of the PlanningSceneMonitor and everything related (which is pretty much everything else in MoveIt).

Checklist

  • Required: Code is auto formatted using clang-format
  • Optional: Decide if this should be cherry-picked to other current ROS branches (Indigo, Jade, Kinetic)

@bmagyar

bmagyar commented May 15, 2018

Copy link
Copy Markdown
Member Author

I won't be able to adjust this PR in the coming week, feel free to touch it up if needed.

@bmagyar
bmagyar requested a review from rhaschke May 15, 2018 11:09
@bmagyar
bmagyar force-pushed the remove_boost_shared_ptrs branch from 8c5c862 to 970245c Compare May 15, 2018 12:14
@IanTheEngineer

IanTheEngineer commented May 15, 2018 •

Copy link
Copy Markdown
Contributor

+1 for removing all instances of boost::shared_ptr. However, I see substantial overlap between the this PR and the tf2 migration PR that’s still under review: #830
That PR was the impetus for modifying the TransformListener API :)

@bmagyar

bmagyar commented May 15, 2018

Copy link
Copy Markdown
Member Author

Awesome! Thanks for the heads up, I'll diff against that PR and see if there's anything left ;)

@bmagyar
bmagyar force-pushed the remove_boost_shared_ptrs branch from 970245c to 3c27ed3 Compare May 15, 2018 13:01
@bmagyar

bmagyar commented May 15, 2018

Copy link
Copy Markdown
Member Author

Rebased on top of #830 !

@v4hn

v4hn commented May 15, 2018

Copy link
Copy Markdown
Contributor

looks good after #830 has been merged.

@rhaschke

Copy link
Copy Markdown
Contributor

+1 from me too. Merge is blocked by #830.

@IanTheEngineer IanTheEngineer mentioned this pull request May 17, 2018
19 of 25 tasks
@rhaschke rhaschke added the melodic PRs to be merged into melodic branch label May 17, 2018
@bmagyar
bmagyar force-pushed the remove_boost_shared_ptrs branch 2 times, most recently from 0cf3d4d to 4a67db1 Compare May 17, 2018 22:52

@rhaschke rhaschke left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@bmagyar Please rebase this onto latest melodic-devel. Then I will merge.

@bmagyar
bmagyar force-pushed the remove_boost_shared_ptrs branch from 4a67db1 to 949b883 Compare May 18, 2018 19:20
@rhaschke

Copy link
Copy Markdown
Contributor

Added to #906. Closing here.

@rhaschke rhaschke closed this May 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

melodic PRs to be merged into melodic branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants