반응형
1. Settings
a) setup source list
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
b) setup key
sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116
c) update ubuntu
sudo apt-get update
2. Install
sudo apt-get install ros-kinetic-desktop-full
3. post setting
a) initialize rosdep
sudo rosdep init rosdep update
b) install dependency
sudo apt-get install python-rosinstall python-rosinstall-generator python-wstool build-essential ros-kinetic-ros-control ros-kinetic-ros-controllers
c) bashrc setting
source /opt/ros/kinetic/setup.bash
source ~/catkin_ws/devel/setup.bash
export ROS_HOSTNAME=129.254.84.73
export ROS_MASTER_URI=http://${ROS_HOSTNAME}:11311
alias cw='cd ~/catkin_ws'
alias cs='cd ~/catkin_ws/src'
alias cm='cd ~/catkin_ws && catkin_make'
4. workspace init
$ mkdir -p ~/catkin_ws/src
$ cd ~/catkin_ws/src
$ catkin_init_workspace
$ cd ~/catkin-ws
$
'Linux' 카테고리의 다른 글
Basic Shell Script (for/if/echo) Example (0) | 2019.01.04 |
---|---|
Permission denied error when update anaconda3 or installing tensorflow using anaconda (0) | 2018.07.06 |
How to use shell script (0) | 2018.04.20 |
how to install chrome on ubuntu (0) | 2018.04.17 |
[Nvidia] graphic card driver installation fail error. "Kernel module failed to build" error. (0) | 2017.07.27 |