geometry2 icon indicating copy to clipboard operation
geometry2 copied to clipboard

New approach for toMsg()/fromMsg()

Open gleichdick opened this issue 3 years ago • 13 comments

This is a rewrite of #368. Depends (more or less) on #422, #423, #424, #425 and #425, so it should be rebased and merged once these PRs are merged. First actual commit of this PR is 68a1193.

gleichdick avatar May 26 '21 19:05 gleichdick

@gleichdick OK, I think all of the other ones have been merged now. When you get a chance, a rebase of this one would be appreciated (or I can do it if you don't have time). Once we have that done, we can take a look at the current state of this.

clalancette avatar Jun 01 '21 14:06 clalancette

So here we go... One thing came to my mind: As the messages can be used with a custom allocator, does it make sense to add support for it in the conversion methods?

gleichdick avatar Jun 01 '21 14:06 gleichdick

One thing came to my mind: As the messages can be used with a custom allocator, does it make sense to add support for it in the conversion methods?

Not at the moment, no. It turns out that we need to revamp how the custom allocators are done since they don't quite work right at present. Until we know what that solution looks like, let's just stay away from the custom allocators.

clalancette avatar Jun 01 '21 14:06 clalancette

Just did a rebase

gleichdick avatar Jun 18 '21 19:06 gleichdick

The fixups for the header includes and the doxygen comments are now squashed.

gleichdick avatar Jun 21 '21 09:06 gleichdick

Hi there,

Any update on this ?

guilyx avatar Dec 04 '21 00:12 guilyx

Well, I started working on this PR almost one year ago. Indeed, it is pretty big and hard to review, but I think this redesign of geometry2 is necessary. @clalancette @ahcorde I'm intending to close this PR after the Humble Hawksbill API freeze (April 4, 2022).

gleichdick avatar Dec 04 '21 12:12 gleichdick

Hey, is this planned to be merged?

shrijitsingh99 avatar Sep 17 '22 05:09 shrijitsingh99

@gleichdick I'm assigning myself to this PR since it's gotten so stale and I'd like to get this merged... I'm sorry this took so long to pick up again

Do you think this is this still necessary, and if so, would you be able to rebase it? I'm iffy on downstream impacts

methylDragon avatar Dec 15 '22 18:12 methylDragon

I'm sorry, I stopped using ROS more than a year ago. I don't have any clue on how big the impact is on downstream projects, but things will break for sure. And the ros2 branch has moved quite a bit. I don't see myself spending more time on this.

But in my mind the reasons why I wrote this PR are still valid

gleichdick avatar Dec 16 '22 21:12 gleichdick

I'm sorry, I stopped using ROS more than a year ago. I don't have any clue on how big the impact is on downstream projects, but things will break for sure. And the ros2 branch has moved quite a bit. I don't see myself spending more time on this.

But in my mind the reasons why I wrote this PR are still valid

Alright, I understand; thanks so much for your contributions so far!

methylDragon avatar Dec 17 '22 05:12 methylDragon

@methylDragon I'm going to reopen this, as I do think the idea here is valid. It's just that this is a large change, so needs a lot of thought.

clalancette avatar Feb 17 '23 14:02 clalancette

I agree that this is something that would be great to bring in and modernize this part of the API. But it's also something that we'll need to think closely about and make sure that there's a good design document or possibly REP with a migration path clearly defined as well as appropriate deprecation process with so many people potentially using this.

tfoote avatar Sep 22 '23 08:09 tfoote