-
Notifications
You must be signed in to change notification settings - Fork 8
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
Raspberry Pi 3B で SLAMサンプル の作業用PC側プログラムが起動しない #24
Comments
追加参考情報 ラズパイマウスとカメラで物体を追跡する ラズパイマウスV3は正しく対象物を追跡移動するが、 ドメイン設定は正しく行わており、pingも互いに通る。 |
@koshiba2020 ご報告ありがとうございます。 ひとまず、 |
ご報告が遅れて申し訳ございません。 下記URLを参考に 下記のコマンドを実行しまして再試行しましたところ、 Rivzが起動しまして、画像の様にLiDARからのデータはリアルタイム表示される状態になりました。 |
実行するノード、RVizで表示している項目等を再度ご確認ください。 |
こちらについても確認します。SLAMサンプルとは別の問題ですので、別のIssueとして扱います。 |
不具合の概要
https://rt-net.jp/mobility/archives/14503
にて解説されている
最後にSLAMノードを起動します。
このサンプルで使用するのは、Slam Toolboxというパッケージです。
次のコマンドを作業用PCで実行します。
実行すると、Slam Toolboxのノードと、RVizが起動します。
$ ros2 launch raspimouse_ros2_examples slam.launch.py
を実行すると"slam toolbox"が見つからない。とエラーが表示される。
これ以前のラズパイマウスV3側で実行する、
ros2 launch raspimouse_ros2_examples mouse_with_lidar.launch.py lidar:=lds
ros2 launch raspimouse_ros2_examples teleop_joy.launch.py joydev:="/dev/input/js0" joyconfig:=dualshock3 mouse:=true
はエラーなくLiDARが回転した状態でDualShock3で操作できております。
実行環境
OS:Ubuntu18.04
ROS2:Dashing
ログ・画像
[INFO][launch]: All log files can befound below/home/ubuntu/.ros/log/2021-04-15-16-50-41-083958-ubuntu-5346
[INFO] [launch]: Default logging verbosity is set to INFO
[ERROR] [launch]: caught exception in launch (see debug for traceback): "package
'slam toolbox' not found, searching: ['/home/ubuntu/ros2_ws/install/raspimouse_
ros2 examples' '/home/ubuntu/ros2 ws/install/raspimouse', '/home/ubuntu/ros2 wร
/install/raspimouse msqs /opt/ros/dashing' ]"
The text was updated successfully, but these errors were encountered: