This repository is for the ROS study.
- Ref. 01: Writing a Simple Publisher and Subscriber (Python)
- Ref. 02: tf/Tutorial
The packages have been tested under ROS Melodic and Ubuntu 18.04,
Author: Hyeonjun Park, koreaphj91@gmail.com
Affiliation: Human-Robot Interaction LAB, Kyung Hee Unviersity, South Korea
- Before do this, please backup important files.
This software is built on the Robotic Operating System (ROS).
for Desktop
$ sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
$ sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
$ sudo apt update
$ sudo apt install ros-melodic-desktop-full
after ROS install
$ echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc
$ source ~/.bashrc
$ sudo apt install python-rosdep
$ sudo rosdep init
$ rosdep update
setup workspace
$ mkdir catkin_ws
$ cd catkin_ws
$ mkdir src
$ cd src
$ catkin_ws && catkin_make
setup shortcuts
$ gedit ~/.bashrc
alias eb='gedit ~/.bashrc'
alias sb='source ~/.bashrc'
alias cw='cd ~/catkin_ws'
alias cs='cd ~/catkin_ws/src'
alias cm='cd ~/catkin_ws && catkin_make'
source /opt/ros/melodic/setup.bash
source ~/catkin_ws/devel/setup.bash
$ source ~/.bashrc
Reference ROS Melodic Install, humine