AerospaceNU / AerospaceNU/better-engine-control-software
Make `getTimeStamp` return `std::chrono::time_point`s
Offen
bug
enhancement
- Vorherrschende Sprache
- C++
- Sterne
- 5
- Forks
- 2
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.