-
Notifications
You must be signed in to change notification settings - Fork 290
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
Added tests for the AnimationTime component #433
Conversation
Signed-off-by: Ashton Larkin <[email protected]>
A few other things to consider:
|
Codecov Report
@@ Coverage Diff @@
## ign-gazebo4 #433 +/- ##
==============================================
Coverage ? 77.26%
==============================================
Files ? 208
Lines ? 11192
Branches ? 0
==============================================
Hits ? 8648
Misses ? 2544
Partials ? 0 Continue to review full report at Codecov.
|
The specific duration type we're using is You're right that we use negative durations for jumps back in time. For example, Now, will it ever be negative for
Yeah I think that's a good idea. For the animation it probably isn't necessary, but I think it's good to be general. |
Signed-off-by: Ashton Larkin <[email protected]>
I went ahead and modified the serialization to use nanoseconds instead of milliseconds in 02ad2db. This should be ready for another review now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, thanks for the test!
I added missing tests for a
std::chrono::steady_clock::duration
component after doing something similar in #401.Signed-off-by: Ashton Larkin [email protected]