Skip to content

Conversation

@lalten
Copy link
Contributor

@lalten lalten commented Feb 25, 2025

This removes the registering a keyboard handler from the system when using the rosbag2 keyboard handler.

With this patch, you can set nullptr as keyboard handler and it will not fiddle with the system internals. If not supplied, it will work as before...

Background is that this causes side effects on the system:

  • Terminal will ignore any further inputs and freeze.
  • Tests will not properly finish and crash on gtest cleanup code.

@mvukov
Copy link
Owner

mvukov commented Feb 26, 2025

Just curious: is this patched in the official repo as well?

@lalten
Copy link
Contributor Author

lalten commented Mar 1, 2025

Just curious: is this patched in the official repo as well?

There is indeed something similar in ros2/rosbag2@4882d30 but that's not backported to Humble. The patch in this PR is much simpler and has the same effect.

@lalten
Copy link
Contributor Author

lalten commented Sep 1, 2025

@mvukov should we land #443 #444 #445 and #446?

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