Skip to content
Discussion options

You must be logged in to vote

Typically we don't do this. ports are used for inter-component communication, and commands are used for ground to flight communication. The only components that send command buffers to command dispatch are:

  1. Uplink component from ground
  2. Sequencers

Sequencers read command buffers assembled on the ground from a file and dispatch them.

Our usual pattern is to define both a port and a command for a feature that is needed in both ground and flight, then have each delegate to a helper function that contains shared implementation.

On one project I've supported, we though about a command builder and then dispatch pattern, but deemed it too complex and we reverted to the port and command pattern.

H…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Adi-Dal123
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