AerospaceNU / AerospaceNU/better-engine-control-software

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

Aperta
#37 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug enhancement
Lingua principale
C++
Stelle
5
Fork
2
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.