Remove last usage of boost::date_time and replace it with std::chrono - #5596
Conversation
1050b49 to
a3182c6
Compare
|
If someone could test this with an actual device, it would be nice 😄 |
|
Format would be a bit different: |
|
I think it would be good if we keep the current format. |
Yeah, I thought about adding a common function for quering a timepoint friendly name, with that format. However the |
|
|
cce60de to
99d6ce9
Compare
|
I found some more occurrences of |
6e57656 to
5978374
Compare
mvieth
left a comment
There was a problem hiding this comment.
The last remaining mentions of date_time I found:
In pcl_pclconfig.cmake
And the apt package libboost-date-time-dev in .dev/docker/env/Dockerfile, .dev/docker/release/Dockerfile, and .dev/docker/ubuntu-variety/Dockerfile (I would suggest to replace these by libboost-serialization-dev which was implicitly installed by libboost-date-time-dev, see https://packages.ubuntu.com/kinetic/libboost-date-time1.74-dev)
| <iframe title="PCL OpenNI Viewer example" width="480" height="390" src="https://www.youtube.com/embed/x3SaWQkPsPI?rel=0" frameborder="0" allowfullscreen></iframe> | ||
|
|
||
| So let's look at the code. From *visualization/tools/openni_viewer_simple.cpp* | ||
| So let's look at the code. From *tools/openni_viewer_simple.cpp* |
There was a problem hiding this comment.
This seems to have been changed a lot compared to the openni_viewer_simple.cpp. but I just updated the sleep method and left the rest alone, since its grown quite a lot in LOCs.
Added unit test to ensure it returns as expected, like boost format. Changed tools to use the new function.
Add parsing of string to time_point. Return timestamp in local timezone instead of UTC. rename from timestamp_generator to timestamp, since it can also parse now.
…once in openni_save_image.cpp.
0693a9a to
0d859c3
Compare
… 1000 in kinfu. Lowercase timestamp test in test/io/CMakeLists.txt Call getTimestamp once in openni_image.
No description provided.