Skip to content

Comments

Handle unregister before ROS 2 shutdown#175

Merged
bkueng merged 4 commits intoAuterion:mainfrom
rocketSzw:main
Dec 18, 2025
Merged

Handle unregister before ROS 2 shutdown#175
bkueng merged 4 commits intoAuterion:mainfrom
rocketSzw:main

Conversation

@rocketSzw
Copy link
Contributor

When manually unregistering any mode using Ctrl+C, the topic /fmu/in/unregister_ext_component is not published.
image

This causes the mode to fail to unregister properly in PX4.

I have resolved this issue.
image

Simplify code: Combine duplicate 'context_valid' condition checks

Co-authored-by: Beat Küng <[email protected]>
Copy link
Collaborator

@bkueng bkueng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, looks good

@bkueng bkueng merged commit 2af3c2d into Auterion:main Dec 18, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants