Advertisement
Guest User

ros errors

a guest
May 24th, 2021
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 74.79 KB | None | 0 0
  1. user@ubuntu:~/catkin_ws$ source devel/setup.bash
  2. user@ubuntu:~/catkin_ws$ catkin build
  3. ---------------------------------------------------------
  4. Profile:                     default
  5. Extending:          [cached] /opt/ros/kinetic
  6. Workspace:                   /home/user/catkin_ws
  7. ---------------------------------------------------------
  8. Build Space:        [exists] /home/user/catkin_ws/build
  9. Devel Space:        [exists] /home/user/catkin_ws/devel
  10. Install Space:      [unused] /home/user/catkin_ws/install
  11. Log Space:          [exists] /home/user/catkin_ws/logs
  12. Source Space:       [exists] /home/user/catkin_ws/src
  13. DESTDIR:            [unused] None
  14. ---------------------------------------------------------
  15. Devel Space Layout:          linked
  16. Install Space Layout:        None
  17. ---------------------------------------------------------
  18. Additional CMake Args:       None
  19. Additional Make Args:        None
  20. Additional catkin Make Args: None
  21. Internal Make Job Server:    True
  22. Cache Job Environments:      False
  23. ---------------------------------------------------------
  24. Whitelisted Packages:        None
  25. Blacklisted Packages:        None
  26. ---------------------------------------------------------
  27. Workspace configuration appears valid.
  28. ---------------------------------------------------------
  29. [build] Found '34' packages in 0.0 seconds.                                                                                                                            
  30. [build] Package table is up to date.                                                                                                                                  
  31. Starting  >>> asctec_hl_comm                                                                                                                                          
  32. Starting  >>> camera_base                                                                                                                                              
  33. Starting  >>> catkin_simple                                                                                                                                            
  34. Starting  >>> expos_test                                                                                                                                              
  35. Starting  >>> libmavconn                                                                                                                                              
  36. Starting  >>> mavros_msgs                                                                                                                                              
  37. Starting  >>> msf_timing                                                                                                                                              
  38. Starting  >>> py_test                                                                                                                                                  
  39. Finished  <<< libmavconn                         [ 0.2 seconds ]                                                                                                      
  40. Starting  >>> republish_image                                                                                                                                          
  41. Finished  <<< msf_timing                         [ 0.2 seconds ]                                                                                                      
  42. Finished  <<< py_test                            [ 0.2 seconds ]                                                                                                      
  43. Finished  <<< camera_base                        [ 0.2 seconds ]                                                                                                      
  44. Finished  <<< catkin_simple                      [ 0.2 seconds ]                                                                                                      
  45. Finished  <<< expos_test                         [ 0.3 seconds ]                                                                                                      
  46. Finished  <<< republish_image                    [ 0.3 seconds ]                                                                                                      
  47. Finished  <<< asctec_hl_comm                     [ 1.2 seconds ]                                                                                                      
  48. Starting  >>> rqt_svo                                                                                                                                                  
  49. Starting  >>> sensor_fusion_comm                                                                                                                                      
  50. Starting  >>> svo_analysis                                                                                                                                            
  51. Starting  >>> svo_msgs                                                                                                                                                
  52. Starting  >>> udp_2_ros                                                                                                                                                
  53. Starting  >>> vikit_common                                                                                                                                            
  54. Starting  >>> vikit_py                                                                                                                                                
  55. Finished  <<< mavros_msgs                        [ 1.8 seconds ]                                                                                                      
  56. Starting  >>> bluefox2                                                                                                                                                
  57. Finished  <<< svo_analysis                       [ 0.2 seconds ]                                                                                                      
  58. Starting  >>> gflags_catkin                                                                                                                                            
  59. Finished  <<< vikit_common                       [ 0.3 seconds ]                                                                                                      
  60. Starting  >>> asctec_hl_gps                                                                                                                                            
  61. Finished  <<< rqt_svo                            [ 0.1 seconds ]                                                                                                      
  62. Starting  >>> mavros                                                                                                                                                  
  63. Finished  <<< vikit_py                           [ 0.2 seconds ]                                                                                                      
  64. _______________________________________________________________________________________________________________________________________________________________________
  65. Errors     << bluefox2:make /home/user/catkin_ws/logs/bluefox2/build.make.001.log                                                                                      
  66. catkin_generated/env_cached.sh: 16: exec: /home/user/catkin_ws/src/bluefox2/cfg/Bluefox2Dyn.cfg: Permission denied
  67. make[2]: *** [/home/user/catkin_ws/devel/.private/bluefox2/include/bluefox2/Bluefox2DynConfig.h] Error 126
  68. make[1]: *** [CMakeFiles/bluefox2_gencfg.dir/all] Error 2
  69. make: *** [all] Error 2
  70. cd /home/user/catkin_ws/build/bluefox2; catkin build --get-env bluefox2 | catkin env -si  /usr/bin/make --jobserver-fds=6,7 -j; cd -
  71. .......................................................................................................................................................................
  72. Failed     << bluefox2:make                      [ Exited with code 2 ]                                                                                                
  73. Failed    <<< bluefox2                           [ 0.2 seconds ]                                                                                                      
  74. Abandoned <<< vikit_ros                          [ Unrelated job failed ]                                                                                              
  75. Abandoned <<< ethzasl_msf                        [ Unrelated job failed ]                                                                                              
  76. Abandoned <<< glog_catkin                        [ Unrelated job failed ]                                                                                              
  77. Abandoned <<< mavros_extras                      [ Unrelated job failed ]                                                                                              
  78. Abandoned <<< msf_core                           [ Unrelated job failed ]                                                                                              
  79. Abandoned <<< msf_distort                        [ Unrelated job failed ]                                                                                              
  80. Abandoned <<< asctec_hl_interface                [ Unrelated job failed ]                                                                                              
  81. Abandoned <<< msf_updates                        [ Unrelated job failed ]                                                                                              
  82. Abandoned <<< svo_control                        [ Unrelated job failed ]                                                                                              
  83. Abandoned <<< main_app                           [ Unrelated job failed ]                                                                                              
  84. Abandoned <<< test_mavros                        [ Unrelated job failed ]                                                                                              
  85. Abandoned <<< svo                                [ Unrelated job failed ]                                                                                              
  86. Abandoned <<< svo_ros                            [ Unrelated job failed ]                                                                                              
  87. Finished  <<< svo_msgs                           [ 0.5 seconds ]                                                                                                      
  88. Finished  <<< sensor_fusion_comm                 [ 0.7 seconds ]                                                                                                      
  89. Finished  <<< gflags_catkin                      [ 0.2 seconds ]                                                                                                      
  90. Finished  <<< asctec_hl_gps                      [ 0.4 seconds ]                                                                                                      
  91. _______________________________________________________________________________________________________________________________________________________________________
  92. Warnings   << udp_2_ros:cmake /home/user/catkin_ws/logs/udp_2_ros/build.cmake.001.log                                                                                  
  93. CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  94.   Compatibility with CMake < 2.8.12 will be removed from a future version of
  95.   CMake.
  96.  
  97.   Update the VERSION argument <min> value or use a ...<max> suffix to tell
  98.   CMake that the project does not need compatibility with older versions.
  99.  
  100.  
  101. CMake Deprecation Warning at /usr/src/gmock/CMakeLists.txt:41 (cmake_minimum_required):
  102.   Compatibility with CMake < 2.8.12 will be removed from a future version of
  103.   CMake.
  104.  
  105.   Update the VERSION argument <min> value or use a ...<max> suffix to tell
  106.   CMake that the project does not need compatibility with older versions.
  107.  
  108.  
  109. CMake Deprecation Warning at /usr/src/gtest/CMakeLists.txt:43 (cmake_minimum_required):
  110.   Compatibility with CMake < 2.8.12 will be removed from a future version of
  111.   CMake.
  112.  
  113.   Update the VERSION argument <min> value or use a ...<max> suffix to tell
  114.   CMake that the project does not need compatibility with older versions.
  115.  
  116.  
  117. cd /home/user/catkin_ws/build/udp_2_ros; catkin build --get-env udp_2_ros | catkin env -si  /usr/bin/cmake /home/user/catkin_ws/src/udp_2_ros --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/home/user/catkin_ws/devel/.private/udp_2_ros -DCMAKE_INSTALL_PREFIX=/home/user/catkin_ws/install; cd -
  118. .......................................................................................................................................................................
  119. _______________________________________________________________________________________________________________________________________________________________________
  120. Errors     << udp_2_ros:make /home/user/catkin_ws/logs/udp_2_ros/build.make.000.log                                                                                    
  121.  
  122. AutoMoc subprocess error
  123. ------------------------
  124. The moc process failed to compile
  125.   "SRC:/src/GCS.h"
  126. into
  127.   "BIN:/udp_2_ros_node_autogen/UVLADIE3JM/moc_GCS.cpp"
  128.  
  129. Command
  130. -------
  131. /usr/lib/x86_64-linux-gnu/qt4/bin/moc -DQT_CORE_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DROSCONSOLE_BACKEND_LOG4CXX -DROS_BUILD_SHARED_LIBS=1 "-DROS_PACKAGE_NAME=\"udp_2_ros\"" -I/home/user/catkin_ws/build/udp_2_ros -I/home/user/catkin_ws/src/udp_2_ros -I/home/user/catkin_ws/devel/.private/svo_msgs/include -I/opt/ros/kinetic/include -I/opt/ros/kinetic/include/xmlrpcpp -I/usr/include/qt4 -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtCore -I/usr/include -o /home/user/catkin_ws/build/udp_2_ros/udp_2_ros_node_autogen/UVLADIE3JM/moc_GCS.cpp /home/user/catkin_ws/src/udp_2_ros/src/GCS.h
  132.  
  133. Output
  134. ------
  135. usr/include/boost/type_traits/detail/has_binary_operator.hp:50: Parse error at "BOOST_JOIN"
  136.  
  137. make[2]: *** [CMakeFiles/udp_2_ros_node_autogen] Error 1
  138. make[1]: *** [CMakeFiles/udp_2_ros_node_autogen.dir/all] Error 2
  139. make: *** [all] Error 2
  140. cd /home/user/catkin_ws/build/udp_2_ros; catkin build --get-env udp_2_ros | catkin env -si  /usr/bin/make --jobserver-fds=6,7 -j; cd -
  141. .......................................................................................................................................................................
  142. Failed     << udp_2_ros:make                     [ Exited with code 2 ]                                                                                                
  143. Failed    <<< udp_2_ros                          [ 1.8 seconds ]                                                                                                      
  144. _______________________________________________________________________________________________________________________________________________________________________
  145. Warnings   << mavros:cmake /home/user/catkin_ws/logs/mavros/build.cmake.000.log                                                                                        
  146. CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  147.   Compatibility with CMake < 2.8.12 will be removed from a future version of
  148.   CMake.
  149.  
  150.   Update the VERSION argument <min> value or use a ...<max> suffix to tell
  151.   CMake that the project does not need compatibility with older versions.
  152.  
  153.  
  154. CMake Deprecation Warning at /usr/src/gmock/CMakeLists.txt:41 (cmake_minimum_required):
  155.   Compatibility with CMake < 2.8.12 will be removed from a future version of
  156.   CMake.
  157.  
  158.   Update the VERSION argument <min> value or use a ...<max> suffix to tell
  159.   CMake that the project does not need compatibility with older versions.
  160.  
  161.  
  162. CMake Deprecation Warning at /usr/src/gtest/CMakeLists.txt:43 (cmake_minimum_required):
  163.   Compatibility with CMake < 2.8.12 will be removed from a future version of
  164.   CMake.
  165.  
  166.   Update the VERSION argument <min> value or use a ...<max> suffix to tell
  167.   CMake that the project does not need compatibility with older versions.
  168.  
  169.  
  170. cd /home/user/catkin_ws/build/mavros; catkin build --get-env mavros | catkin env -si  /usr/bin/cmake /home/user/catkin_ws/src/mavros/mavros --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/home/user/catkin_ws/devel/.private/mavros -DCMAKE_INSTALL_PREFIX=/home/user/catkin_ws/install; cd -
  171. .......................................................................................................................................................................
  172. _______________________________________________________________________________________________________________________________________________________________________
  173. Errors     << mavros:make /home/user/catkin_ws/logs/mavros/build.make.000.log                                                                                          
  174. In file included from /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_sensor_orientation.cpp:17:0:
  175. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:70:40: error: ‘std::__cxx11::string mavros::utils::to_string’ redeclared as different kind of symbol
  176.  std::string to_string(mavlink::common::MAV_AUTOPILOT e);
  177.                                         ^
  178. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:68:13: note: previous declaration ‘std::__cxx11::string mavros::utils::to_string(mavlink::common::MAV_SENSOR_ORIENTATION)
  179.  std::string to_string(mavlink::common::MAV_SENSOR_ORIENTATION e);
  180.              ^
  181. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:70:23: error: ‘MAV_AUTOPILOT’ is not a member of ‘mavlink::common’
  182.  std::string to_string(mavlink::common::MAV_AUTOPILOT e);
  183.                        ^
  184. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:70:23: note: suggested alternative:
  185. In file included from /opt/ros/kinetic/include/mavlink/v2.0/common/common.hpp:2290:0,
  186.                  from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
  187.                  from /home/user/catkin_ws/src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:18,
  188.                  from /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:22,
  189.                  from /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_sensor_orientation.cpp:17:
  190. /opt/ros/kinetic/include/mavlink/v2.0/common/../minimal/minimal.hpp:34:12: note:   ‘mavlink::minimal::MAV_AUTOPILOT’
  191.  enum class MAV_AUTOPILOT : uint8_t
  192.             ^
  193. In file included from /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_sensor_orientation.cpp:17:0:
  194. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:71:40: error: ‘std::__cxx11::string mavros::utils::to_string’ redeclared as different kind of symbol
  195.  std::string to_string(mavlink::common::MAV_TYPE e);
  196.                                         ^
  197. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:68:13: note: previous declaration ‘std::__cxx11::string mavros::utils::to_string(mavlink::common::MAV_SENSOR_ORIENTATION)
  198.  std::string to_string(mavlink::common::MAV_SENSOR_ORIENTATION e);
  199.              ^
  200. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:71:23: error: ‘MAV_TYPE’ is not a member of ‘mavlink::common’
  201.  std::string to_string(mavlink::common::MAV_TYPE e);
  202.                        ^
  203. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:71:23: note: suggested alternative:
  204. In file included from /opt/ros/kinetic/include/mavlink/v2.0/common/common.hpp:2290:0,
  205.                  from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
  206.                  from /home/user/catkin_ws/src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:18,
  207.                  from /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:22,
  208.                  from /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_sensor_orientation.cpp:17:
  209. /opt/ros/kinetic/include/mavlink/v2.0/common/../minimal/minimal.hpp:62:12: note:   ‘mavlink::minimal::MAV_TYPE’
  210.  enum class MAV_TYPE : uint8_t
  211.             ^
  212. In file included from /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_sensor_orientation.cpp:17:0:
  213. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:72:40: error: ‘std::__cxx11::string mavros::utils::to_string’ redeclared as different kind of symbol
  214.  std::string to_string(mavlink::common::MAV_STATE e);
  215.                                         ^
  216. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:68:13: note: previous declaration ‘std::__cxx11::string mavros::utils::to_string(mavlink::common::MAV_SENSOR_ORIENTATION)
  217.  std::string to_string(mavlink::common::MAV_SENSOR_ORIENTATION e);
  218.              ^
  219. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:72:23: error: ‘MAV_STATE’ is not a member of ‘mavlink::common’
  220.  std::string to_string(mavlink::common::MAV_STATE e);
  221.                        ^
  222. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:72:23: note: suggested alternative:
  223. In file included from /opt/ros/kinetic/include/mavlink/v2.0/common/common.hpp:2290:0,
  224.                  from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
  225.                  from /home/user/catkin_ws/src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:18,
  226.                  from /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:22,
  227.                  from /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_sensor_orientation.cpp:17:
  228. /opt/ros/kinetic/include/mavlink/v2.0/common/../minimal/minimal.hpp:139:12: note:   ‘mavlink::minimal::MAV_STATE’
  229.  enum class MAV_STATE : uint8_t
  230.             ^
  231. In file included from /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_to_string.cpp:18:0:
  232. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:70:40: error: ‘std::__cxx11::string mavros::utils::to_string’ redeclared as different kind of symbol
  233.  std::string to_string(mavlink::common::MAV_AUTOPILOT e);
  234.                                         ^
  235. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:68:13: note: previous declaration ‘std::__cxx11::string mavros::utils::to_string(mavlink::common::MAV_SENSOR_ORIENTATION)
  236.  std::string to_string(mavlink::common::MAV_SENSOR_ORIENTATION e);
  237.              ^
  238. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:70:23: error: ‘MAV_AUTOPILOT’ is not a member of ‘mavlink::common’
  239.  std::string to_string(mavlink::common::MAV_AUTOPILOT e);
  240.                        ^
  241. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:70:23: note: suggested alternative:
  242. In file included from /opt/ros/kinetic/include/mavlink/v2.0/common/common.hpp:2290:0,
  243.                  from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
  244.                  from /home/user/catkin_ws/src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:18,
  245.                  from /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:22,
  246.                  from /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_to_string.cpp:18:
  247. /opt/ros/kinetic/include/mavlink/v2.0/common/../minimal/minimal.hpp:34:12: note:   ‘mavlink::minimal::MAV_AUTOPILOT’
  248.  enum class MAV_AUTOPILOT : uint8_t
  249.             ^
  250. In file included from /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_to_string.cpp:18:0:
  251. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:71:40: error: ‘std::__cxx11::string mavros::utils::to_string’ redeclared as different kind of symbol
  252.  std::string to_string(mavlink::common::MAV_TYPE e);
  253.                                         ^
  254. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:68:13: note: previous declaration ‘std::__cxx11::string mavros::utils::to_string(mavlink::common::MAV_SENSOR_ORIENTATION)
  255.  std::string to_string(mavlink::common::MAV_SENSOR_ORIENTATION e);
  256.              ^
  257. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:71:23: error: ‘MAV_TYPE’ is not a member of ‘mavlink::common’
  258.  std::string to_string(mavlink::common::MAV_TYPE e);
  259.                        ^
  260. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:71:23: note: suggested alternative:
  261. In file included from /opt/ros/kinetic/include/mavlink/v2.0/common/common.hpp:2290:0,
  262.                  from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
  263.                  from /home/user/catkin_ws/src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:18,
  264.                  from /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:22,
  265.                  from /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_to_string.cpp:18:
  266. /opt/ros/kinetic/include/mavlink/v2.0/common/../minimal/minimal.hpp:62:12: note:   ‘mavlink::minimal::MAV_TYPE’
  267.  enum class MAV_TYPE : uint8_t
  268.             ^
  269. In file included from /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_to_string.cpp:18:0:
  270. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:72:40: error: ‘std::__cxx11::string mavros::utils::to_string’ redeclared as different kind of symbol
  271.  std::string to_string(mavlink::common::MAV_STATE e);
  272.                                         ^
  273. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:68:13: note: previous declaration ‘std::__cxx11::string mavros::utils::to_string(mavlink::common::MAV_SENSOR_ORIENTATION)
  274.  std::string to_string(mavlink::common::MAV_SENSOR_ORIENTATION e);
  275.              ^
  276. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:72:23: error: ‘MAV_STATE’ is not a member of ‘mavlink::common’
  277.  std::string to_string(mavlink::common::MAV_STATE e);
  278.                        ^
  279. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:72:23: note: suggested alternative:
  280. In file included from /opt/ros/kinetic/include/mavlink/v2.0/common/common.hpp:2290:0,
  281.                  from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
  282.                  from /home/user/catkin_ws/src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:18,
  283.                  from /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:22,
  284.                  from /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_to_string.cpp:18:
  285. /opt/ros/kinetic/include/mavlink/v2.0/common/../minimal/minimal.hpp:139:12: note:   ‘mavlink::minimal::MAV_STATE’
  286.  enum class MAV_STATE : uint8_t
  287.             ^
  288. /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_to_string.cpp:23:24: error: ‘mavlink::common::MAV_AUTOPILOT’ has not been declared
  289.  using mavlink::common::MAV_AUTOPILOT;
  290.                         ^
  291. /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_to_string.cpp:24:24: error: ‘mavlink::common::MAV_TYPE’ has not been declared
  292.  using mavlink::common::MAV_TYPE;
  293.                         ^
  294. /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_to_string.cpp:25:24: error: ‘mavlink::common::MAV_STATE’ has not been declared
  295.  using mavlink::common::MAV_STATE;
  296.                         ^
  297. /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_to_string.cpp:109:23: error: ‘std::__cxx11::string mavros::utils::to_string’ redeclared as different kind of symbol
  298.  std::string to_string(MAV_AUTOPILOT e)
  299.                        ^
  300. In file included from /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_to_string.cpp:18:0:
  301. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:78:13: note: previous declaration ‘std::__cxx11::string mavros::utils::to_string(mavlink::common::MAV_DISTANCE_SENSOR)
  302.  std::string to_string(mavlink::common::MAV_DISTANCE_SENSOR e);
  303.              ^
  304. /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_to_string.cpp:109:23: error: ‘MAV_AUTOPILOT’ was not declared in this scope
  305.  std::string to_string(MAV_AUTOPILOT e)
  306.                        ^
  307. /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_to_string.cpp:109:23: note: suggested alternative:
  308. In file included from /opt/ros/kinetic/include/mavlink/v2.0/common/common.hpp:2290:0,
  309.                  from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
  310.                  from /home/user/catkin_ws/src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:18,
  311.                  from /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:22,
  312.                  from /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_to_string.cpp:18:
  313. /opt/ros/kinetic/include/mavlink/v2.0/common/../minimal/minimal.hpp:34:12: note:   ‘mavlink::minimal::MAV_AUTOPILOT’
  314.  enum class MAV_AUTOPILOT : uint8_t
  315.             ^
  316. /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_to_string.cpp:167:23: error: ‘std::__cxx11::string mavros::utils::to_string’ redeclared as different kind of symbol
  317.  std::string to_string(MAV_TYPE e)
  318.                        ^
  319. In file included from /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_to_string.cpp:18:0:
  320. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:78:13: note: previous declaration ‘std::__cxx11::string mavros::utils::to_string(mavlink::common::MAV_DISTANCE_SENSOR)
  321.  std::string to_string(mavlink::common::MAV_DISTANCE_SENSOR e);
  322.              ^
  323. /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_to_string.cpp:167:23: error: ‘MAV_TYPE’ was not declared in this scope
  324.  std::string to_string(MAV_TYPE e)
  325.                        ^
  326. /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_to_string.cpp:167:23: note: suggested alternative:
  327. In file included from /opt/ros/kinetic/include/mavlink/v2.0/common/common.hpp:2290:0,
  328.                  from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
  329.                  from /home/user/catkin_ws/src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:18,
  330.                  from /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:22,
  331.                  from /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_to_string.cpp:18:
  332. /opt/ros/kinetic/include/mavlink/v2.0/common/../minimal/minimal.hpp:62:12: note:   ‘mavlink::minimal::MAV_TYPE’
  333.  enum class MAV_TYPE : uint8_t
  334.             ^
  335. /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_to_string.cpp:204:23: error: ‘std::__cxx11::string mavros::utils::to_string’ redeclared as different kind of symbol
  336.  std::string to_string(MAV_STATE e)
  337.                        ^
  338. In file included from /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_to_string.cpp:18:0:
  339. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:78:13: note: previous declaration ‘std::__cxx11::string mavros::utils::to_string(mavlink::common::MAV_DISTANCE_SENSOR)
  340.  std::string to_string(mavlink::common::MAV_DISTANCE_SENSOR e);
  341.              ^
  342. /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_to_string.cpp:204:23: error: ‘MAV_STATE’ was not declared in this scope
  343.  std::string to_string(MAV_STATE e)
  344.                        ^
  345. /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_to_string.cpp:204:23: note: suggested alternative:
  346. In file included from /opt/ros/kinetic/include/mavlink/v2.0/common/common.hpp:2290:0,
  347.                  from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
  348.                  from /home/user/catkin_ws/src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:18,
  349.                  from /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:22,
  350.                  from /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_to_string.cpp:18:
  351. /opt/ros/kinetic/include/mavlink/v2.0/common/../minimal/minimal.hpp:139:12: note:   ‘mavlink::minimal::MAV_STATE’
  352.  enum class MAV_STATE : uint8_t
  353.             ^
  354. make[2]: *** [CMakeFiles/mavros.dir/src/lib/enum_sensor_orientation.cpp.o] Error 1
  355. make[2]: *** Waiting for unfinished jobs....
  356. make[2]: *** [CMakeFiles/mavros.dir/src/lib/enum_to_string.cpp.o] Error 1
  357. In file included from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:29:0,
  358.                  from /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:17:
  359. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:70:40: error: ‘std::__cxx11::string mavros::utils::to_string’ redeclared as different kind of symbol
  360.  std::string to_string(mavlink::common::MAV_AUTOPILOT e);
  361.                                         ^
  362. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:68:13: note: previous declaration ‘std::__cxx11::string mavros::utils::to_string(mavlink::common::MAV_SENSOR_ORIENTATION)
  363.  std::string to_string(mavlink::common::MAV_SENSOR_ORIENTATION e);
  364.              ^
  365. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:70:23: error: ‘MAV_AUTOPILOT’ is not a member of ‘mavlink::common’
  366.  std::string to_string(mavlink::common::MAV_AUTOPILOT e);
  367.                        ^
  368. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:70:23: note: suggested alternative:
  369. In file included from /opt/ros/kinetic/include/mavlink/v2.0/common/common.hpp:2290:0,
  370.                  from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
  371.                  from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/interface.h:37,
  372.                  from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:28,
  373.                  from /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:17:
  374. /opt/ros/kinetic/include/mavlink/v2.0/common/../minimal/minimal.hpp:34:12: note:   ‘mavlink::minimal::MAV_AUTOPILOT’
  375.  enum class MAV_AUTOPILOT : uint8_t
  376.             ^
  377. In file included from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:29:0,
  378.                  from /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:17:
  379. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:71:40: error: ‘std::__cxx11::string mavros::utils::to_string’ redeclared as different kind of symbol
  380.  std::string to_string(mavlink::common::MAV_TYPE e);
  381.                                         ^
  382. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:68:13: note: previous declaration ‘std::__cxx11::string mavros::utils::to_string(mavlink::common::MAV_SENSOR_ORIENTATION)
  383.  std::string to_string(mavlink::common::MAV_SENSOR_ORIENTATION e);
  384.              ^
  385. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:71:23: error: ‘MAV_TYPE’ is not a member of ‘mavlink::common’
  386.  std::string to_string(mavlink::common::MAV_TYPE e);
  387.                        ^
  388. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:71:23: note: suggested alternative:
  389. In file included from /opt/ros/kinetic/include/mavlink/v2.0/common/common.hpp:2290:0,
  390.                  from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
  391.                  from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/interface.h:37,
  392.                  from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:28,
  393.                  from /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:17:
  394. /opt/ros/kinetic/include/mavlink/v2.0/common/../minimal/minimal.hpp:62:12: note:   ‘mavlink::minimal::MAV_TYPE’
  395.  enum class MAV_TYPE : uint8_t
  396.             ^
  397. In file included from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:29:0,
  398.                  from /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:17:
  399. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:72:40: error: ‘std::__cxx11::string mavros::utils::to_string’ redeclared as different kind of symbol
  400.  std::string to_string(mavlink::common::MAV_STATE e);
  401.                                         ^
  402. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:68:13: note: previous declaration ‘std::__cxx11::string mavros::utils::to_string(mavlink::common::MAV_SENSOR_ORIENTATION)
  403.  std::string to_string(mavlink::common::MAV_SENSOR_ORIENTATION e);
  404.              ^
  405. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:72:23: error: ‘MAV_STATE’ is not a member of ‘mavlink::common’
  406.  std::string to_string(mavlink::common::MAV_STATE e);
  407.                        ^
  408. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:72:23: note: suggested alternative:
  409. In file included from /opt/ros/kinetic/include/mavlink/v2.0/common/common.hpp:2290:0,
  410.                  from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
  411.                  from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/interface.h:37,
  412.                  from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:28,
  413.                  from /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:17:
  414. /opt/ros/kinetic/include/mavlink/v2.0/common/../minimal/minimal.hpp:139:12: note:   ‘mavlink::minimal::MAV_STATE’
  415.  enum class MAV_STATE : uint8_t
  416.             ^
  417. In file included from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:29:0,
  418.                  from /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_data.cpp:17:
  419. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:70:40: error: ‘std::__cxx11::string mavros::utils::to_string’ redeclared as different kind of symbol
  420.  std::string to_string(mavlink::common::MAV_AUTOPILOT e);
  421.                                         ^
  422. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:68:13: note: previous declaration ‘std::__cxx11::string mavros::utils::to_string(mavlink::common::MAV_SENSOR_ORIENTATION)
  423.  std::string to_string(mavlink::common::MAV_SENSOR_ORIENTATION e);
  424.              ^
  425. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:70:23: error: ‘MAV_AUTOPILOT’ is not a member of ‘mavlink::common’
  426.  std::string to_string(mavlink::common::MAV_AUTOPILOT e);
  427.                        ^
  428. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:70:23: note: suggested alternative:
  429. In file included from /opt/ros/kinetic/include/mavlink/v2.0/common/common.hpp:2290:0,
  430.                  from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
  431.                  from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/interface.h:37,
  432.                  from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:28,
  433.                  from /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_data.cpp:17:
  434. /opt/ros/kinetic/include/mavlink/v2.0/common/../minimal/minimal.hpp:34:12: note:   ‘mavlink::minimal::MAV_AUTOPILOT’
  435.  enum class MAV_AUTOPILOT : uint8_t
  436.             ^
  437. In file included from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:29:0,
  438.                  from /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_data.cpp:17:
  439. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:71:40: error: ‘std::__cxx11::string mavros::utils::to_string’ redeclared as different kind of symbol
  440.  std::string to_string(mavlink::common::MAV_TYPE e);
  441.                                         ^
  442. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:68:13: note: previous declaration ‘std::__cxx11::string mavros::utils::to_string(mavlink::common::MAV_SENSOR_ORIENTATION)
  443.  std::string to_string(mavlink::common::MAV_SENSOR_ORIENTATION e);
  444.              ^
  445. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:71:23: error: ‘MAV_TYPE’ is not a member of ‘mavlink::common’
  446.  std::string to_string(mavlink::common::MAV_TYPE e);
  447.                        ^
  448. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:71:23: note: suggested alternative:
  449. In file included from /opt/ros/kinetic/include/mavlink/v2.0/common/common.hpp:2290:0,
  450.                  from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
  451.                  from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/interface.h:37,
  452.                  from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:28,
  453.                  from /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_data.cpp:17:
  454. /opt/ros/kinetic/include/mavlink/v2.0/common/../minimal/minimal.hpp:62:12: note:   ‘mavlink::minimal::MAV_TYPE’
  455.  enum class MAV_TYPE : uint8_t
  456.             ^
  457. In file included from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:29:0,
  458.                  from /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_data.cpp:17:
  459. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:72:40: error: ‘std::__cxx11::string mavros::utils::to_string’ redeclared as different kind of symbol
  460.  std::string to_string(mavlink::common::MAV_STATE e);
  461.                                         ^
  462. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:68:13: note: previous declaration ‘std::__cxx11::string mavros::utils::to_string(mavlink::common::MAV_SENSOR_ORIENTATION)
  463.  std::string to_string(mavlink::common::MAV_SENSOR_ORIENTATION e);
  464.              ^
  465. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:72:23: error: ‘MAV_STATE’ is not a member of ‘mavlink::common’
  466.  std::string to_string(mavlink::common::MAV_STATE e);
  467.                        ^
  468. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:72:23: note: suggested alternative:
  469. In file included from /opt/ros/kinetic/include/mavlink/v2.0/common/common.hpp:2290:0,
  470.                  from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
  471.                  from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/interface.h:37,
  472.                  from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:28,
  473.                  from /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_data.cpp:17:
  474. /opt/ros/kinetic/include/mavlink/v2.0/common/../minimal/minimal.hpp:139:12: note:   ‘mavlink::minimal::MAV_STATE’
  475.  enum class MAV_STATE : uint8_t
  476.             ^
  477. In file included from /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:17:0:
  478. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:73:36: error: ‘MAV_TYPE’ in namespace ‘mavlink::common’ does not name a type
  479.   using MAV_TYPE = mavlink::common::MAV_TYPE;
  480.                                     ^
  481. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:74:41: error: ‘MAV_AUTOPILOT’ in namespace ‘mavlink::common’ does not name a type
  482.   using MAV_AUTOPILOT = mavlink::common::MAV_AUTOPILOT;
  483.                                          ^
  484. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:75:41: error: ‘MAV_MODE_FLAG’ in namespace ‘mavlink::common’ does not name a type
  485.   using MAV_MODE_FLAG = mavlink::common::MAV_MODE_FLAG;
  486.                                          ^
  487. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:76:37: error: ‘MAV_STATE’ in namespace ‘mavlink::common’ does not name a type
  488.   using MAV_STATE = mavlink::common::MAV_STATE;
  489.                                      ^
  490. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:119:9: error: ‘MAV_TYPE’ does not name a type
  491.   inline MAV_TYPE get_type() {
  492.          ^
  493. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:127:9: error: ‘MAV_AUTOPILOT’ does not name a type
  494.   inline MAV_AUTOPILOT get_autopilot() {
  495.          ^
  496. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h: In member function ‘bool mavros::UAS::get_armed()’:
  497. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:139:41: error: ‘MAV_MODE_FLAG’ has not been declared
  498.    return base_mode_ & utils::enum_value(MAV_MODE_FLAG::SAFETY_ARMED);
  499.                                          ^
  500. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h: In member function ‘bool mavros::UAS::get_hil_state()’:
  501. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:147:41: error: ‘MAV_MODE_FLAG’ has not been declared
  502.    return base_mode_ & utils::enum_value(MAV_MODE_FLAG::HIL_ENABLED);
  503.                                          ^
  504. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h: In member function ‘bool mavros::UAS::is_ardupilotmega()’:
  505. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:361:10: error: ‘MAV_AUTOPILOT’ has not been declared
  506.    return MAV_AUTOPILOT::ARDUPILOTMEGA == get_autopilot();
  507.           ^
  508. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:361:56: error: ‘get_autopilot’ was not declared in this scope
  509.    return MAV_AUTOPILOT::ARDUPILOTMEGA == get_autopilot();
  510.                                                         ^
  511. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h: In member function ‘bool mavros::UAS::is_px4()’:
  512. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:368:10: error: ‘MAV_AUTOPILOT’ has not been declared
  513.    return MAV_AUTOPILOT::PX4 == get_autopilot();
  514.           ^
  515. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:368:46: error: ‘get_autopilot’ was not declared in this scope
  516.    return MAV_AUTOPILOT::PX4 == get_autopilot();
  517.                                               ^
  518. /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp: At global scope:
  519. /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:175:39: error: ‘is_apm_copter’ declared as an ‘inline’ variable
  520.  static inline bool is_apm_copter(UAS::MAV_TYPE type)
  521.                                        ^
  522. /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:175:34: error: ‘MAV_TYPE’ is not a member of ‘mavros::UAS’
  523.  static inline bool is_apm_copter(UAS::MAV_TYPE type)
  524.                                   ^
  525. /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:176:1: error: expected ‘,’ or ‘;’ before ‘{’ token
  526.  {
  527.  ^
  528. /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp: In member function ‘std::__cxx11::string mavros::UAS::str_mode_v10(uint8_t, uint32_t)’:
  529. /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:186:31: error: ‘MAV_MODE_FLAG’ has not been declared
  530.   if (!(base_mode & enum_value(MAV_MODE_FLAG::CUSTOM_MODE_ENABLED)))
  531.                                ^
  532. /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:189:23: error: ‘get_type’ was not declared in this scope
  533.   auto type = get_type();
  534.                        ^
  535. /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:189:23: note: suggested alternative:
  536. In file included from /usr/include/boost/parameter/parameters.hpp:44:0,
  537.                  from /usr/include/boost/parameter.hpp:11,
  538.                  from /usr/include/boost/signals2/signal_type.hpp:32,
  539.                  from /usr/include/boost/signals2.hpp:20,
  540.                  from /opt/ros/kinetic/include/tf2/buffer_core.h:37,
  541.                  from /opt/ros/kinetic/include/tf2_ros/buffer_interface.h:35,
  542.                  from /opt/ros/kinetic/include/tf2_ros/buffer.h:35,
  543.                  from /opt/ros/kinetic/include/tf2_ros/transform_listener.h:40,
  544.                  from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:24,
  545.                  from /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:17:
  546. /usr/include/boost/parameter/aux_/unwrap_cv_reference.hpp:56:8: note:   ‘boost::parameter::aux::get_type’
  547.  struct get_type
  548.         ^
  549. /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:190:26: error: ‘get_autopilot’ was not declared in this scope
  550.   auto ap = get_autopilot();
  551.                           ^
  552. /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:191:6: error: ‘MAV_AUTOPILOT’ has not been declared
  553.   if (MAV_AUTOPILOT::ARDUPILOTMEGA == ap) {
  554.       ^
  555. /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:192:25: error: ‘is_apm_copter’ cannot be used as a function
  556.    if (is_apm_copter(type))
  557.                          ^
  558. /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:194:20: error: ‘MAV_TYPE’ has not been declared
  559.    else if (type == MAV_TYPE::FIXED_WING)
  560.                     ^
  561. /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:196:20: error: ‘MAV_TYPE’ has not been declared
  562.    else if (type == MAV_TYPE::GROUND_ROVER)
  563.                     ^
  564. /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:198:20: error: ‘MAV_TYPE’ has not been declared
  565.    else if (type == MAV_TYPE::SUBMARINE)
  566.                     ^
  567. /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:205:11: error: ‘MAV_AUTOPILOT’ has not been declared
  568.   else if (MAV_AUTOPILOT::PX4 == ap)
  569.            ^
  570. /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp: In member function ‘bool mavros::UAS::cmode_from_str(std::__cxx11::string, uint32_t&)’:
  571. /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:252:23: error: ‘get_type’ was not declared in this scope
  572.   auto type = get_type();
  573.                        ^
  574. /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:252:23: note: suggested alternative:
  575. In file included from /usr/include/boost/parameter/parameters.hpp:44:0,
  576.                  from /usr/include/boost/parameter.hpp:11,
  577.                  from /usr/include/boost/signals2/signal_type.hpp:32,
  578.                  from /usr/include/boost/signals2.hpp:20,
  579.                  from /opt/ros/kinetic/include/tf2/buffer_core.h:37,
  580.                  from /opt/ros/kinetic/include/tf2_ros/buffer_interface.h:35,
  581.                  from /opt/ros/kinetic/include/tf2_ros/buffer.h:35,
  582.                  from /opt/ros/kinetic/include/tf2_ros/transform_listener.h:40,
  583.                  from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:24,
  584.                  from /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:17:
  585. /usr/include/boost/parameter/aux_/unwrap_cv_reference.hpp:56:8: note:   ‘boost::parameter::aux::get_type’
  586.  struct get_type
  587.         ^
  588. /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:253:26: error: ‘get_autopilot’ was not declared in this scope
  589.   auto ap = get_autopilot();
  590.                           ^
  591. /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:254:6: error: ‘MAV_AUTOPILOT’ has not been declared
  592.   if (MAV_AUTOPILOT::ARDUPILOTMEGA == ap) {
  593.       ^
  594. /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:255:25: error: ‘is_apm_copter’ cannot be used as a function
  595.    if (is_apm_copter(type))
  596.                          ^
  597. /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:257:20: error: ‘MAV_TYPE’ has not been declared
  598.    else if (type == MAV_TYPE::FIXED_WING)
  599.                     ^
  600. /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:259:20: error: ‘MAV_TYPE’ has not been declared
  601.    else if (type == MAV_TYPE::GROUND_ROVER)
  602.                     ^
  603. /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:261:20: error: ‘MAV_TYPE’ has not been declared
  604.    else if (type == MAV_TYPE::SUBMARINE)
  605.                     ^
  606. /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:264:11: error: ‘MAV_AUTOPILOT’ has not been declared
  607.   else if (MAV_AUTOPILOT::PX4 == ap)
  608.            ^
  609. In file included from /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_data.cpp:17:0:
  610. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:73:36: error: ‘MAV_TYPE’ in namespace ‘mavlink::common’ does not name a type
  611.   using MAV_TYPE = mavlink::common::MAV_TYPE;
  612.                                     ^
  613. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:74:41: error: ‘MAV_AUTOPILOT’ in namespace ‘mavlink::common’ does not name a type
  614.   using MAV_AUTOPILOT = mavlink::common::MAV_AUTOPILOT;
  615.                                          ^
  616. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:75:41: error: ‘MAV_MODE_FLAG’ in namespace ‘mavlink::common’ does not name a type
  617.   using MAV_MODE_FLAG = mavlink::common::MAV_MODE_FLAG;
  618.                                          ^
  619. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:76:37: error: ‘MAV_STATE’ in namespace ‘mavlink::common’ does not name a type
  620.   using MAV_STATE = mavlink::common::MAV_STATE;
  621.                                      ^
  622. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:119:9: error: ‘MAV_TYPE’ does not name a type
  623.   inline MAV_TYPE get_type() {
  624.          ^
  625. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:127:9: error: ‘MAV_AUTOPILOT’ does not name a type
  626.   inline MAV_AUTOPILOT get_autopilot() {
  627.          ^
  628. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h: In member function ‘bool mavros::UAS::get_armed()’:
  629. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:139:41: error: ‘MAV_MODE_FLAG’ has not been declared
  630.    return base_mode_ & utils::enum_value(MAV_MODE_FLAG::SAFETY_ARMED);
  631.                                          ^
  632. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h: In member function ‘bool mavros::UAS::get_hil_state()’:
  633. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:147:41: error: ‘MAV_MODE_FLAG’ has not been declared
  634.    return base_mode_ & utils::enum_value(MAV_MODE_FLAG::HIL_ENABLED);
  635.                                          ^
  636. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h: In member function ‘bool mavros::UAS::is_ardupilotmega()’:
  637. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:361:10: error: ‘MAV_AUTOPILOT’ has not been declared
  638.    return MAV_AUTOPILOT::ARDUPILOTMEGA == get_autopilot();
  639.           ^
  640. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:361:56: error: ‘get_autopilot’ was not declared in this scope
  641.    return MAV_AUTOPILOT::ARDUPILOTMEGA == get_autopilot();
  642.                                                         ^
  643. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h: In member function ‘bool mavros::UAS::is_px4()’:
  644. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:368:10: error: ‘MAV_AUTOPILOT’ has not been declared
  645.    return MAV_AUTOPILOT::PX4 == get_autopilot();
  646.           ^
  647. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:368:46: error: ‘get_autopilot’ was not declared in this scope
  648.    return MAV_AUTOPILOT::PX4 == get_autopilot();
  649.                                               ^
  650. /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_data.cpp: In constructor ‘mavros::UAS::UAS()’:
  651. /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_data.cpp:26:18: error: ‘MAV_TYPE’ has not been declared
  652.   type(enum_value(MAV_TYPE::GENERIC)),
  653.                   ^
  654. /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_data.cpp:27:23: error: ‘MAV_AUTOPILOT’ has not been declared
  655.   autopilot(enum_value(MAV_AUTOPILOT::GENERIC)),
  656.                        ^
  657. In file included from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:29:0,
  658.                  from /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_timesync.cpp:17:
  659. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:70:40: error: ‘std::__cxx11::string mavros::utils::to_string’ redeclared as different kind of symbol
  660.  std::string to_string(mavlink::common::MAV_AUTOPILOT e);
  661.                                         ^
  662. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:68:13: note: previous declaration ‘std::__cxx11::string mavros::utils::to_string(mavlink::common::MAV_SENSOR_ORIENTATION)
  663.  std::string to_string(mavlink::common::MAV_SENSOR_ORIENTATION e);
  664.              ^
  665. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:70:23: error: ‘MAV_AUTOPILOT’ is not a member of ‘mavlink::common’
  666.  std::string to_string(mavlink::common::MAV_AUTOPILOT e);
  667.                        ^
  668. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:70:23: note: suggested alternative:
  669. In file included from /opt/ros/kinetic/include/mavlink/v2.0/common/common.hpp:2290:0,
  670.                  from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
  671.                  from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/interface.h:37,
  672.                  from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:28,
  673.                  from /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_timesync.cpp:17:
  674. /opt/ros/kinetic/include/mavlink/v2.0/common/../minimal/minimal.hpp:34:12: note:   ‘mavlink::minimal::MAV_AUTOPILOT’
  675.  enum class MAV_AUTOPILOT : uint8_t
  676.             ^
  677. In file included from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:29:0,
  678.                  from /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_timesync.cpp:17:
  679. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:71:40: error: ‘std::__cxx11::string mavros::utils::to_string’ redeclared as different kind of symbol
  680.  std::string to_string(mavlink::common::MAV_TYPE e);
  681.                                         ^
  682. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:68:13: note: previous declaration ‘std::__cxx11::string mavros::utils::to_string(mavlink::common::MAV_SENSOR_ORIENTATION)
  683.  std::string to_string(mavlink::common::MAV_SENSOR_ORIENTATION e);
  684.              ^
  685. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:71:23: error: ‘MAV_TYPE’ is not a member of ‘mavlink::common’
  686.  std::string to_string(mavlink::common::MAV_TYPE e);
  687.                        ^
  688. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:71:23: note: suggested alternative:
  689. In file included from /opt/ros/kinetic/include/mavlink/v2.0/common/common.hpp:2290:0,
  690.                  from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
  691.                  from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/interface.h:37,
  692.                  from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:28,
  693.                  from /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_timesync.cpp:17:
  694. /opt/ros/kinetic/include/mavlink/v2.0/common/../minimal/minimal.hpp:62:12: note:   ‘mavlink::minimal::MAV_TYPE’
  695.  enum class MAV_TYPE : uint8_t
  696.             ^
  697. In file included from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:29:0,
  698.                  from /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_timesync.cpp:17:
  699. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:72:40: error: ‘std::__cxx11::string mavros::utils::to_string’ redeclared as different kind of symbol
  700.  std::string to_string(mavlink::common::MAV_STATE e);
  701.                                         ^
  702. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:68:13: note: previous declaration ‘std::__cxx11::string mavros::utils::to_string(mavlink::common::MAV_SENSOR_ORIENTATION)
  703.  std::string to_string(mavlink::common::MAV_SENSOR_ORIENTATION e);
  704.              ^
  705. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:72:23: error: ‘MAV_STATE’ is not a member of ‘mavlink::common’
  706.  std::string to_string(mavlink::common::MAV_STATE e);
  707.                        ^
  708. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:72:23: note: suggested alternative:
  709. In file included from /opt/ros/kinetic/include/mavlink/v2.0/common/common.hpp:2290:0,
  710.                  from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
  711.                  from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/interface.h:37,
  712.                  from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:28,
  713.                  from /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_timesync.cpp:17:
  714. /opt/ros/kinetic/include/mavlink/v2.0/common/../minimal/minimal.hpp:139:12: note:   ‘mavlink::minimal::MAV_STATE’
  715.  enum class MAV_STATE : uint8_t
  716.             ^
  717. /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_data.cpp: At global scope:
  718. /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_data.cpp:87:34: error: ‘MAV_AUTOPILOT’ is not a member of ‘mavros::UAS’
  719.  static uint64_t get_default_caps(UAS::MAV_AUTOPILOT ap_type)
  720.                                   ^
  721. /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_data.cpp:88:1: error: expected ‘,’ or ‘;’ before ‘{’ token
  722.  {
  723.  ^
  724. /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_data.cpp: In member function ‘uint64_t mavros::UAS::get_capabilities()’:
  725. /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_data.cpp:100:41: error: ‘get_autopilot’ was not declared in this scope
  726.    return get_default_caps(get_autopilot());
  727.                                          ^
  728. /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_data.cpp:100:42: error: ‘get_default_caps’ cannot be used as a function
  729.    return get_default_caps(get_autopilot());
  730.                                           ^
  731. In file included from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:29:0,
  732.                  from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_plugin.h:25,
  733.                  from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros.h:24,
  734.                  from /home/user/catkin_ws/src/mavros/mavros/src/lib/mavros.cpp:15:
  735. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:70:40: error: ‘std::__cxx11::string mavros::utils::to_string’ redeclared as different kind of symbol
  736.  std::string to_string(mavlink::common::MAV_AUTOPILOT e);
  737.                                         ^
  738. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:68:13: note: previous declaration ‘std::__cxx11::string mavros::utils::to_string(mavlink::common::MAV_SENSOR_ORIENTATION)
  739.  std::string to_string(mavlink::common::MAV_SENSOR_ORIENTATION e);
  740.              ^
  741. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:70:23: error: ‘MAV_AUTOPILOT’ is not a member of ‘mavlink::common’
  742.  std::string to_string(mavlink::common::MAV_AUTOPILOT e);
  743.                        ^
  744. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:70:23: note: suggested alternative:
  745. In file included from /opt/ros/kinetic/include/mavlink/v2.0/common/common.hpp:2290:0,
  746.                  from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
  747.                  from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/interface.h:37,
  748.                  from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros.h:23,
  749.                  from /home/user/catkin_ws/src/mavros/mavros/src/lib/mavros.cpp:15:
  750. /opt/ros/kinetic/include/mavlink/v2.0/common/../minimal/minimal.hpp:34:12: note:   ‘mavlink::minimal::MAV_AUTOPILOT’
  751.  enum class MAV_AUTOPILOT : uint8_t
  752.             ^
  753. In file included from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:29:0,
  754.                  from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_plugin.h:25,
  755.                  from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros.h:24,
  756.                  from /home/user/catkin_ws/src/mavros/mavros/src/lib/mavros.cpp:15:
  757. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:71:40: error: ‘std::__cxx11::string mavros::utils::to_string’ redeclared as different kind of symbol
  758.  std::string to_string(mavlink::common::MAV_TYPE e);
  759.                                         ^
  760. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:68:13: note: previous declaration ‘std::__cxx11::string mavros::utils::to_string(mavlink::common::MAV_SENSOR_ORIENTATION)
  761.  std::string to_string(mavlink::common::MAV_SENSOR_ORIENTATION e);
  762.              ^
  763. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:71:23: error: ‘MAV_TYPE’ is not a member of ‘mavlink::common’
  764.  std::string to_string(mavlink::common::MAV_TYPE e);
  765.                        ^
  766. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:71:23: note: suggested alternative:
  767. In file included from /opt/ros/kinetic/include/mavlink/v2.0/common/common.hpp:2290:0,
  768.                  from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
  769.                  from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/interface.h:37,
  770.                  from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros.h:23,
  771.                  from /home/user/catkin_ws/src/mavros/mavros/src/lib/mavros.cpp:15:
  772. /opt/ros/kinetic/include/mavlink/v2.0/common/../minimal/minimal.hpp:62:12: note:   ‘mavlink::minimal::MAV_TYPE’
  773.  enum class MAV_TYPE : uint8_t
  774.             ^
  775. In file included from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:29:0,
  776.                  from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_plugin.h:25,
  777.                  from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros.h:24,
  778.                  from /home/user/catkin_ws/src/mavros/mavros/src/lib/mavros.cpp:15:
  779. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:72:40: error: ‘std::__cxx11::string mavros::utils::to_string’ redeclared as different kind of symbol
  780.  std::string to_string(mavlink::common::MAV_STATE e);
  781.                                         ^
  782. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:68:13: note: previous declaration ‘std::__cxx11::string mavros::utils::to_string(mavlink::common::MAV_SENSOR_ORIENTATION)
  783.  std::string to_string(mavlink::common::MAV_SENSOR_ORIENTATION e);
  784.              ^
  785. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:72:23: error: ‘MAV_STATE’ is not a member of ‘mavlink::common’
  786.  std::string to_string(mavlink::common::MAV_STATE e);
  787.                        ^
  788. /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:72:23: note: suggested alternative:
  789. In file included from /opt/ros/kinetic/include/mavlink/v2.0/common/common.hpp:2290:0,
  790.                  from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
  791.                  from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/interface.h:37,
  792.                  from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros.h:23,
  793.                  from /home/user/catkin_ws/src/mavros/mavros/src/lib/mavros.cpp:15:
  794. /opt/ros/kinetic/include/mavlink/v2.0/common/../minimal/minimal.hpp:139:12: note:   ‘mavlink::minimal::MAV_STATE’
  795.  enum class MAV_STATE : uint8_t
  796.             ^
  797. In file included from /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_timesync.cpp:17:0:
  798. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:73:36: error: ‘MAV_TYPE’ in namespace ‘mavlink::common’ does not name a type
  799.   using MAV_TYPE = mavlink::common::MAV_TYPE;
  800.                                     ^
  801. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:74:41: error: ‘MAV_AUTOPILOT’ in namespace ‘mavlink::common’ does not name a type
  802.   using MAV_AUTOPILOT = mavlink::common::MAV_AUTOPILOT;
  803.                                          ^
  804. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:75:41: error: ‘MAV_MODE_FLAG’ in namespace ‘mavlink::common’ does not name a type
  805.   using MAV_MODE_FLAG = mavlink::common::MAV_MODE_FLAG;
  806.                                          ^
  807. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:76:37: error: ‘MAV_STATE’ in namespace ‘mavlink::common’ does not name a type
  808.   using MAV_STATE = mavlink::common::MAV_STATE;
  809.                                      ^
  810. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:119:9: error: ‘MAV_TYPE’ does not name a type
  811.   inline MAV_TYPE get_type() {
  812.          ^
  813. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:127:9: error: ‘MAV_AUTOPILOT’ does not name a type
  814.   inline MAV_AUTOPILOT get_autopilot() {
  815.          ^
  816. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h: In member function ‘bool mavros::UAS::get_armed()’:
  817. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:139:41: error: ‘MAV_MODE_FLAG’ has not been declared
  818.    return base_mode_ & utils::enum_value(MAV_MODE_FLAG::SAFETY_ARMED);
  819.                                          ^
  820. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h: In member function ‘bool mavros::UAS::get_hil_state()’:
  821. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:147:41: error: ‘MAV_MODE_FLAG’ has not been declared
  822.    return base_mode_ & utils::enum_value(MAV_MODE_FLAG::HIL_ENABLED);
  823.                                          ^
  824. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h: In member function ‘bool mavros::UAS::is_ardupilotmega()’:
  825. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:361:10: error: ‘MAV_AUTOPILOT’ has not been declared
  826.    return MAV_AUTOPILOT::ARDUPILOTMEGA == get_autopilot();
  827.           ^
  828. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:361:56: error: ‘get_autopilot’ was not declared in this scope
  829.    return MAV_AUTOPILOT::ARDUPILOTMEGA == get_autopilot();
  830.                                                         ^
  831. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h: In member function ‘bool mavros::UAS::is_px4()’:
  832. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:368:10: error: ‘MAV_AUTOPILOT’ has not been declared
  833.    return MAV_AUTOPILOT::PX4 == get_autopilot();
  834.           ^
  835. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:368:46: error: ‘get_autopilot’ was not declared in this scope
  836.    return MAV_AUTOPILOT::PX4 == get_autopilot();
  837.                                               ^
  838. In file included from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_plugin.h:25:0,
  839.                  from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros.h:24,
  840.                  from /home/user/catkin_ws/src/mavros/mavros/src/lib/mavros.cpp:15:
  841. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:73:36: error: ‘MAV_TYPE’ in namespace ‘mavlink::common’ does not name a type
  842.   using MAV_TYPE = mavlink::common::MAV_TYPE;
  843.                                     ^
  844. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:74:41: error: ‘MAV_AUTOPILOT’ in namespace ‘mavlink::common’ does not name a type
  845.   using MAV_AUTOPILOT = mavlink::common::MAV_AUTOPILOT;
  846.                                          ^
  847. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:75:41: error: ‘MAV_MODE_FLAG’ in namespace ‘mavlink::common’ does not name a type
  848.   using MAV_MODE_FLAG = mavlink::common::MAV_MODE_FLAG;
  849.                                          ^
  850. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:76:37: error: ‘MAV_STATE’ in namespace ‘mavlink::common’ does not name a type
  851.   using MAV_STATE = mavlink::common::MAV_STATE;
  852.                                      ^
  853. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:119:9: error: ‘MAV_TYPE’ does not name a type
  854.   inline MAV_TYPE get_type() {
  855.          ^
  856. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:127:9: error: ‘MAV_AUTOPILOT’ does not name a type
  857.   inline MAV_AUTOPILOT get_autopilot() {
  858.          ^
  859. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h: In member function ‘bool mavros::UAS::get_armed()’:
  860. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:139:41: error: ‘MAV_MODE_FLAG’ has not been declared
  861.    return base_mode_ & utils::enum_value(MAV_MODE_FLAG::SAFETY_ARMED);
  862.                                          ^
  863. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h: In member function ‘bool mavros::UAS::get_hil_state()’:
  864. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:147:41: error: ‘MAV_MODE_FLAG’ has not been declared
  865.    return base_mode_ & utils::enum_value(MAV_MODE_FLAG::HIL_ENABLED);
  866.                                          ^
  867. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h: In member function ‘bool mavros::UAS::is_ardupilotmega()’:
  868. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:361:10: error: ‘MAV_AUTOPILOT’ has not been declared
  869.    return MAV_AUTOPILOT::ARDUPILOTMEGA == get_autopilot();
  870.           ^
  871. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:361:56: error: ‘get_autopilot’ was not declared in this scope
  872.    return MAV_AUTOPILOT::ARDUPILOTMEGA == get_autopilot();
  873.                                                         ^
  874. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h: In member function ‘bool mavros::UAS::is_px4()’:
  875. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:368:10: error: ‘MAV_AUTOPILOT’ has not been declared
  876.    return MAV_AUTOPILOT::PX4 == get_autopilot();
  877.           ^
  878. /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:368:46: error: ‘get_autopilot’ was not declared in this scope
  879.    return MAV_AUTOPILOT::PX4 == get_autopilot();
  880.                                               ^
  881. /home/user/catkin_ws/src/mavros/mavros/src/lib/mavros.cpp: In member function ‘void mavros::MavRos::log_connect_change(bool)’:
  882. /home/user/catkin_ws/src/mavros/mavros/src/lib/mavros.cpp:356:37: error: ‘class mavros::UAS’ has no member named ‘get_autopilot’
  883.   auto ap = utils::to_string(mav_uas.get_autopilot());
  884.                                      ^
  885. make[2]: *** [CMakeFiles/mavros.dir/src/lib/uas_stringify.cpp.o] Error 1
  886. make[2]: *** [CMakeFiles/mavros.dir/src/lib/uas_data.cpp.o] Error 1
  887. make[2]: *** [CMakeFiles/mavros.dir/src/lib/uas_timesync.cpp.o] Error 1
  888. make[2]: *** [CMakeFiles/mavros.dir/src/lib/mavros.cpp.o] Error 1
  889. make[1]: *** [CMakeFiles/mavros.dir/all] Error 2
  890. make: *** [all] Error 2
  891. cd /home/user/catkin_ws/build/mavros; catkin build --get-env mavros | catkin env -si  /usr/bin/make --jobserver-fds=6,7 -j; cd -
  892. .......................................................................................................................................................................
  893. Failed     << mavros:make                        [ Exited with code 2 ]                                                                                                
  894. Failed    <<< mavros                             [ 17.1 seconds ]                                                                                                      
  895. [build] Summary: 17 of 33 packages succeeded.                                                                                                                          
  896. [build]   Ignored:   1 packages were skipped or are blacklisted.                                                                                                      
  897. [build]   Warnings:  2 packages succeeded with warnings.                                                                                                              
  898. [build]   Abandoned: 13 packages were abandoned.                                                                                                                      
  899. [build]   Failed:    3 packages failed.                                                                                                                                
  900. [build] Runtime: 20.3 seconds total.                                                                                                                                  
  901. [build] Note: Workspace packages have changed, please re-source setup files to use them.
  902.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement