Install ROS Melodic

2022. 8. 27. 21:18

โœ”๏ธROS ์„ค์น˜

1. 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'

 

2. keys ์„ค์ •

$ sudo apt install curl
$ curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -

 

3. Debian ํŒจํ‚ค์ง€ ๋ชฉ๋ก ์ตœ์‹ ํ™”

$ sudo apt update

 

4. Desktop-Full ์„ค์น˜

$ sudo apt install ros-melodic-desktop-full

 

5. env ์„ค์ •

$ echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc
$ source ~/.bashrc

 

6. tool ์„ค์น˜

$ sudo apt install python-rosdep python-rosinstall python-rosinstall-generator python-wstool build-essential

 

7. rosdep

$ sudo apt install python-rosdep

$ sudo rosdep init
$ rosdep update

 

8. ์„ค์น˜ ํ™•์ธ

$ printenv | grep ROS

 

โœ”๏ธTurtlesim Test

$ roscore
$ rosrun turtlesim turtlesim_node
$ rosrun turtlesim turtle_teleop_key

'๐Ÿข Turtlebot3 > ๐Ÿ’ก Setting' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๋‹ค๋ฅธ ๊ธ€

Jetson Nano Info  (0) 2022.09.20
Install OpenCV 3.4  (0) 2022.08.27

BELATED ARTICLES

more