AerospaceNU / AerospaceNU/better-engine-control-software

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

Open
#37 0 comments 0 reactions 0 assignees View on GitHub
bug enhancement
Dominant language
C++
Stars
5
Forks
2
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.