Robotics StackExchange | Archived questions

hector_quadrotor catkin_make error

I'm trying to use the catkin version of hector_quadrotor.

https://github.com/tu-darmstadt-ros-pkg/hector_quadrotor/tree/catkin.

When I do the catkin_make I get a cmake fail.

paulo@ubuntu:~/hector_quad$ catkin_make

Base path: /home/paulo/hectorquad Source space: /home/paulo/hectorquad/src Build space: /home/paulo/hectorquad/build Devel space: /home/paulo/hectorquad/devel Install space: /home/paulo/hectorquad/install Creating symlink "/home/paulo/hectorquad/src/CMakeLists.txt" pointing to "/opt/ros/hydro/share/catkin/cmake/toplevel.cmake"

Running command: "cmake /home/paulo/hectorquad/src -DCATKINDEVELPREFIX=/home/paulo/hectorquad/devel -DCMAKEINSTALLPREFIX=/home/paulo/hectorquad/install" in "/home/paulo/hectorquad/build"

-- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Using CATKINDEVELPREFIX: /home/paulo/hectorquad/devel -- Using CMAKEPREFIXPATH: /opt/ros/hydro -- This workspace overlays: /opt/ros/hydro -- Found PythonInterp: /usr/bin/python (found version "2.7.3") -- Using Debian Python package layout -- Using CATKINENABLETESTING: ON -- Call enabletesting() -- Using CATKINTESTRESULTSDIR: /home/paulo/hectorquad/build/testresults -- Looking for include files CMAKEHAVEPTHREADH -- Looking for include files CMAKEHAVEPTHREADH - found -- Looking for pthreadcreate in pthreads -- Looking for pthreadcreate in pthreads - not found -- Looking for pthreadcreate in pthread -- Looking for pthreadcreate in pthread - found -- Found Threads: TRUE -- Found gtest sources under '/usr/src/gtest': gtests will be built -- catkin 0.5.77 -- BUILDSHAREDLIBS is on -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- ~~ traversing 10 packages in topological order: -- ~~ - hectorquadrotor -- ~~ - hectorquadrotordemo -- ~~ - hectorquadrotordescription -- ~~ - hectorquadrotorgazebo -- ~~ - hectorquadrotorteleop -- ~~ - hectoruavmsgs -- ~~ - hectorquadrotorcontroller -- ~~ - hectorquadrotormodel -- ~~ - hectorquadrotorgazeboplugins -- ~~ - hectorquadrotorposeestimation -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- +++ processing catkin package: 'hectorquadrotor' -- ==> addsubdirectory(hectorquadrotor) -- +++ processing catkin package: 'hectorquadrotordemo' -- ==> addsubdirectory(hectorquadrotordemo) -- +++ processing catkin package: 'hectorquadrotordescription' -- ==> addsubdirectory(hectorquadrotordescription) -- +++ processing catkin package: 'hectorquadrotorgazebo' -- ==> addsubdirectory(hectorquadrotorgazebo) -- +++ processing catkin package: 'hectorquadrotorteleop' -- ==> addsubdirectory(hectorquadrotorteleop) -- +++ processing catkin package: 'hectoruavmsgs' -- ==> addsubdirectory(hectoruavmsgs) -- hectoruavmsgs: 21 messages, 0 services -- +++ processing catkin package: 'hectorquadrotorcontroller' -- ==> addsubdirectory(hectorquadrotorcontroller) -- +++ processing catkin package: 'hectorquadrotormodel' -- ==> addsubdirectory(hectorquadrotormodel) CMake Warning at hectorquadrotormodel/matlab/CMakeLists.txt:24 (message): Matlab not found

CMake Warning at hectorquadrotormodel/CMakeLists.txt:49 (message): Quadrotor model is not available. Skipping target hectorquadrotorpropulsion...

CMake Warning at hectorquadrotormodel/CMakeLists.txt:61 (message): Quadrotor model is not available. Skipping target hectorquadrotoraerodynamics...

-- +++ processing catkin package: 'hectorquadrotorgazeboplugins' -- ==> addsubdirectory(hectorquadrotorgazeboplugins) CMake Error at /opt/ros/hydro/share/catkin/cmake/catkinConfig.cmake:72 (findpackage): Could not find a configuration file for package hectorgazeboplugins.

