def handle_output(self, output):
        assert self.input_index is not None, (
            "Produced output before getting first input, or multiple "
            "outputs for one input. Output: {0}".format(output))
        self.debug("Produced output for input #{0}", self.input_index)
        self.output_queue.put((self.input_index, 'output', output))
        self.input_index = None  # prevent it from producing mult. outputs
Construct message used when sending pings.
dataset/ETHPy150Open gatoatigrado/vimap/vimap/real_worker_routine.py/WorkerRoutine.handle_output--crossover with--dataset/ETHPy150Open IEEERobotics/bot/bot/lib/messages.py/ping_req