Skip to content

rt-net/raspimouse_sim

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

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

謝辞

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