Repository navigation
Reenable tf2 geometry msgs tests - #20
Conversation
wjwwood
left a comment
There was a problem hiding this comment.
In general I think this is the right approach.
I had one comment on the implementation of durationFromSec, and regardless of what we do there, a few tests for that function would be nice (I didn't any in my review)
There was a problem hiding this comment.
Have you tried this function with t_sec < 0? I think you might want std::trunc rather than std::floor, and that makes me think that the nanoseconds logic might not be perfect either.
Maybe you could use this function's "possible implementation":
It is not available until C++17, but it's possible implementation might work in more cases than this.
There was a problem hiding this comment.
@wjwwood thanks for the review -- this PR incorporates commits from another, so I've moved your comment to the underlying PR 2a1bce7#r114168134
|
upstream PR with the changes in 1496027: ros/geometry2#229 |
1496027 to
92513ad
Compare
92513ad to
03319d9
Compare
connects to ros2/navigation#5
This includes changes from #16. I haven't put it in review for that reason (things might change over there); I'm opening it for visibility now and will rebase + label as in review when appropriate.
The addition of missing transform methods in b16d65d is already proposed upstream in ros/geometry2#202