Ask Your Question

Revision history [back]

I don't know if you already had it done, but for those who may get stucked in such a problem, here is my step by step to install mav_tools and asctec_drivers . It worked to me, for ROS-Groovy, after a lot of mistakes and helps from this forum. I will start from the beginning:

First step, make sure you have GIT installed:

sudo apt-get install git-core

Second step, create a folder where you are going to have other packages from ROS, those you can not install through apt-get... For example:

mkdir ~/rospackages

Third step, you need to indicate where are the ROS packages, now you will have two folders, the original from ROS installation, and the one you have created:

export ROS_PACKAGE_PATH=~/rospackages/:/opt/ros/groovy

The : adds another folder, so if you have another folder to add, just write : and the location. It is important that ~/rospackages comes first so, you won't have any problems with read/write problems.

Fourth step, now you can do:

rosdep install mav_tools
rosmake mav_tools

Well, I had two erros after doing rosmake, so it leads to my final steps. If there were no errors after rosmake, ignore the following steps:

Fifth step, you may have an error related to the version of rosdep, it is caused due a conflict with the versions installed. So you will need to remove the easy-installed version:

sudo rm -rf /usr/local/lib/python2.7/dist-packages/rosdep*

Try again rosmake mav_tools.

Sixth step, you may have a problem related to rosgraph and python-netifaces. Just do the following command:

rosdep update

Try again rosmake mav_tools

After you have done it, just write:

rosdep install asctec_drivers
rosmake asctec_drivers
click to hide/show revision 2
forgot to put the git clone

I don't know if you already had it done, but for those who may get stucked in such a problem, here is my step by step to install mav_tools and asctec_drivers . It worked to me, for ROS-Groovy, after a lot of mistakes and helps from this forum. I will start from the beginning:

First step, make sure you have GIT installed:

sudo apt-get install git-core

Second step, create a folder where you are going to have other packages from ROS, those you can not install through apt-get... For example:

mkdir ~/rospackages
cd ~/rospackages
and download the packages, you can find the links in Ros website. I cant publish links here.

Third step, you need to indicate where are the ROS packages, now you will have two folders, the original from ROS installation, and the one you have created:

export ROS_PACKAGE_PATH=~/rospackages/:/opt/ros/groovy

The : adds another folder, so if you have another folder to add, just write : and the location. It is important that ~/rospackages comes first so, you won't have any problems with read/write problems.

Fourth step, now you can do:

rosdep install mav_tools
rosmake mav_tools

Well, I had two erros after doing rosmake, so it leads to my final steps. If there were no errors after rosmake, ignore the following steps:

Fifth step, you may have an error related to the version of rosdep, it is caused due a conflict with the versions installed. So you will need to remove the easy-installed version:

sudo rm -rf /usr/local/lib/python2.7/dist-packages/rosdep*

Try again rosmake mav_tools.

Sixth step, you may have a problem related to rosgraph and python-netifaces. Just do the following command:

rosdep update

Try again rosmake mav_tools

After you have done it, just write:

rosdep install asctec_drivers
rosmake asctec_drivers