Browse Source

Fix: Send directions as float64 instead of float32

The Twist message declaration expects a float64 value and we don't have any automatic conversions yet
tags/v0.2.5-alpha.3
Philipp Oppermann 2 years ago
parent
commit
c9763eb7f6
Failed to extract signature
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      examples/python-ros2-dataflow/control_node.py

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

@@ -22,6 +22,6 @@ for i in range(500):
"direction",
pa.array(
[random.random() + 1, 0, 0, 0, 0, (random.random() - 0.5) * 5],
type=pa.float32(),
type=pa.float64(),
),
)

Loading…
Cancel
Save