Skip to content

Document that spin_once() should not be called from multiple threads #1078

@AndyZe

Description

@AndyZe

I don't think it's obvious that spin_once() shouldn't be called from multiple threads. Let's improve the documentation.

Link to the current documentation: https://docs.ros2.org/latest/api/rclpy/api/init_shutdown.html

answers.ros.org question that helped me figure this out: https://answers.ros.org/question/356686/python-not-able-to-echo-ros2-topics-published-on-thread/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions