This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
dora-rs
/
dora
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
124
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
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
ad5a18b902
commit
bcafc3c441
Failed to extract signature
1 changed files
with
2 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
(),
),
)
Write
Preview
Loading…
Cancel
Save