diff --git a/README.md b/README.md index acf599d8e45e7d6436b0fe104e72201c614b2196..dbec7297f916b96197ebcfece71fa83e09bc65af 100644 --- a/README.md +++ b/README.md @@ -6,16 +6,19 @@ Gazebo (meta) package for RoIS ## 導入方法 -$ ROS 環境の構築 -$ `mkdir gazebo_RoIS_ws` -$ `cd gazebo_RoIS_ws` -$ `git clone https://inohira.mns.kyutech.ac.jp/git/tanacchi/gazebo_RoIS_tanacchi.git src` -$ `cd src` -$ `catkin_init_workspace` -$ `cd -` -$ `catkin_make` -$ `echo "source ${PWD}/devel/setup.bash" >> ~/.bashrc` # 必要ならば +ROS 環境の構築後以下を実行 +```shell +$ mkdir gazebo_RoIS_ws +$ cd gazebo_RoIS_ws +$ git clone https://inohira.mns.kyutech.ac.jp/git/tanacchi/gazebo_RoIS_tanacchi.git src +$ cd src +$ catkin_init_workspace +$ sh install_packages.sh +$ cd .. +$ catkin_make +$ echo "source ${PWD}/devel/setup.bash" >> ~/.bashrc` # 必要ならば +``` ## ディレクトリ構成 @@ -34,7 +37,7 @@ gazebo_RoIS_tanacchi // 当該パッケージ 1. teleop_twist_keyboard を起動. 操作方法は標準出力もしくはROS公式ドキュメントを参照のこと. - $ `roslaunch rois_gazebo teleop_keybaord.launch` + $ `roslaunch rois_gazebo teleop_keyboard.launch` 2. 別のターミナルで,Gazebo を起動 $ `roslaunch rois_gazebo setup_gazebo.launch` diff --git a/install_packages.sh b/install_packages.sh index 89e855a3b5db5b1abb0247e448ac3bc2884c4a1a..069549659491d06e6e03909a5641c709417e3229 100755 --- a/install_packages.sh +++ b/install_packages.sh @@ -13,7 +13,11 @@ sudo apt install \ ros-melodic-map-server \ ros-melodic-move-base \ ros-melodic-move-base-msgs \ - ros-melodic-teleop-twist-keyboard + ros-melodic-teleop-twist-keyboard \ + ros-melodic-xacro \ + ros-melodic-rviz \ + ros-melodic-robot-state-publisher \ + rosbash sudo apt install python-pip python3-pip pip install -r ./route_guidance_ros/requirements.txt