Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tf2_ros test errors across all platforms #171

Merged
merged 5 commits into from Sep 17, 2019

Conversation

evshary
Copy link
Contributor

@evshary evshary commented Sep 17, 2019

While running CI test, there are some error messages like this

AttributeError: module 'rclpy.timer' has no attribute 'Clock'

I think the root cause is the wrong path of class Clock. It should be rclpy.clock.Clock().

evshary and others added 2 commits September 17, 2019 20:16
Signed-off-by: evshary <evshary@gmail.com>
Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
@clalancette
Copy link
Contributor

clalancette commented Sep 17, 2019

Thanks for the fix. It looks like I had a typo when running CI on #99 code yesterday, so all of the tests didn't run. I've added a couple more fixes here, and I'll now run CI to see if this fixes most of the problems:

Linux Build Status

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
@clalancette
Copy link
Contributor

Linux is fixed with the changes here. There is one more error coming from Windows Debug that I'm working on.

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
Since it is a virtual class, we want to make sure that the
destructor is virtual.  This fixes a warning from clang.

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
@clalancette
Copy link
Contributor

Here's a CI on everything except for Windows Debug (I may end up addressing that in a separate PR, since I want to get these changes in for everything else):

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

@clalancette clalancette changed the title class Clock is in clock not timer. Fix tf2_ros test errors across all platforms Sep 17, 2019
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.

None yet

3 participants