pc 환경 : Ubuntu 18.04, ROS1
$ mkdir -p ~/kobuki_ws/src
$ cd ~/kobuki_ws/
$ catkin_make
$ cd src
$ git clone https://github.com/yujinrobot/kobuki.git
rosdep으로 의존성 설치
$ cd ~/kobuki_ws/
$ rosdep install --from-paths src --ignore-src -r -y
$ catkin_make
설치가 완료되었습니다. bashrc에 kobuki_ws의 source 명령어를 추가해 줍시다.
$ echo ". ~/kobuki_ws/devel/setup.bash" >> ~/.bashrc
우선 roscore를 실행한 후, 다른 쉘을 열어 다음의 명령어를 실행합니다.
$ roslaunch kobuki_node minimal.launch
다음은 teleop를 위해 다른 쉘에서 다음의 명령어를 실행합니다.
$ roslaunch kobuki_keyop safe_keyop.launch
이제 키보드로 터틀봇을 조종할 수 있습니다.