Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dora python example error #407

Closed
RuPingCen opened this issue Jan 9, 2024 · 1 comment
Closed

dora python example error #407

RuPingCen opened this issue Jan 9, 2024 · 1 comment
Labels
bug Something isn't working cli CLI python Python API

Comments

@RuPingCen
Copy link

Describe the bug
We hope to display Dora node data by using ROS2 nodes, so we are trying Python-ROS2-dataflow. When we use

ros2 run turtlesim turtlesim_node 

to launch turtlesim node, and another terminator input the command as follow:

dora up
dora start dataflow.yml --name test

The screen shows the turtle, but the dora node reports an error:

image

The dataflow.yml file

nodes:
  - id: turtle
    custom:
      source: ./random_turtle.py
      inputs:
        direction: control/direction
      outputs:
        - turtle_pose

  - id: control
    custom:
      source: ./control_node.py
      inputs:
        turtle_pose: turtle/turtle_pose
        tick: dora/timer/millis/500
      outputs:
        - direction

Can you give me some ideas on how to solve this error?

@github-actions github-actions bot added bug Something isn't working cli CLI python Python API labels Jan 9, 2024
@haixuanTao
Copy link
Collaborator

Have you installed dora Python with:

pip install dora-rs

You can check the documentation at https://dora.carsmos.ai/docs/guides/Installation/installing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cli CLI python Python API
Projects
None yet
Development

No branches or pull requests

2 participants