Monday, March 30, 2015

[Solved] Problem Installing tum_ardrone on ROS Indigo in Ubuntu 14.04


tum_ardrone is an important package to work on PTAM (Parallel Tracking and Mapping) so actually tum_ardrone works well in ROS version (fuerte / hydro/groovy) but as ROS Indigo is the recent version people prefer using ROS Indigo for its better features and its future compatibility.



1. After intsalling tum_ardrone packages in ROS Indigo people get error while running "catkin_make" to make files to run and launch like below.


2. So to come over this error we need to install freeglut so that the catkin_make error is cleared and it will help in running tum_ardrone in ROS Indigo.

sudo apt-get install freeglut3 freeglut-dev

if you get an error like
E: Unable to locate package freeglut-dev

then try the below command: (so don't be tensed)
sudo apt-get install freeglut3-dev

so after installing try making "catkin_make" you will find that it will work and make files are created and your work is done and if you run catkin_make run "for your confirmation" you can find as same as below and then your work is done.


3. If it didn't work still then you also need to install the following one and then it might work for you. So, better even it might work for you with the below trick try installing the below one for your safe side.
the command for installing that package is :

sudo apt-get install binutils-gold 
(for ubuntu 11.10 and higher only)

if it says it was installed before then thats not a problem at all so u can proceed as usual.


I hope this tutorial might help you in clearing in problem. I am also one of the person who faced some compatibility issues and then me and my friend searched online and found out this solution for the problem i hope this would be helpful for you.

Thank you for having look at the content,
Take care

6 comments:

  1. Hi I am facing a problem durng installation of tum_vision. Could i mail you regarding that? Please give me your mail or contact. Regards

    ReplyDelete
    Replies
    1. Try posting your problem here....
      Make sure you use the above mentioned command lines and provide the respective data....

      Delete
  2. Thanks for the answer, it really took me about 4 hours to find someone having the same problem as I had. Everything worked perfectly

    ReplyDelete
    Replies
    1. Thank you, I am happy that this post is helping few..

      Delete
  3. Hi
    I got following error in tum installation. it is stopped.
    somebody knows about it?

    [ 4%] Built target test_robot_pose_ekf
    [ 4%] Built target tum_ardrone_gencpp
    [ 4%] Building ARDroneTool/Lib
    Built target test_robot_pose_ekf_zero_covariance
    [ 4%] Built target tum_ardrone_generate_messages
    [ 4%] Built target hector_gazebo_ros_imu
    [ 4%] Built target drone_autopilot
    [ 4%] Built target drone_gui
    [ 4%] Built target drone_stateestimation
    [ 4%] Performing install step for 'ardronelib'
    make[3]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
    [ 4%] Completed 'ardronelib'
    [ 4%] Built target ardronelib
    [ 4%] Built target ardrone_driver
    soheil@soheil-X555LNB:~/catkin_ws$

    ReplyDelete