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