This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:ros:installation [2021/03/01 11:06] – momala | 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 | + | 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 |
===== Installing ROS ===== | ===== 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:// | 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:// | ||
- | The development of ROS2 is already underway. You can read more about it [[https:// | + | The development of ROS2 is already underway. You can read more about it at the official site: https:// |
To make ROS easier to install on Ubuntu 18.04, an automated installation script has been created, which will run automatically to install all required packages. To run the installation script, use the following command on the terminal: | To make ROS easier to install on Ubuntu 18.04, an automated installation script has been created, which will run automatically to install all required packages. To run the installation script, use the following command on the terminal: | ||
Line 14: | Line 14: | ||
- | ===== Working | + | ===== Working |
One of the important working elements is the ROS working environment. It defines the context for the current workspace and you can also overlay different environments. Default workspace loaded with: | One of the important working elements is the ROS working environment. It defines the context for the current workspace and you can also overlay different environments. Default workspace loaded with: | ||
$ source / | $ source / | ||
- | To create a new working environment; | + | To create a new working environment; |
$ mkdir -p ~/ | $ mkdir -p ~/ | ||
Line 27: | Line 27: | ||
$ catkin_make # compile the computing environment | $ catkin_make # compile the computing environment | ||
- | command // | + | command // |
- | + | ||
- | looking | + | |
$ ls -l devel | $ ls -l devel | ||
Line 49: | Line 47: | ||
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:// | ||
+ | |||
+ | |||
+ | |||
+ |