mirror of
https://github.com/CopterExpress/clover.git
synced 2026-05-28 22:19:31 +00:00
* builder: Build against Buster * builder: Use correct repository specifications * builder: Move ld.so.preload to have less errors * builder: Use coex repo to install Monkey * builder: Search for buster ROS packages * aruco_pose: Vendor in aruco library from OpenCV 3.4.6 * builder: Move to ROS Melodic * builder: Update kernel version * aruco_pose, clever: Remove opencv3 ROS dependency * builder: Update rosdep * travis: Disable eclint for vendored aruco library * tests: Don't try to locate opencv in ros * roscore: Use melodic distribution * Revert "aruco_pose: Vendor in aruco library from OpenCV 3.4.6" This reverts commit 9c14a8c002bb3396f9a7d9b2ba39969207f066ba. * aruco_pose: Vendor opencv_contrib/aruco again * builder: Add led packages * builder: Remove unused builder code * travis: Add native tests * builder: Set permissions for standalone-install * builder: Use -y for package installation * builder: Add repo for standalone build * builder: Use correct file types for standalone install * aruco_pose: Accept rgb8 map images * builder: Disable mjpg_streamer test * aruco_pose: Allow rgb8 map images (again) * builder: Re-add mjpgstreamer * builder: Install tornado==4.2.1 for rosbridge_suite * builder: Use more recent base image * builder: Use default kernel * builder: Move ld.so.preload back after tests * builder: Disable catkin tests These tests fail on a remote machine but seem to pass just fine on real hardware. Something must have changed between Kinetic and Melodic, and we must investigate more, but for now we just need a working image. * aruco_pose: Remove unused vendored code * selfcheck: Update systemd-analyze regex * builder: Add opencv repository * rosdep: Update package definitions for Melodic * rosdep: Use proper yaml formatting * travis: Remove unnecessary space * docs: Reference Melodic wherever possible
63 lines
2.0 KiB
Markdown
63 lines
2.0 KiB
Markdown
# ROS Melodic package installation and setup
|
|
|
|
In order to use tools such as rqt, rviz and others as well as running the simulator (SITL), you will need to install and setup ROS package
|
|
|
|
> **Hint** For more details on installation refer to [the main article](http://wiki.ros.org/melodic/Installation/Ubuntu).
|
|
|
|
## ROS Melodic installation on Ubuntu
|
|
|
|
To find the correct package version, you will need to change the settings of your repositories. Go to "Software and updates" and enable `restricted`, `universe` and `multiverse`.
|
|
|
|
Set up your system so that software form `packages.ros.org` can be installed :
|
|
|
|
```bash
|
|
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
|
|
```
|
|
|
|
Configure access keys in your system for correct download:
|
|
|
|
```bash
|
|
sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116
|
|
```
|
|
|
|
Make sure that your packages are up to date:
|
|
|
|
```bash
|
|
sudo apt-get update
|
|
```
|
|
|
|
Now you can install the ROS package itself.
|
|
|
|
+ If you plan to use ROS together with the simulator (also includes tools such as rqt, rviz and others):
|
|
|
|
```bash
|
|
sudo apt-get install ros-melodic-desktop-full
|
|
```
|
|
|
|
+ If you plan to use ROS exclusively for tools rqt, rviz etc.:
|
|
|
|
```bash
|
|
sudo apt-get install ros-melodic-desktop
|
|
```
|
|
|
|
After the package has installed, initialize `rosdep`.
|
|
Package `rosdep` will allow to easily install dependecies for the source files that you whish to compile. Running some essential components of ROS will as well require this package.
|
|
|
|
```bash
|
|
sudo rosdep init
|
|
rosdep update
|
|
```
|
|
|
|
If you are not confortable with entering environment variables manually each time, you may configure it in a way that it add itself in your bash session on every new shell startup:
|
|
|
|
```bash
|
|
echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc
|
|
source ~/.bashrc
|
|
```
|
|
|
|
If you whish to install any additionnal packages for yout ROS Melodic simply use:
|
|
|
|
```bash
|
|
sudo apt-get install ros-melodic-PACKAGE
|
|
```
|