Skip to content

How do I fix the timestamp in the startup log? (Linux x86_64 native) #405

Answered by skliper
trholding asked this question in Q&A
Discussion options

You must be logged in to vote

Hello and welcome! cFE has it's own internal timekeeping via the TIME service, aka "spacecraft" time. It's worth noting that time services is fairly complex and was designed to handle a variety of use cases, I won't cover everything here but hopefully this will get you started.
The basics are there's the epoch that's set via configuration, a mission elapsed time (MET) counter, and a spacecraft time correlation factor (STCF).

The easiest way to update time is via the cFE set time command CFE_TIME_SET_TIME_CC or cFE set STCF command SC_TIME_SET_STCF_CC, both of which will adjust the spacecraft time correlation factor (STCF). You could change the epoch, but that's a compile time configuratio…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@trholding
Comment options

Answer selected by trholding
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants