asctec_mav_framework
asctec_mav_framework copied to clipboard
Compile error #include <mav_msgs/RollPitchYawrateThrust.h>
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 try: sudo apt-get install ros-melodic-mav-msgs
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.