ethz-asl / asctec_mav_framework

Framework for data aquisition and position control to be used with the highlevel processor of Ascending Technologies helicopters
http://www.ros.org/wiki/asctec_mav_framework
36 stars 40 forks source link

Compile error #include <mav_msgs/RollPitchYawrateThrust.h> #82

Open chinthaA opened 4 years ago

chinthaA commented 4 years ago

Hi, I'm new to Ros and C++ and trying to compile the sctec_mav_framework. I'm getting a error saying

In file included from /home/chinthaka/catkin_ws/src/asctec_mav_framework/asctec_hl_interface/src/hl_interface.cpp:32:0: /home/chinthaka/catkin_ws/src/asctec_mav_framework/asctec_hl_interface/src/hl_interface.h:52:10: fatal error: mav_msgs/RollPitchYawrateThrust.h: No such file or directory

include <mav_msgs/RollPitchYawrateThrust.h>

      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I'm using Ubuntu 18 and ROS Melodic. Please help..

MohammadKassemZein commented 4 years ago

@chinthaA try: sudo apt-get install ros-melodic-mav-msgs

6lackmitchell commented 3 years ago

In ROS Noetic / Ubuntu 20.04 I added "mav_msgs" to the find_package function inside asctec_mav_framework/asctec_hl_interface/CMakeList.txt and it appeared to fix the issue.