Installing MAVROS

This page provides some instructions related to installing MAVROS on different platforms. the official instructions can be found in this link. However, it has ben noticed that there are some issues during the installation of GeographicLib.

Installation on Odroid XU4 with Ubuntu 14.04

  • Download mavros as per the instructions, using installation from source
  • First make sure that you checked out the branch you want. for example, we are checking master branch here
    cd ~/catkin_ws/src/mavros
    git checkout master
    
  • Install GeographicLib dataset for Ubuntu 14
  • Execute the following:
    sudo apt-get install geographiclib-tools
    sudo apt-get install libgeographiclib-dev
    sudo geographiclib-datasets-download egm96_5
    
  • Update dependencies:
    cd ~/catkin_ws
    rosdep install --from-paths src --ignore-src -y
    
  • Run the following script
    cd ~/catkin_ws
    sudo ./src/mavros/mavros/scripts/install_geographiclib_datasets.sh
    
  • catkin build the workspace
  • Check if mavros works fine, e.g. roslaunch mavros px4.launch

results matching ""

    No results matching ""