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

🐛 [BUG] - Cannot use Destroyable because destruction was requested #69

Open
Oberacda opened this issue Mar 27, 2024 · 2 comments
Open
Labels
bug Something isn't working Core Library Issues concerning the core BT library. High Priority
Milestone

Comments

@Oberacda
Copy link
Contributor

Description

BT crashes when loading or stopping a BT with a Service, Action or Subscriber node with the error message "cannot use Destroyable because destruction was requested", due to some issues with the underlying rclpy implementation.

Reproduction URL

https://github.com/fzi-forschungszentrum-informatik/ros2_ros_bt_py

Reproduction steps

1. Load a BT containing a TopicSubscriber.
2. Run the BT.
3. Stop the BT.

Screenshots

No response

Logs

No response

ROS2 Version

Humble

OS

Ubuntu 22.04

@Oberacda Oberacda added bug Something isn't working Core Library Issues concerning the core BT library. High Priority labels Mar 27, 2024
@Oberacda Oberacda added this to the First ROS2 Release milestone Mar 27, 2024
@nspielbau
Copy link
Contributor

@nspielbau
Copy link
Contributor

Seems to be "fixed" with checking rclpy.ok() before publishing tree info. But this is not a viable solution. Also rclpy should be okay while shutting down the BT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Core Library Issues concerning the core BT library. High Priority
Projects
None yet
Development

No branches or pull requests

2 participants