Skip to content

Moon Rover - Synchronize cFS Time with Linux Host OS #446

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

You must be logged in to vote

Typical approach is to set CFE_PLATFORM_TIME_CFG_SOURCE and CFE_PLATFORM_TIME_CFG_SRC_TIME both true and then add an app that samples Linux OS time and calls CFE_TIME_ExternalTone and CFE_TIME_ExternalTime periodically.

For MET on Linux as long as CFE_PLATFORM_TIME_CFG_VIRTUAL is true, the MET is simulated via an internal timer. See CFE_TIME_Global.VirtualMET.

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
2 replies
@HLCHowland
Comment options

@9a3eedi
Comment options

Answer selected by HLCHowland
Comment options

You must be logged in to vote
3 replies
@skliper
Comment options

@2shaar2059
Comment options

@skliper
Comment options

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