-
Notifications
You must be signed in to change notification settings - Fork 30
quickstart
Daisuke Sato edited this page Mar 21, 2018
·
14 revisions
raspimouse_simを以下のコマンドでインストールします。
bash -exv -c "$(curl -sSfL https://git.io/raspimouse-sim-installer)"
raspimouse_simのインストール後、以下のコマンドでシミュレータを起動します。
rosrun raspimouse_control gen_dev_file.sh
roslaunch raspimouse_gazebo raspimouse_with_samplemaze.launch
まず、raspimouse_sim
パッケージの中にあるraspimouse_control
の中のgen_dev_file.sh
というスクリプトを実行しています。
このコマンドを実行することで/dev
ディレクトリの直下にデバイスファイルを作ります。
gen_dev_file.sh
一度実行していて、すでにデバイスファイルがある場合、このコマンドは実行する必要はありません。
次に、Gazeboを起動し、サンプル迷路上にRaspberry Pi Mouseを配置しています。
チュートリアルと詳細なセットアップ方法はWikiにまとめています。