Set hectorgazebopluginsDIR to the directory containing a CMake configuration file for hectorgazebo_plugins. The file will have one of the following names:

hector_gazebo_pluginsConfig.cmake
hector_gazebo_plugins-config.cmake

Call Stack (most recent call first): hectorquadrotorgazeboplugins/CMakeLists.txt:7 (findpackage)

-- checking for module 'gazebo' -- found gazebo, version 1.9.1 CMake Warning at hectorquadrotorgazeboplugins/CMakeLists.txt:72 (message): Quadrotor propulsion model is not available. Skipping target hectorgazeboquadrotorpropulsion...

CMake Warning at hectorquadrotorgazeboplugins/CMakeLists.txt:79 (message): Quadrotor aerodynamics model is not available. Skipping target hectorgazeboquadrotoraerodynamics...

-- +++ processing catkin package: 'hectorquadrotorposeestimation' -- ==> addsubdirectory(hectorquadrotorposeestimation) CMake Error at /opt/ros/hydro/share/catkin/cmake/catkinConfig.cmake:72 (findpackage): Could not find a configuration file for package hectorposeestimation.

Set hectorposeestimationDIR to the directory containing a CMake configuration file for hectorpose_estimation. The file will have one of the following names:

hector_pose_estimationConfig.cmake
hector_pose_estimation-config.cmake

Call Stack (most recent call first): hectorquadrotorposeestimation/CMakeLists.txt:7 (findpackage)

-- Configuring incomplete, errors occurred! Invoking "cmake" failed

It can't find some file? "Could not find a configuration file for package hectorposeestimation"

Anyone having this error?

Asked by End-Effector on 2013-11-10 07:34:10 UTC

Comments

I am trying to download this build but ran into an error when doing git clone fatal: https://github.com/tu-darmstadt-ros-pkg/hector_quadrotor/tree/catkin/info/refs?service=git-upload-pack not found: did you run git update-server-info on the server?

How did you overcome this?

Asked by Quadrobo on 2013-11-12 00:28:56 UTC

If you click on the link in my post you should go to the page of hector_quadrotor catkin version, with no problems.

Then you only have to click on download zip.

Asked by End-Effector on 2013-11-12 00:47:39 UTC

Thanks for the tip. I have built it and have not experienced the said error.

Asked by Quadrobo on 2013-11-12 06:44:41 UTC

Did you use catkin_make? No "Could not find a configuration file for package hector_pose_estimation"?

I don't understand what I did wrong then.

Asked by End-Effector on 2013-11-12 07:59:19 UTC

I used catkin_make cmd. Though having compiled it, ros was still not able to find the demo launch file though it is still there. I am thinking that it is not as simple as it seems.

Asked by Quadrobo on 2013-11-12 22:30:39 UTC

after compiling you have to do that command in your workspace (source devel/setup.bash) then you can do that roslaunch package_name launch_file_name.launch.

Hope this helps you.

Asked by End-Effector on 2013-11-13 05:53:54 UTC

After putting the hector_quadrotor into the src folder and recompiling it, I encountered the same error as yours ... The difference is mine stopped at gazebo_plugins

Asked by Quadrobo on 2013-11-15 01:07:09 UTC

yeah.. I talked to the guy that did hector_quadrotor, and You need some other packages for this to work.

You basically need some of the other hector packages. He did for me to just use the one you install automatically, from the ubuntu repository

Asked by End-Effector on 2013-11-15 01:51:37 UTC

"You basically need some of the other hector packages." Does that mean the packages that I have downloaded is incomplete? "He did for me to just use the one you install automatically, from the ubuntu repository." I don't understand, could you elaborate?

Asked by Quadrobo on 2013-11-15 05:48:36 UTC

I link the answers that he gave to me.

https://github.com/tu-darmstadt-ros-pkg/hector_quadrotor/issues/4

The place where you download stuff is a site too. You can also ask questions there.

Asked by End-Effector on 2013-11-15 10:35:43 UTC

Thanks alot. I have managed to compile the hector_quadrotor package.

Asked by Quadrobo on 2013-11-18 05:08:55 UTC

Answers