Converts a grouped map of SMM parameters/values into a flat array suitable for transmission.
During transmission, the Safety-Limited Speed (SLS) groups must be transposed.
That is, instead of sending the values grouped by SLS1, SLS2, SLS3, and SLS4 in order,
the values are interleaved such that:
Converts a grouped map of SMM parameters/values into a flat array suitable for transmission.
During transmission, the Safety-Limited Speed (SLS) groups must be transposed. That is, instead of sending the values grouped by SLS1, SLS2, SLS3, and SLS4 in order, the values are interleaved such that:
Input:
Output:
This function:
"Safety functions (SOS)"
,"SLS1"
, etc.)."SLS"
.n
arrays of 4 elements each.Returns
A flat array of all parameter values, reordered for transmission.