Shows how to receive callbacks on value updates.

def receive_callbacks():
    """Shows how to receive callbacks on value updates."""
    def print_data(data):
        for parameter in data.parameters:
            print(parameter)

    processor.create_parameter_subscription('/YSS/SIMULATOR/BatteryVoltage1',
                                            on_data=print_data)
    sleep(5)