code: def addDataToQueue(self, displacement, reset=False):
      
      self.queue.appendleft({
        "dataOut": list(displacement),
        "reset": bool(reset)
      })
docs: Add the given displacement to the region's internal queue. Calls to compute
      will cause items in the queue to be dequeued in FIFO order.
  
      :param displacement: Two floats representing translation vector [dx, dy] to
                           be passed to the linked regions via 'dataOut'
      :type displacement: list
      :param reset: Reset flag to be passed to the linked regions via 'resetOut'
      :type reset: bool