Primary Pipeline Calibration example
This example is very similar to the Primary Pipeline example. However, it uses a
specialized consumer that will analyze the calibration data sent from the robot instead of the
ShellConsumer
.
Consumer setup
This example uses a specialized type of consumer that stores data about the received robot calibration.
Since the producer is reading every package from the primary interface, the consumer has to be able to consume any primary package.
Assemble the pipeline
The rest of the pipeline setup is the same as in the other pipeline example, just that we create a
CalibrationConsumer
instead of a ShellConsumer
:
Again, product handling will be happening in the background, so in the rest of the program we wait until the calibration consumer received and processed data and then print information about that: