I got a build error for the aircraft_plugin because mav_msgs/CommandMotorSpeed.h was missing. After some looking I found that CommandMotorSpeed is a depreciated message type that has been removed from the latest mavros.
Errors << aircraft_plugin:make /home/adarsh/ros_pkgs2/logs/aircraft_plugin/build.make.002.log In file included from /home/adarsh/ros_pkgs2/src/ardupilot_sitl_gazebo_plugin/aircraft_plugin/src/aircraft_plugin.cpp:21:0: /home/adarsh/ros_pkgs2/src/ardupilot_sitl_gazebo_plugin/aircraft_plugin/src/../include/aircraft_plugin/aircraft_plugin.h:35:40: fatal error: mav_msgs/CommandMotorSpeed.h: No such file or directory compilation terminated. make[2]: *** [CMakeFiles/aircraft_plugin.dir/src/aircraft_plugin.cpp.o] Error 1 make[1]: *** [CMakeFiles/aircraft_plugin.dir/all] Error 2 make: *** [all] Error 2
I got a build error for the aircraft_plugin because mav_msgs/CommandMotorSpeed.h was missing. After some looking I found that CommandMotorSpeed is a depreciated message type that has been removed from the latest mavros.
Errors << aircraft_plugin:make /home/adarsh/ros_pkgs2/logs/aircraft_plugin/build.make.002.log In file included from /home/adarsh/ros_pkgs2/src/ardupilot_sitl_gazebo_plugin/aircraft_plugin/src/aircraft_plugin.cpp:21:0: /home/adarsh/ros_pkgs2/src/ardupilot_sitl_gazebo_plugin/aircraft_plugin/src/../include/aircraft_plugin/aircraft_plugin.h:35:40: fatal error: mav_msgs/CommandMotorSpeed.h: No such file or directory compilation terminated. make[2]: *** [CMakeFiles/aircraft_plugin.dir/src/aircraft_plugin.cpp.o] Error 1 make[1]: *** [CMakeFiles/aircraft_plugin.dir/all] Error 2 make: *** [all] Error 2