Hi,
I have some questions regarding Fprime communication design patterns with passive components.
The target for most space systems is to operate with mostly passive components to mitigate scheduling risks.Therefore you typically use a sequential execution pattern with normal function calls e.g. send necessary execution information and get the results back e.g. via reference. As example with a passive master component (MC) and passive slave components.
MC SC1 SC2
│ ----exec(infotosend, &returnresults)---> │ │
│ ---------------exec(infotosend, &returnresults)-------------> │
Here my questions
1. Is there any reference component that shows how a port with nontrivial return values is defined in xml and connected?
2. Did anyone solve this issue by implementing a return value serialization?
3. What are your design patterns for such a simple request response interaction with passive components while keeping modularity? E.g.
MC SC1 SC2
│ -------------------exec- ------------> │ │
│ <--- setResultsInMemory--- │ │
- │
│ ------------------exec-----------------------------------> │
│ <--- setResultsInMemory----------------------- │
Thank you in advance for your inspiration!
Best regards,
Jan