Skip to content

Reenable tf2 geometry msgs tests - #20

Merged
dhood merged 4 commits into
ros2from
reenable_tf2_geometry_msgs_tests
Jun 13, 2017
Merged

dhood merged 4 commits into
ros2from
reenable_tf2_geometry_msgs_tests

Conversation

@dhood

@dhood dhood commented Apr 27, 2017 •

Copy link
Copy Markdown
Member

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

@dhood dhood added the in progress Actively being worked on (Kanban column) label Apr 27, 2017
@dhood dhood self-assigned this Apr 27, 2017

@wjwwood wjwwood left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

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)

Comment thread tf2/include/tf2/time.h Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

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":

http://en.cppreference.com/w/cpp/chrono/duration/round

It is not available until C++17, but it's possible implementation might work in more cases than this.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@wjwwood thanks for the review -- this PR incorporates commits from another, so I've moved your comment to the underlying PR 2a1bce7#r114168134

@dhood

dhood commented May 2, 2017

Copy link
Copy Markdown
Member Author
  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

upstream PR with the changes in 1496027: ros/geometry2#229

@dhood
dhood force-pushed the reenable_tf2_geometry_msgs_tests branch from 1496027 to 92513ad Compare June 12, 2017 20:03
@dhood dhood added in review Waiting for review (Kanban column) and removed in progress Actively being worked on (Kanban column) labels Jun 12, 2017
@dhood
dhood force-pushed the reenable_tf2_geometry_msgs_tests branch from 92513ad to 03319d9 Compare June 13, 2017 22:04
@dhood

dhood commented Jun 13, 2017 •

Copy link
Copy Markdown
Member Author

rebased

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

@dhood
dhood requested a review from tfoote June 13, 2017 22:15

@tfoote tfoote 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.

lgtm

@dhood
dhood merged commit 815cbf7 into ros2 Jun 13, 2017
@dhood
dhood deleted the reenable_tf2_geometry_msgs_tests branch June 13, 2017 23:54
@dhood dhood removed the in review Waiting for review (Kanban column) label Jun 13, 2017
@mikaelarguedas mikaelarguedas mentioned this pull request Jun 14, 2017
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.

3 participants