-
Notifications
You must be signed in to change notification settings - Fork 30
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
シミュレータ環境でSLAMとNavigationを実行 #77
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
動作OKです。コメント確認おねがいします。
README.md
Outdated
|
||
端末2で次のコマンドを実行すると、Navigationが実行されます。 | ||
```sh | ||
ros2 launch raspimouse_navigation pc_navigation.launch.py map:=/path/to/MAP_NAME.yaml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
コピペでコマンドを実行できるように、下記に変更お願いします。
ros2 launch raspimouse_navigation pc_navigation.launch.py map:=/path/to/MAP_NAME.yaml | |
ros2 launch raspimouse_navigation pc_navigation.launch.py map:=$HOME/MAP_NAME.yaml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
英語READMEの方も修正お願いします
README.md
Outdated
```sh | ||
ros2 launch raspimouse_navigation pc_navigation.launch.py map:=/path/to/MAP_NAME.yaml | ||
``` | ||
`map:=/path/to/MAP_NAME.yaml`はSLAMで作成した地図ファイルのパスを指定してください。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
下記のように修正してください
`map:=/path/to/MAP_NAME.yaml`はSLAMで作成した地図ファイルのパスを指定してください。 | |
引数`map`にはSLAMで作成した地図ファイルのパスを指定してください。 |
@@ -0,0 +1,48 @@ | |||
# The MIT License (MIT) | |||
# | |||
# Copyright 2023 RT Corporation <support@rt-net.jp> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# Copyright 2023 RT Corporation <support@rt-net.jp> | |
# Copyright 2024 RT Corporation <support@rt-net.jp> |
Co-authored-by: Shota Aoki <s.aoki@rt-net.jp>
Co-authored-by: Shota Aoki <s.aoki@rt-net.jp>
Co-authored-by: Shota Aoki <s.aoki@rt-net.jp>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What does this implement/fix?
Gazebo上でSLAMとNavigationを実行できるように変更します。
Does this close any currently open issues?
しません。
How has this been tested?
SLAMの動作確認
lidarは"urg"、"lds"、"rplidar"のうちいずれかを指定
ジョイスティックコントローラで操作
ros2 launch raspimouse_ros2_examples teleop_joy.launch.py joydev:="/dev/input/js0" joyconfig:=f710 mouse:=false
SLAMを実行
十分走らせて地図を作成したら、次のコマンドで地図を保存
ros2 run nav2_map_server map_saver_cli -f ~/MAP_NAME
Navigationの動作確認
lidarは"urg"、"lds"、"rplidar"のうちいずれかを指定
ナビゲーションを実行(マップのパスを指定)
Any other comments?
raspimouse_descriptionパッケージのadd-slam-navigationブランチが必要です。
rt-net/raspimouse_description#52
raspimouse_slam_navigation_ros2パッケージも必要です。
https://github.com/rt-net/raspimouse_slam_navigation_ros2
Checklists