From bcafc3c441a3ced5ade71a7cb8201da8d74d6905 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Wed, 23 Aug 2023 13:17:46 +0200 Subject: [PATCH] Revert "Send direction output as float values again" This reverts commit 8392e15f590522d6ef351f0fc6f093a568b80143. --- examples/python-ros2-dataflow/control_node.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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(), ), )