-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for fractional seconds in epoch definition #2084
Closed
Comments
skliper
added
the
CCB:Ready
Ready for discussion at the Configuration Control Board (CCB)
label
Apr 11, 2022
astrogeco
removed
the
CCB:Ready
Ready for discussion at the Configuration Control Board (CCB)
label
Apr 13, 2022
|
jonathan-brandenburg-metecs
pushed a commit
to METECS/cFE
that referenced
this issue
Apr 14, 2022
This was referenced Apr 14, 2022
jonathan-brandenburg-metecs
pushed a commit
to METECS/cFE
that referenced
this issue
Apr 20, 2022
jonathan-brandenburg-metecs
pushed a commit
to METECS/cFE
that referenced
this issue
Apr 20, 2022
astrogeco
added a commit
that referenced
this issue
May 2, 2022
Fix #2084, Add support for fractional seconds in epoch
astrogeco
added a commit
that referenced
this issue
May 2, 2022
Fix #2084, Add support for fractional seconds in epoch Apply clang-format
astrogeco
added a commit
that referenced
this issue
May 2, 2022
Fix #2084, Add support for fractional seconds in epoch Apply clang-format
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Would a change to accept fractional seconds for the time epoch be accepted into cFE?
cFE supports setting the epoch of time with a granularity of seconds. Here is a relevant extract from
sample_mission_cfg.h
:It seems the definition of a commonly used epoch, J2000, contains fractional seconds:
January 1, 2000, 11:58:55.816 UTC
As this issue is written, I've locally modified
CFE_TIME_Print()
to account for fractional seconds using aCFE_MISSION_TIME_EPOCH_MICROS
macro, defined in this example to 816000. I have not yet written the unit tests. Here is a fragment fromcfe_time_api.c
:The text was updated successfully, but these errors were encountered: