diff --git a/examples/python-ros2-dataflow/control_node.py b/examples/python-ros2-dataflow/control_node.py index dc0e9491..6188c20b 100755 --- a/examples/python-ros2-dataflow/control_node.py +++ b/examples/python-ros2-dataflow/control_node.py @@ -18,12 +18,10 @@ for i in range(500): value: {event["data"]}, metadata: {event["metadata"]}""" ) - array = [random.random() + 1, 0, 0, 0, 0, random.random() - 0.5] - print("sending ", array) node.send_output( "direction", pa.array( - array, - type=pa.float64(), + [1, 0, 0, 0, 0, 1], + type=pa.uint8(), ), )