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

Signal handling with ROS2 #114

Merged
merged 1 commit into from
Aug 5, 2024
Merged

Signal handling with ROS2 #114

merged 1 commit into from
Aug 5, 2024

Conversation

shuhaowu
Copy link
Contributor

@shuhaowu shuhaowu commented Aug 5, 2024

Takes over signal handling in cactus_rt::ros2::App by taking over rclcpp::init and rclcpp::shutdown. This is necessary as rclcpp automatically handles signals otherwise and the signals will not propagate to cactus-rt threads.

Fixes #92.

@shuhaowu shuhaowu force-pushed the ros2-signal-handling branch 2 times, most recently from fc33587 to 71a9895 Compare August 5, 2024 16:04
Takes over signal handling in `cactus_rt::ros2::App` by taking over
`rclcpp::init` and `rclcpp::shutdown`. This is necessary as rclcpp
automatically handles signals otherwise and the signals will not
propagate to cactus-rt threads.

Fixes #92.
@shuhaowu shuhaowu merged commit 24c3e1c into master Aug 5, 2024
3 checks passed
@shuhaowu shuhaowu deleted the ros2-signal-handling branch August 5, 2024 16:22
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.

Investigate how ROS2 signal handling interacts with cactus_rt signal handling
1 participant