Simple composable and lifecycle node creation - Turtle Nest 1.2.0 update

When developing with ROS 2, I often have to create new nodes that are composable or lifecycle nodes. Setting them up from scratch can be surprisingly tedious, which is why I added a feature to Turtle Nest that allows you to create these nodes with a single click.

Even the CMakeLists.txt and other setup files are automatically updated, so you can run the template node immediately after creating it.

Lifecycle and composable nodes are available in Turtle Nest since the newest 1.2.0 release, which is now available for all the active ROS 2 distributions via apt installation. Since the last announcement here in Discourse, it’s possible now to to also create Custom Message Interfaces package.

Hope you find these features as useful as they’ve been for my day-to-day development!

4 Likes

This is cool, but do you know that you can combine the best of both world with: rclcpp_components_register_node instead of rclcpp_components_register_nodes ?
That will build both a composable node plugin and a classic executable.

3 Likes

That’s handy, I didn’t know about this! I’ll switch to use this method instead, I think that’s what we want in most of the cases. Thanks for pointing it out!

1 Like

@doisyg, this is now implemented in the following PR:

2 Likes