Conversation
Signed-off-by: Sukhvansh2004 <sukhvanshjain@gmail.com>
Signed-off-by: Sukhvansh2004 <sukhvanshjain@gmail.com>
Signed-off-by: Sukhvansh2004 <sukhvanshjain@gmail.com>
|
Hi @clalancette , I noticed you are an active maintainer of this repository. Would you mind reviewing this PR? If everything looks good, it would be great if you could merge it into the repo. Thanks for your time and help! |
tfoote
left a comment
There was a problem hiding this comment.
Making a core change like this will need to have a test case that we can review for correctness. And then from that we can consider the correctness of the existing implementation and the new proposed one.
How did you validate the indexing shifts?
And why did you remove the time check?
| } | ||
| } | ||
|
|
||
| if (source_time != target_time) { |
There was a problem hiding this comment.
Removing this check is clearly wrong. You only traverse the tree a second time if the times are different.
There was a problem hiding this comment.
In the Noetic implementation ig this was'nt there as mentioned in the issue which is addressed by this PR
|
@Sukhvansh2004 could you please follow up on @tfoote's feedback? |
|
Hi, I have been a bit busy with some work. Can I come back to you guys next week? |
|
Sure, no problem |
Signed-off-by: Sukhvansh2004 <sukhvanshjain@gmail.com>
Signed-off-by: Sukhvansh2004 <sukhvanshjain@gmail.com>
|
Thank you @Sukhvansh2004 for working on the fixes of the When I tested this PR with my system, the returned tf chain does not seem to be always correct. I am not precisely sure which specific part of this PR is not yet correct, though. Nevertheless, I tried my best to understand the current code and made changes by myself to find a working solution. I hope this helps for further development. I see the issue comes from two different parts:
|
So what I saw in the function implementation was that the indexing in the erase function was not correct and the target chain not pushed correctly back into the source chain, so have fixed that.
Fixes #749