-
Notifications
You must be signed in to change notification settings - Fork 1
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
Made zenoh router runnable in launch file #22
Conversation
@sjahr it can be better to review this in the your available time. Even if we don't merge this stuffs before other PRs, i t would be better to review this in the frontline before merging. |
I'm sure we discussed this previously, but what is the main reason to directly call the router instead of using ExecuteProcess? https://github.com/ros2/launch/blob/rolling/launch/launch/actions/execute_process.py |
Because zenoh router needs to use /dev/tty as stdin. We cannot set stdin in ExecuteProcess. the functionality of launch tool doesn't allow to set stdin, Even if we use But i'm okay with use |
Thank you! IMO, this explanation should be documented in the launch file. Otherwise 👍 from me |
I'm closing this PR because some PRs about zenoh_router is solved so that tty is removed and SIGTERM handling is added. I have decided to add zenoh_router to other PRs which is addition of other scenarios. |
With this PR, we will be able to run zenoh router in launch file. This PR provides us to work on automatizing to benchmark all middleware stuffs until zenoh router can be started implicitly inside rmw layer. I used SIGTERM to close zenoh router process, but rmw_zenoh doesn't handle SIGTERM whereas handles SIGINT. I have sent a PR for it. If it's merged, this PR will work well. Maybe it can be used SIGINT however i'm besider of SIGTERM.