What Is a Transform?
A Transform allows you to integrate different message types in Tangram Pro, and not just visually in the design. With the click of a button, Tangram Pro will generate an executable Transform application based on your model with safeguarded input and output interfaces (e.g. the message types allowed, serializer/deserializer needed and transport to use).
Consider two messages like the LMCP AirVehicleState and STANAG4586
InertialStates message types. Both of these messages contain information about the
position and velocity of an aircraft and are used for similar tasks, but they are
structured differently and comprised of data types that are specific to the LMCP and
STANAG4586 format standards. A Transform relates the two so that a component speaking
one standard can interoperate with a component speaking the other.
Tangram Pro uses FlexLang, a specification language, to describe Transforms. Flex enables accurate and readable transform specifications that can be transpiled into a variety of languages and output formats. You can reuse an existing Transform, or author your own.
Related
- Multi-Transport Integration tutorial — apply a Transform in a real scenario
- Author Transforms with Flex — write your own Transform
- Flex Transforms reference — the FlexLang transform syntax