rt-net / raspimouse_sim

ROS package suite for Raspberry Pi Mouse Simulator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

English | 日本語

raspimouse_sim

Gazebo上でシミュレートできるRaspberry Pi MouseのROSパッケージ一式です。

詳細なセットアップ方法はWikiにまとめています。

ROS Package Status

main develop
(master)
Noetic + Ubuntu Focal
(noetic-devel)
industrial_ci industrial_ci

以下のブランチのメンテナンスは終了しています。

  • rpim_book_version
  • indigo-devel
  • kinetic-devel
  • melodic-devel

動作環境

以下の環境を前提として動作確認しています。

  • Ubuntu
    • Ubuntu Focal Fossa 20.04.*
  • ROS
    • ROS Noetic Ninjemys
  • Gazebo
    • Gazebo 11.x
  • ROS Package
    • ros-noetic-desktop-full

インストール方法

このROSパッケージをダウンロードします。

cd ~/catkin_ws/src
git clone https://github.com/rt-net/raspimouse_sim.git

依存しているROSパッケージをインストールします。

cd ~/catkin_ws/src
git clone https://github.com/ryuichiueda/raspimouse_ros_2.git
git clone https://github.com/rt-net/raspimouse_description.git
rosdep install -r -y -i --from-paths raspimouse*

catkin_makeを使用してパッケージをビルドします。

cd ~/catkin_ws && catkin_make
source ~/catkin_ws/devel/setup.bash

Gazeboで使用するハードウェアモデルデータをダウンロードします。

rosrun raspimouse_gazebo download_gazebo_models.sh

QuickStart

シミュレータのインストール後、次のコマンドを入力して起動してください。

roslaunch raspimouse_gazebo raspimouse_with_samplemaze.launch

詳細はこのページをお読みください。

スクリーンショット

サンプル迷路での動作例

roslaunch raspimouse_gazebo raspimouse_with_samplemaze.launch

URG付きモデルでの動作例

roslaunch raspimouse_gazebo raspimouse_with_gasstand.launch

URG付きモデルでSLAM動作例

# 1つ目の端末で
roslaunch raspimouse_gazebo raspimouse_with_willowgarage.launch
# 2つ目の端末で
roslaunch raspimouse_ros_examples slam_gmapping.launch
# 3つ目の端末で
roslaunch raspimouse_ros_examples teleop.launch key:=true mouse:=false

※raspimouse_ros_examplesを使う際にはrt-net/raspimouse_ros_examplesのインストールが必要です。

以下のコマンドでインストールができます。

cd ~/catkin_ws/src
git clone https://github.com/rt-net/raspimouse_ros_examples.git
rosdep install -r -y -i --from-paths raspimouse*
cd ~/catkin_ws && catkin_make
source ~/catkin_ws/devel/setup.bash

ライセンス

このリポジトリはMITライセンスに基づいて公開されています。
MITライセンスについてはLICENSEを確認してください。

※このソフトウェアは基本的にオープンソースソフトウェアとして「AS IS」(現状有姿のまま)で提供しています。本ソフトウェアに関する無償サポートはありません。
バグの修正や誤字脱字の修正に関するリクエストは常に受け付けていますが、それ以外の機能追加等のリクエストについては社内のガイドラインを優先します。

謝辞

以下のリポジトリのファイルをベースに開発されています。

About

ROS package suite for Raspberry Pi Mouse Simulator

License:MIT License


Languages

Language:Python 70.2%Language:Shell 18.0%Language:CMake 11.8%