AerospaceNU / AerospaceNU/better-engine-control-software

Make `getTimeStamp` return `std::chrono::time_point`s

Đang mở
#37 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug enhancement
Ngôn ngữ chính
C++
Star
5
Fork
2
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

https://github.com/AerospaceNU/better-engine-control-software/blob/11ed3287302c9fbaf08342e43a87ac04023255a6/src/utils/ECSUtils.cpp#L44-L48

remove the `time_since_epoch` and `count` calls, just use the type from `now`
this will require some fixing of `getTimeStamp`'s call sites
you would also have to implement the `time_since_epoch` and `count` calls when we serialize the timestamp back to the operator

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.