(ros/navigation) Installation installing

Source: Internet
Author: User

mrpt_navigation/Tutorials/Installing

Http://wiki.ros.org/mrpt_navigation/Tutorials/Installing

Installing

Description: Installation instructions for compiling this package

Tutorial Level: Beginner

Directory

1. Get from apt packages

2. Build from sources

FromAptavailable in the package

* NOTE *: Available only in Indigo or later. The old version of Ros compiles the package from the source as explained below.

# This'll install all packages in the Mrpt_navigation metapackage

# Alternatively, install individual packages only as you need them

sudo apt-get install ros-$ROS _distro-mrpt-navigation

Compiling from the source



1. Make sure ROS is installed!

2. Ensure that mrpt has been compiled or installed. Choose one of the following three ways:


1 Install Mrpt from the official Debian/ubuntu resources:

sudo apt-get install Libmrpt-dev

·2 Install the latest version of Mrpt from the PPA repositories .

3 · Compile mrpt from the source (refer to instructions), or use sudo make install , in order for the CMake to be easier to query, add the following statement to ~/.BASHRC:

Export Mrpt_dir=your_mrpt_build_dir

3. Must be familiar with Ros Catkin compilation system Catkin buildSystems!

3. Must be familiar with Ros Catkin compilation system Catkin buildSystems!

· Official Tutorials

· J.bohren the tutorial

4. Clone the following resources to the Catkin workspace (may need to switch the space according to the ROS version):

CD <YOUR_CATKIN_WS>/SRC

git clone https://github.com/mrpt-ros-pkg/mrpt_navigation.git

Cd..

#rosdep Install--from-paths src--ignore-src--rosdistro Indigo # only if you want MRPT to being installed from Ubuntu repos

Catkin_make

5. Unit tests can be run:

Catkin_make Run_tests # to execute the gtests

6. To enable Ros to query these packages, read the Catkin file (catkin documentation) and run ( or add to ~/.BASHRC ):

SOURCE <your_catkin_ws>/devel/setup.bash




(ros/navigation) Installation installing

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.