This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:ros:installation [2020/03/23 08:52] – tomykalm | en:ros:installation [Unknown date] (current) – external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Installation and Configuration ====== | ====== Installation and Configuration ====== | ||
+ | There are many different versions of ROS. The latest version long term support(LTS) is currently ROS Noetic Ninjemys. For choosing the distribution or version you should consider your application. you can find useful information about choosing the right version on this page: http:// | ||
+ | ===== Installing ROS ===== | ||
+ | Based on our application which is the autonomous vehicle we opt for ROS Melodic. Most versions of the packages work on this version, so this version is also used in this tutorial. ROS Melodic is primarily designed to run on the [[https:// | ||
- | {{:et:ros: | + | The development of ROS2 is already underway. You can read more about it at the official site: https://index.ros.org/ |
- | ====== Install | + | To make ROS easier |
- | The first step is to install | + | $ sudo apt update |
+ | $ sudo apt upgrade | ||
+ | $ wget https://raw.githubusercontent.com/ROBOTIS-GIT/robotis_tools/master/ | ||
+ | $ chmod 755 ./ | ||
+ | $ bash ./ | ||
- | There are many different versions of ROS. The latest version is currently ROS Melodic Morenia. Long Term Support (LTS) is version [[http:// | ||
- | The development | + | ===== Working Environment ===== |
+ | One of the important working elements | ||
+ | $ source | ||
- | To make ROS easier to install on Ubuntu 16.04, an automated installation script has been created, which will run automatically to install all required packages. | ||
- | To run the installation | + | To create a new working environment; |
- | wget https:// | + | $ mkdir -p ~/ |
- | + | ||
- | ====== Create a new working environment ====== | + | |
- | + | ||
- | Create a folder named // catkin_ws //. If you used an automatic install script, you can skip creating a folder: | + | |
- | + | ||
- | $ mkdir -p ~/ | + | |
Compile //catkin// workspace: | Compile //catkin// workspace: | ||
- | $ cd ~/ | + | $ cd ~/ |
- | $ catkin_make #compile the computing environment | + | $ catkin_make # compile the computing environment |
- | command // | + | command // |
- | + | ||
- | looking | + | |
$ ls -l devel | $ ls -l devel | ||
Line 34: | Line 33: | ||
When extracting these files (// | When extracting these files (// | ||
- | Use the work environment you created earlier: | + | From the work environment you created earlier |
$ source devel/ | $ source devel/ | ||
Line 41: | Line 40: | ||
$ echo $ROS_PACKAGE_PATH | $ echo $ROS_PACKAGE_PATH | ||
- | / | + | / |
Since multiple terminal windows are usually required to use ROS, and it would be tedious to use the workspace every time we add a // | Since multiple terminal windows are usually required to use ROS, and it would be tedious to use the workspace every time we add a // | ||
- | echo ' | + | $ echo ' |
Your ROS environment is now configured and will be deployed automatically. Next, explore the ROS file system. | Your ROS environment is now configured and will be deployed automatically. Next, explore the ROS file system. | ||
+ | ===== Useful Tools ===== | ||
+ | There are a bunch of programming tools and software that really facilitate working with ROS and programming. Here we suggest Terminator as an alternative to the default ubuntu Terminal and Visual Studio Code as a good IDE (Integrated Development Environment). | ||
+ | |||
+ | ==== Terminator ==== | ||
+ | Terminator is an alternative terminal for Linux that comes with a few additional features and functionality that you won't find in the default terminal application. For instance, in Terminator you can split your terminal screen both horizontally and vertically as you wish. The user can also have multiple terminals in one window and use custom key bindings to switch between them. | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | for installing the Terminator, run these commands in the terminal. | ||
+ | $ sudo add-apt-repository ppa: | ||
+ | $ sudo apt-get update | ||
+ | $ sudo apt-get install terminator | ||
+ | Now you can open a new Terminal by "Ctrl + Alt + T" and for splitting the terminal screen right-click on the terminal and use split. | ||
+ | |||
+ | ==== Visual Studio Code ==== | ||
+ | Visual Studio Code is a freeware source-code editor made by Microsoft for Windows, Linux, and macOS. Features include support for debugging, syntax highlighting, | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | For installing the VSCode you can follow the instruction on the Doc page: | ||
+ | |||
+ | https:// | ||
+ | |||
+ | |||
+ | |||
+ |