터틀봇3 패키지 설치

$ sudo apt install ros-melodic-turtlebot3 ros-melodic-open-manipulator ros-melodic-open-manipulator-with-tb3 ros-melodic-open-manipulator-description

키보드 제어를 위해 teleop-twist-keyboard 패키지 설치

$ sudo apt install ros-melodic-teleop-twist-keyboard

환경변수 설정

사용자PC의 터미널

$ export ROS_MASTER_URI=http://172.16.201.39:11311
$ export ROS_HOSTNAME=172.16.201.39

Turtlebot3의 터미널

$ export ROS_MASTER_URI=http://172.16.201.39:11311
$ export ROS_HOSTNAME=172.16.201.104