asctec_mav_framework icon indicating copy to clipboard operation
asctec_mav_framework copied to clipboard

Compile error #include <mav_msgs/RollPitchYawrateThrust.h>

Open chinthaA opened this issue 4 years ago • 2 comments

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..

chinthaA avatar Jul 09 '20 07:07 chinthaA

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

MohammadKassemZein avatar Jul 24 '20 14:07 MohammadKassemZein

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.

6lackmitchell avatar Apr 15 '21 17:04 6lackmitchell