Kobuki 설치 및 set-up

이용욱·2022년 3월 17일
0
post-thumbnail

pc 환경 : Ubuntu 18.04, ROS1

1. workspace 만들기

$ 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

2. 실행

우선 roscore를 실행한 후, 다른 쉘을 열어 다음의 명령어를 실행합니다.

$ roslaunch kobuki_node minimal.launch

다음은 teleop를 위해 다른 쉘에서 다음의 명령어를 실행합니다.

$ roslaunch kobuki_keyop safe_keyop.launch

이제 키보드로 터틀봇을 조종할 수 있습니다.


출처 : https://refstop.github.io/kobuki1-install.html

profile
자율주행에 관심이 있으며, Lidar SLAM을 공부하고 있습니다. [개인 홈페이지 : https://woogiee.wixsite.com/youngwooklee]

0개의 댓글