Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
お世話になっております。TKGの土方です。
READMEに記載の手順でラズパイのセットアップを行った際にROS 2の自動起動がうまく動作しなかったので、修正を行いました。
主な問題と修正は以下の2点です。
自動起動時に以下のエラーが発生する問題(sudo systemctl statusで確認)。
selected interface "lo" is not multicast-capable: disabling multicast
→ros2_launch.shにloのマルチキャストを有効にする文を追加
ノードはエラーなく立ち上がっている(sudo systemctl statusで確認)けれどトピックが生成されない問題。
→scramble_auto_robot_ros2.serviceにネットワークが有効になるまで待った上で追加で5秒待つ処理を追加
ご確認のほどよろしくおねがいします。