You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

op.py 349 B

123456789
  1. class Operator:
  2. def __init__(self, counter=0):
  3. self.counter = counter
  4. def on_input(self, id, value, send_output):
  5. val_len = len(value)
  6. print(f'PYTHON received input {id}; value length: {val_len}')
  7. send_output("counter", self.counter.to_bytes(1, 'little'))
  8. self.counter = (self.counter + 1) % 256

DORA (Dataflow-Oriented Robotic Architecture) is middleware designed to streamline and simplify the creation of AI-based robotic applications. It offers low latency, composable, and distributed datafl