Ask Your Question
0

ros2 lifecycle state transition topics

asked 2019-07-17 12:02:42 -0600

johnconn gravatar image

I have created a rclpy node and an associated *launch.py file.

I use ros2 launch "package" "launch file" to launch the node, and I see it successfully start. Embedding prints in the code seem to indicate that the node is taking lifecycle state transitions. However, I cannot query the lifecycle state.

I modeled my launch file after the Stereolabs zed node launch file. Is there an all-python managed node example that uses controlled state transitions for reference?

Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2019-07-17 13:12:31 -0600

gvdhoorn gravatar image

updated 2019-07-17 13:12:59 -0600

I have created a rclpy node and an associated *launch.py file. [..] Is there an all-python managed node example that uses controlled state transitions for reference?

Unless something has changed recently, managed nodes are currently a C++-only feature.

The ROS 2 Features page seems to confirm that, as as well as check of the ros2/rclpy repository.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2019-07-17 12:02:42 -0600

Seen: 61 times

Last updated: Jul 17