Keep the function reusable.
Develop and debug C/C++ processing functions on a PC, then integrate the same logic on target hardware through platform-specific interfaces.
The principles
YODPS exists to make functions easier to develop, connect, test and understand.
Develop and debug C/C++ processing functions on a PC, then integrate the same logic on target hardware through platform-specific interfaces.
Use plain C structures as the native payload format. Make serialization optional, and handle differences in alignment, layout and endianness at system boundaries.
Connect nodes through a uniform publish/subscribe model. Keep processing functions independent of the messaging backend.
Acquire, process, visualize, record and replay through the same workflow. Mix desktop and target nodes for integration and closed-loop testing.
Expose raw data and function outputs through viewers, plots and traces so integration problems can be inspected and reproduced.