robosoft-ai / SMACC2

An Event-Driven, Asynchronous, Behavioral State Machine Library for ROS2 (Robotic Operating System) applications written in C++
https://smacc.dev
Apache License 2.0
223 stars 36 forks source link

added cb to deactivate a lifecycle node on exit #546

Closed sukhrajklair closed 2 months ago

sukhrajklair commented 2 months ago

Hi @brettpac I found myself needing this cb. So I'm creating a PR for it. Please take a look if it could be useful to others.

brettpac commented 2 months ago

Hi @sukhrajklair, thank you for this pr. This is a great idea, looks tight. Thank you.