Browse Source

Revert "Send direction output as float values again"

This reverts commit 8392e15f59.
tags/v0.2.5-alpha.2
Philipp Oppermann 2 years ago
parent
commit
bcafc3c441
Failed to extract signature
1 changed files with 2 additions and 4 deletions
  1. +2
    -4
      examples/python-ros2-dataflow/control_node.py

+ 2
- 4
examples/python-ros2-dataflow/control_node.py View File

@@ -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(),
),
)

Loading…
Cancel
Save