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

[jsk_pepper_startup] rosnode kill /naoqi_driver してもjsk_pepper_startup.launchが終了しない #1077

Closed
kochigami opened this issue May 6, 2019 · 0 comments
Assignees
Labels

Comments

@kochigami
Copy link
Contributor

jsk_pepper_startup.launchの中の
naoqi_driver.launchのノードがrosnode killなどで落とされた時に、required=trueが効かなくて、
jsk_pepper_startup.launchが終了しない。
=> kochigami/naoqi_driver#8
(naoqi_driver側ではQiとROSが共存していて、rosnode killした時は、Qiの関数で処理が閉じ込められているから、ros::shutdownしない)
(私にはこの解決策は分からない)

そこで、naoqi_driverのノードが生きているか確認して、
応答がなかったら他のrequired=trueになっているノードを落としてjsk_pepper_startup.launchを落とすと良いのではないか。

今まで気にしていなかったのは、naoqi_driverのノードがおかしくなっていたら手動で立ち上げ直していたため。

@kochigami kochigami added the naoqi label May 6, 2019
@kochigami kochigami self-assigned this May 6, 2019
kochigami added a commit to kochigami/jsk_robot that referenced this issue May 8, 2019
k-okada added a commit that referenced this issue May 13, 2019
[jsk_pepper_startup/list_up_ros_node.py] kill /naoqi_driver_node by killing another required node (#1077)
kochigami added a commit to kochigami/jsk_robot that referenced this issue May 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant