Added secNsecToDuration to helpers functions#158
Conversation
Signed-off-by: ahcorde <ahcorde@gmail.com>
Codecov Report
@@ Coverage Diff @@
## ign-math6 #158 +/- ##
=============================================
- Coverage 99.23% 99.22% -0.02%
=============================================
Files 59 59
Lines 5867 5906 +39
=============================================
+ Hits 5822 5860 +38
- Misses 45 46 +1
Continue to review full report at Codecov.
|
|
homebrew build is failing and looks like osrf/homebrew-simulation#1120 I believe this is failing now since I made |
removing swig dependency in osrf/homebrew-simulation#1124 |
chapulina
left a comment
There was a problem hiding this comment.
Since we're at it, how about also adding the other functions that were added for time point? I think most of the code can be reused to avoid duplication.
durationToStringstringToDuration
|
osrf/homebrew-simulation#1124 is merged, so I expect the homebrew build to be fixed |
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
|
thank you @scpeters for the fix! |
As discussed in the PR gazebosim/gz-sensors#41 (comment) makes sense to use
durationinstead oftime_point, This function will convert secs and nanoseconds tostd::chrono::steady_clock::durationSigned-off-by: ahcorde ahcorde@gmail.com