Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- user@ubuntu:~/catkin_ws$ source devel/setup.bash
- user@ubuntu:~/catkin_ws$ catkin build
- ---------------------------------------------------------
- Profile: default
- Extending: [cached] /opt/ros/kinetic
- Workspace: /home/user/catkin_ws
- ---------------------------------------------------------
- Build Space: [exists] /home/user/catkin_ws/build
- Devel Space: [exists] /home/user/catkin_ws/devel
- Install Space: [unused] /home/user/catkin_ws/install
- Log Space: [exists] /home/user/catkin_ws/logs
- Source Space: [exists] /home/user/catkin_ws/src
- DESTDIR: [unused] None
- ---------------------------------------------------------
- Devel Space Layout: linked
- Install Space Layout: None
- ---------------------------------------------------------
- Additional CMake Args: None
- Additional Make Args: None
- Additional catkin Make Args: None
- Internal Make Job Server: True
- Cache Job Environments: False
- ---------------------------------------------------------
- Whitelisted Packages: None
- Blacklisted Packages: None
- ---------------------------------------------------------
- Workspace configuration appears valid.
- ---------------------------------------------------------
- [build] Found '34' packages in 0.0 seconds.
- [build] Package table is up to date.
- Starting >>> asctec_hl_comm
- Starting >>> camera_base
- Starting >>> catkin_simple
- Starting >>> expos_test
- Starting >>> libmavconn
- Starting >>> mavros_msgs
- Starting >>> msf_timing
- Starting >>> py_test
- Finished <<< libmavconn [ 0.2 seconds ]
- Starting >>> republish_image
- Finished <<< msf_timing [ 0.2 seconds ]
- Finished <<< py_test [ 0.2 seconds ]
- Finished <<< camera_base [ 0.2 seconds ]
- Finished <<< catkin_simple [ 0.2 seconds ]
- Finished <<< expos_test [ 0.3 seconds ]
- Finished <<< republish_image [ 0.3 seconds ]
- Finished <<< asctec_hl_comm [ 1.2 seconds ]
- Starting >>> rqt_svo
- Starting >>> sensor_fusion_comm
- Starting >>> svo_analysis
- Starting >>> svo_msgs
- Starting >>> udp_2_ros
- Starting >>> vikit_common
- Starting >>> vikit_py
- Finished <<< mavros_msgs [ 1.8 seconds ]
- Starting >>> bluefox2
- Finished <<< svo_analysis [ 0.2 seconds ]
- Starting >>> gflags_catkin
- Finished <<< vikit_common [ 0.3 seconds ]
- Starting >>> asctec_hl_gps
- Finished <<< rqt_svo [ 0.1 seconds ]
- Starting >>> mavros
- Finished <<< vikit_py [ 0.2 seconds ]
- _______________________________________________________________________________________________________________________________________________________________________
- Errors << bluefox2:make /home/user/catkin_ws/logs/bluefox2/build.make.001.log
- catkin_generated/env_cached.sh: 16: exec: /home/user/catkin_ws/src/bluefox2/cfg/Bluefox2Dyn.cfg: Permission denied
- make[2]: *** [/home/user/catkin_ws/devel/.private/bluefox2/include/bluefox2/Bluefox2DynConfig.h] Error 126
- make[1]: *** [CMakeFiles/bluefox2_gencfg.dir/all] Error 2
- make: *** [all] Error 2
- cd /home/user/catkin_ws/build/bluefox2; catkin build --get-env bluefox2 | catkin env -si /usr/bin/make --jobserver-fds=6,7 -j; cd -
- .......................................................................................................................................................................
- Failed << bluefox2:make [ Exited with code 2 ]
- Failed <<< bluefox2 [ 0.2 seconds ]
- Abandoned <<< vikit_ros [ Unrelated job failed ]
- Abandoned <<< ethzasl_msf [ Unrelated job failed ]
- Abandoned <<< glog_catkin [ Unrelated job failed ]
- Abandoned <<< mavros_extras [ Unrelated job failed ]
- Abandoned <<< msf_core [ Unrelated job failed ]
- Abandoned <<< msf_distort [ Unrelated job failed ]
- Abandoned <<< asctec_hl_interface [ Unrelated job failed ]
- Abandoned <<< msf_updates [ Unrelated job failed ]
- Abandoned <<< svo_control [ Unrelated job failed ]
- Abandoned <<< main_app [ Unrelated job failed ]
- Abandoned <<< test_mavros [ Unrelated job failed ]
- Abandoned <<< svo [ Unrelated job failed ]
- Abandoned <<< svo_ros [ Unrelated job failed ]
- Finished <<< svo_msgs [ 0.5 seconds ]
- Finished <<< sensor_fusion_comm [ 0.7 seconds ]
- Finished <<< gflags_catkin [ 0.2 seconds ]
- Finished <<< asctec_hl_gps [ 0.4 seconds ]
- _______________________________________________________________________________________________________________________________________________________________________
- Warnings << udp_2_ros:cmake /home/user/catkin_ws/logs/udp_2_ros/build.cmake.001.log
- CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
- Compatibility with CMake < 2.8.12 will be removed from a future version of
- CMake.
- Update the VERSION argument <min> value or use a ...<max> suffix to tell
- CMake that the project does not need compatibility with older versions.
- CMake Deprecation Warning at /usr/src/gmock/CMakeLists.txt:41 (cmake_minimum_required):
- Compatibility with CMake < 2.8.12 will be removed from a future version of
- CMake.
- Update the VERSION argument <min> value or use a ...<max> suffix to tell
- CMake that the project does not need compatibility with older versions.
- CMake Deprecation Warning at /usr/src/gtest/CMakeLists.txt:43 (cmake_minimum_required):
- Compatibility with CMake < 2.8.12 will be removed from a future version of
- CMake.
- Update the VERSION argument <min> value or use a ...<max> suffix to tell
- CMake that the project does not need compatibility with older versions.
- 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 -
- .......................................................................................................................................................................
- _______________________________________________________________________________________________________________________________________________________________________
- Errors << udp_2_ros:make /home/user/catkin_ws/logs/udp_2_ros/build.make.000.log
- AutoMoc subprocess error
- ------------------------
- The moc process failed to compile
- "SRC:/src/GCS.h"
- into
- "BIN:/udp_2_ros_node_autogen/UVLADIE3JM/moc_GCS.cpp"
- Command
- -------
- /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
- Output
- ------
- usr/include/boost/type_traits/detail/has_binary_operator.hp:50: Parse error at "BOOST_JOIN"
- make[2]: *** [CMakeFiles/udp_2_ros_node_autogen] Error 1
- make[1]: *** [CMakeFiles/udp_2_ros_node_autogen.dir/all] Error 2
- make: *** [all] Error 2
- 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 -
- .......................................................................................................................................................................
- Failed << udp_2_ros:make [ Exited with code 2 ]
- Failed <<< udp_2_ros [ 1.8 seconds ]
- _______________________________________________________________________________________________________________________________________________________________________
- Warnings << mavros:cmake /home/user/catkin_ws/logs/mavros/build.cmake.000.log
- CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
- Compatibility with CMake < 2.8.12 will be removed from a future version of
- CMake.
- Update the VERSION argument <min> value or use a ...<max> suffix to tell
- CMake that the project does not need compatibility with older versions.
- CMake Deprecation Warning at /usr/src/gmock/CMakeLists.txt:41 (cmake_minimum_required):
- Compatibility with CMake < 2.8.12 will be removed from a future version of
- CMake.
- Update the VERSION argument <min> value or use a ...<max> suffix to tell
- CMake that the project does not need compatibility with older versions.
- CMake Deprecation Warning at /usr/src/gtest/CMakeLists.txt:43 (cmake_minimum_required):
- Compatibility with CMake < 2.8.12 will be removed from a future version of
- CMake.
- Update the VERSION argument <min> value or use a ...<max> suffix to tell
- CMake that the project does not need compatibility with older versions.
- 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 -
- .......................................................................................................................................................................
- _______________________________________________________________________________________________________________________________________________________________________
- Errors << mavros:make /home/user/catkin_ws/logs/mavros/build.make.000.log
- In file included from /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_sensor_orientation.cpp:17:0:
- /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
- std::string to_string(mavlink::common::MAV_AUTOPILOT e);
- ^
- /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)’
- std::string to_string(mavlink::common::MAV_SENSOR_ORIENTATION e);
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:70:23: error: ‘MAV_AUTOPILOT’ is not a member of ‘mavlink::common’
- std::string to_string(mavlink::common::MAV_AUTOPILOT e);
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:70:23: note: suggested alternative:
- In file included from /opt/ros/kinetic/include/mavlink/v2.0/common/common.hpp:2290:0,
- from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
- from /home/user/catkin_ws/src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:18,
- from /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:22,
- from /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_sensor_orientation.cpp:17:
- /opt/ros/kinetic/include/mavlink/v2.0/common/../minimal/minimal.hpp:34:12: note: ‘mavlink::minimal::MAV_AUTOPILOT’
- enum class MAV_AUTOPILOT : uint8_t
- ^
- In file included from /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_sensor_orientation.cpp:17:0:
- /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
- std::string to_string(mavlink::common::MAV_TYPE e);
- ^
- /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)’
- std::string to_string(mavlink::common::MAV_SENSOR_ORIENTATION e);
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:71:23: error: ‘MAV_TYPE’ is not a member of ‘mavlink::common’
- std::string to_string(mavlink::common::MAV_TYPE e);
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:71:23: note: suggested alternative:
- In file included from /opt/ros/kinetic/include/mavlink/v2.0/common/common.hpp:2290:0,
- from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
- from /home/user/catkin_ws/src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:18,
- from /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:22,
- from /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_sensor_orientation.cpp:17:
- /opt/ros/kinetic/include/mavlink/v2.0/common/../minimal/minimal.hpp:62:12: note: ‘mavlink::minimal::MAV_TYPE’
- enum class MAV_TYPE : uint8_t
- ^
- In file included from /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_sensor_orientation.cpp:17:0:
- /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
- std::string to_string(mavlink::common::MAV_STATE e);
- ^
- /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)’
- std::string to_string(mavlink::common::MAV_SENSOR_ORIENTATION e);
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:72:23: error: ‘MAV_STATE’ is not a member of ‘mavlink::common’
- std::string to_string(mavlink::common::MAV_STATE e);
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:72:23: note: suggested alternative:
- In file included from /opt/ros/kinetic/include/mavlink/v2.0/common/common.hpp:2290:0,
- from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
- from /home/user/catkin_ws/src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:18,
- from /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:22,
- from /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_sensor_orientation.cpp:17:
- /opt/ros/kinetic/include/mavlink/v2.0/common/../minimal/minimal.hpp:139:12: note: ‘mavlink::minimal::MAV_STATE’
- enum class MAV_STATE : uint8_t
- ^
- In file included from /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_to_string.cpp:18:0:
- /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
- std::string to_string(mavlink::common::MAV_AUTOPILOT e);
- ^
- /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)’
- std::string to_string(mavlink::common::MAV_SENSOR_ORIENTATION e);
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:70:23: error: ‘MAV_AUTOPILOT’ is not a member of ‘mavlink::common’
- std::string to_string(mavlink::common::MAV_AUTOPILOT e);
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:70:23: note: suggested alternative:
- In file included from /opt/ros/kinetic/include/mavlink/v2.0/common/common.hpp:2290:0,
- from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
- from /home/user/catkin_ws/src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:18,
- from /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:22,
- from /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_to_string.cpp:18:
- /opt/ros/kinetic/include/mavlink/v2.0/common/../minimal/minimal.hpp:34:12: note: ‘mavlink::minimal::MAV_AUTOPILOT’
- enum class MAV_AUTOPILOT : uint8_t
- ^
- In file included from /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_to_string.cpp:18:0:
- /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
- std::string to_string(mavlink::common::MAV_TYPE e);
- ^
- /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)’
- std::string to_string(mavlink::common::MAV_SENSOR_ORIENTATION e);
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:71:23: error: ‘MAV_TYPE’ is not a member of ‘mavlink::common’
- std::string to_string(mavlink::common::MAV_TYPE e);
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:71:23: note: suggested alternative:
- In file included from /opt/ros/kinetic/include/mavlink/v2.0/common/common.hpp:2290:0,
- from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
- from /home/user/catkin_ws/src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:18,
- from /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:22,
- from /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_to_string.cpp:18:
- /opt/ros/kinetic/include/mavlink/v2.0/common/../minimal/minimal.hpp:62:12: note: ‘mavlink::minimal::MAV_TYPE’
- enum class MAV_TYPE : uint8_t
- ^
- In file included from /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_to_string.cpp:18:0:
- /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
- std::string to_string(mavlink::common::MAV_STATE e);
- ^
- /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)’
- std::string to_string(mavlink::common::MAV_SENSOR_ORIENTATION e);
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:72:23: error: ‘MAV_STATE’ is not a member of ‘mavlink::common’
- std::string to_string(mavlink::common::MAV_STATE e);
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:72:23: note: suggested alternative:
- In file included from /opt/ros/kinetic/include/mavlink/v2.0/common/common.hpp:2290:0,
- from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
- from /home/user/catkin_ws/src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:18,
- from /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:22,
- from /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_to_string.cpp:18:
- /opt/ros/kinetic/include/mavlink/v2.0/common/../minimal/minimal.hpp:139:12: note: ‘mavlink::minimal::MAV_STATE’
- enum class MAV_STATE : uint8_t
- ^
- /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_to_string.cpp:23:24: error: ‘mavlink::common::MAV_AUTOPILOT’ has not been declared
- using mavlink::common::MAV_AUTOPILOT;
- ^
- /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_to_string.cpp:24:24: error: ‘mavlink::common::MAV_TYPE’ has not been declared
- using mavlink::common::MAV_TYPE;
- ^
- /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_to_string.cpp:25:24: error: ‘mavlink::common::MAV_STATE’ has not been declared
- using mavlink::common::MAV_STATE;
- ^
- /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
- std::string to_string(MAV_AUTOPILOT e)
- ^
- In file included from /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_to_string.cpp:18:0:
- /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)’
- std::string to_string(mavlink::common::MAV_DISTANCE_SENSOR e);
- ^
- /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_to_string.cpp:109:23: error: ‘MAV_AUTOPILOT’ was not declared in this scope
- std::string to_string(MAV_AUTOPILOT e)
- ^
- /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_to_string.cpp:109:23: note: suggested alternative:
- In file included from /opt/ros/kinetic/include/mavlink/v2.0/common/common.hpp:2290:0,
- from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
- from /home/user/catkin_ws/src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:18,
- from /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:22,
- from /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_to_string.cpp:18:
- /opt/ros/kinetic/include/mavlink/v2.0/common/../minimal/minimal.hpp:34:12: note: ‘mavlink::minimal::MAV_AUTOPILOT’
- enum class MAV_AUTOPILOT : uint8_t
- ^
- /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
- std::string to_string(MAV_TYPE e)
- ^
- In file included from /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_to_string.cpp:18:0:
- /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)’
- std::string to_string(mavlink::common::MAV_DISTANCE_SENSOR e);
- ^
- /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_to_string.cpp:167:23: error: ‘MAV_TYPE’ was not declared in this scope
- std::string to_string(MAV_TYPE e)
- ^
- /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_to_string.cpp:167:23: note: suggested alternative:
- In file included from /opt/ros/kinetic/include/mavlink/v2.0/common/common.hpp:2290:0,
- from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
- from /home/user/catkin_ws/src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:18,
- from /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:22,
- from /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_to_string.cpp:18:
- /opt/ros/kinetic/include/mavlink/v2.0/common/../minimal/minimal.hpp:62:12: note: ‘mavlink::minimal::MAV_TYPE’
- enum class MAV_TYPE : uint8_t
- ^
- /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
- std::string to_string(MAV_STATE e)
- ^
- In file included from /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_to_string.cpp:18:0:
- /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)’
- std::string to_string(mavlink::common::MAV_DISTANCE_SENSOR e);
- ^
- /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_to_string.cpp:204:23: error: ‘MAV_STATE’ was not declared in this scope
- std::string to_string(MAV_STATE e)
- ^
- /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_to_string.cpp:204:23: note: suggested alternative:
- In file included from /opt/ros/kinetic/include/mavlink/v2.0/common/common.hpp:2290:0,
- from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
- from /home/user/catkin_ws/src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:18,
- from /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:22,
- from /home/user/catkin_ws/src/mavros/mavros/src/lib/enum_to_string.cpp:18:
- /opt/ros/kinetic/include/mavlink/v2.0/common/../minimal/minimal.hpp:139:12: note: ‘mavlink::minimal::MAV_STATE’
- enum class MAV_STATE : uint8_t
- ^
- make[2]: *** [CMakeFiles/mavros.dir/src/lib/enum_sensor_orientation.cpp.o] Error 1
- make[2]: *** Waiting for unfinished jobs....
- make[2]: *** [CMakeFiles/mavros.dir/src/lib/enum_to_string.cpp.o] Error 1
- In file included from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:29:0,
- from /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:17:
- /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
- std::string to_string(mavlink::common::MAV_AUTOPILOT e);
- ^
- /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)’
- std::string to_string(mavlink::common::MAV_SENSOR_ORIENTATION e);
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:70:23: error: ‘MAV_AUTOPILOT’ is not a member of ‘mavlink::common’
- std::string to_string(mavlink::common::MAV_AUTOPILOT e);
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:70:23: note: suggested alternative:
- In file included from /opt/ros/kinetic/include/mavlink/v2.0/common/common.hpp:2290:0,
- from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
- from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/interface.h:37,
- from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:28,
- from /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:17:
- /opt/ros/kinetic/include/mavlink/v2.0/common/../minimal/minimal.hpp:34:12: note: ‘mavlink::minimal::MAV_AUTOPILOT’
- enum class MAV_AUTOPILOT : uint8_t
- ^
- In file included from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:29:0,
- from /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:17:
- /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
- std::string to_string(mavlink::common::MAV_TYPE e);
- ^
- /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)’
- std::string to_string(mavlink::common::MAV_SENSOR_ORIENTATION e);
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:71:23: error: ‘MAV_TYPE’ is not a member of ‘mavlink::common’
- std::string to_string(mavlink::common::MAV_TYPE e);
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:71:23: note: suggested alternative:
- In file included from /opt/ros/kinetic/include/mavlink/v2.0/common/common.hpp:2290:0,
- from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
- from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/interface.h:37,
- from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:28,
- from /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:17:
- /opt/ros/kinetic/include/mavlink/v2.0/common/../minimal/minimal.hpp:62:12: note: ‘mavlink::minimal::MAV_TYPE’
- enum class MAV_TYPE : uint8_t
- ^
- In file included from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:29:0,
- from /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:17:
- /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
- std::string to_string(mavlink::common::MAV_STATE e);
- ^
- /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)’
- std::string to_string(mavlink::common::MAV_SENSOR_ORIENTATION e);
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:72:23: error: ‘MAV_STATE’ is not a member of ‘mavlink::common’
- std::string to_string(mavlink::common::MAV_STATE e);
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:72:23: note: suggested alternative:
- In file included from /opt/ros/kinetic/include/mavlink/v2.0/common/common.hpp:2290:0,
- from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
- from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/interface.h:37,
- from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:28,
- from /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:17:
- /opt/ros/kinetic/include/mavlink/v2.0/common/../minimal/minimal.hpp:139:12: note: ‘mavlink::minimal::MAV_STATE’
- enum class MAV_STATE : uint8_t
- ^
- In file included from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:29:0,
- from /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_data.cpp:17:
- /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
- std::string to_string(mavlink::common::MAV_AUTOPILOT e);
- ^
- /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)’
- std::string to_string(mavlink::common::MAV_SENSOR_ORIENTATION e);
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:70:23: error: ‘MAV_AUTOPILOT’ is not a member of ‘mavlink::common’
- std::string to_string(mavlink::common::MAV_AUTOPILOT e);
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:70:23: note: suggested alternative:
- In file included from /opt/ros/kinetic/include/mavlink/v2.0/common/common.hpp:2290:0,
- from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
- from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/interface.h:37,
- from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:28,
- from /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_data.cpp:17:
- /opt/ros/kinetic/include/mavlink/v2.0/common/../minimal/minimal.hpp:34:12: note: ‘mavlink::minimal::MAV_AUTOPILOT’
- enum class MAV_AUTOPILOT : uint8_t
- ^
- In file included from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:29:0,
- from /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_data.cpp:17:
- /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
- std::string to_string(mavlink::common::MAV_TYPE e);
- ^
- /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)’
- std::string to_string(mavlink::common::MAV_SENSOR_ORIENTATION e);
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:71:23: error: ‘MAV_TYPE’ is not a member of ‘mavlink::common’
- std::string to_string(mavlink::common::MAV_TYPE e);
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:71:23: note: suggested alternative:
- In file included from /opt/ros/kinetic/include/mavlink/v2.0/common/common.hpp:2290:0,
- from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
- from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/interface.h:37,
- from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:28,
- from /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_data.cpp:17:
- /opt/ros/kinetic/include/mavlink/v2.0/common/../minimal/minimal.hpp:62:12: note: ‘mavlink::minimal::MAV_TYPE’
- enum class MAV_TYPE : uint8_t
- ^
- In file included from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:29:0,
- from /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_data.cpp:17:
- /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
- std::string to_string(mavlink::common::MAV_STATE e);
- ^
- /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)’
- std::string to_string(mavlink::common::MAV_SENSOR_ORIENTATION e);
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:72:23: error: ‘MAV_STATE’ is not a member of ‘mavlink::common’
- std::string to_string(mavlink::common::MAV_STATE e);
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:72:23: note: suggested alternative:
- In file included from /opt/ros/kinetic/include/mavlink/v2.0/common/common.hpp:2290:0,
- from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
- from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/interface.h:37,
- from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:28,
- from /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_data.cpp:17:
- /opt/ros/kinetic/include/mavlink/v2.0/common/../minimal/minimal.hpp:139:12: note: ‘mavlink::minimal::MAV_STATE’
- enum class MAV_STATE : uint8_t
- ^
- In file included from /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:17:0:
- /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
- using MAV_TYPE = mavlink::common::MAV_TYPE;
- ^
- /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
- using MAV_AUTOPILOT = mavlink::common::MAV_AUTOPILOT;
- ^
- /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
- using MAV_MODE_FLAG = mavlink::common::MAV_MODE_FLAG;
- ^
- /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
- using MAV_STATE = mavlink::common::MAV_STATE;
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:119:9: error: ‘MAV_TYPE’ does not name a type
- inline MAV_TYPE get_type() {
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:127:9: error: ‘MAV_AUTOPILOT’ does not name a type
- inline MAV_AUTOPILOT get_autopilot() {
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h: In member function ‘bool mavros::UAS::get_armed()’:
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:139:41: error: ‘MAV_MODE_FLAG’ has not been declared
- return base_mode_ & utils::enum_value(MAV_MODE_FLAG::SAFETY_ARMED);
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h: In member function ‘bool mavros::UAS::get_hil_state()’:
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:147:41: error: ‘MAV_MODE_FLAG’ has not been declared
- return base_mode_ & utils::enum_value(MAV_MODE_FLAG::HIL_ENABLED);
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h: In member function ‘bool mavros::UAS::is_ardupilotmega()’:
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:361:10: error: ‘MAV_AUTOPILOT’ has not been declared
- return MAV_AUTOPILOT::ARDUPILOTMEGA == get_autopilot();
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:361:56: error: ‘get_autopilot’ was not declared in this scope
- return MAV_AUTOPILOT::ARDUPILOTMEGA == get_autopilot();
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h: In member function ‘bool mavros::UAS::is_px4()’:
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:368:10: error: ‘MAV_AUTOPILOT’ has not been declared
- return MAV_AUTOPILOT::PX4 == get_autopilot();
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:368:46: error: ‘get_autopilot’ was not declared in this scope
- return MAV_AUTOPILOT::PX4 == get_autopilot();
- ^
- /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp: At global scope:
- /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:175:39: error: ‘is_apm_copter’ declared as an ‘inline’ variable
- static inline bool is_apm_copter(UAS::MAV_TYPE type)
- ^
- /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:175:34: error: ‘MAV_TYPE’ is not a member of ‘mavros::UAS’
- static inline bool is_apm_copter(UAS::MAV_TYPE type)
- ^
- /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:176:1: error: expected ‘,’ or ‘;’ before ‘{’ token
- {
- ^
- /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)’:
- /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:186:31: error: ‘MAV_MODE_FLAG’ has not been declared
- if (!(base_mode & enum_value(MAV_MODE_FLAG::CUSTOM_MODE_ENABLED)))
- ^
- /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:189:23: error: ‘get_type’ was not declared in this scope
- auto type = get_type();
- ^
- /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:189:23: note: suggested alternative:
- In file included from /usr/include/boost/parameter/parameters.hpp:44:0,
- from /usr/include/boost/parameter.hpp:11,
- from /usr/include/boost/signals2/signal_type.hpp:32,
- from /usr/include/boost/signals2.hpp:20,
- from /opt/ros/kinetic/include/tf2/buffer_core.h:37,
- from /opt/ros/kinetic/include/tf2_ros/buffer_interface.h:35,
- from /opt/ros/kinetic/include/tf2_ros/buffer.h:35,
- from /opt/ros/kinetic/include/tf2_ros/transform_listener.h:40,
- from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:24,
- from /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:17:
- /usr/include/boost/parameter/aux_/unwrap_cv_reference.hpp:56:8: note: ‘boost::parameter::aux::get_type’
- struct get_type
- ^
- /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:190:26: error: ‘get_autopilot’ was not declared in this scope
- auto ap = get_autopilot();
- ^
- /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:191:6: error: ‘MAV_AUTOPILOT’ has not been declared
- if (MAV_AUTOPILOT::ARDUPILOTMEGA == ap) {
- ^
- /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:192:25: error: ‘is_apm_copter’ cannot be used as a function
- if (is_apm_copter(type))
- ^
- /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:194:20: error: ‘MAV_TYPE’ has not been declared
- else if (type == MAV_TYPE::FIXED_WING)
- ^
- /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:196:20: error: ‘MAV_TYPE’ has not been declared
- else if (type == MAV_TYPE::GROUND_ROVER)
- ^
- /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:198:20: error: ‘MAV_TYPE’ has not been declared
- else if (type == MAV_TYPE::SUBMARINE)
- ^
- /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:205:11: error: ‘MAV_AUTOPILOT’ has not been declared
- else if (MAV_AUTOPILOT::PX4 == ap)
- ^
- /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&)’:
- /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:252:23: error: ‘get_type’ was not declared in this scope
- auto type = get_type();
- ^
- /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:252:23: note: suggested alternative:
- In file included from /usr/include/boost/parameter/parameters.hpp:44:0,
- from /usr/include/boost/parameter.hpp:11,
- from /usr/include/boost/signals2/signal_type.hpp:32,
- from /usr/include/boost/signals2.hpp:20,
- from /opt/ros/kinetic/include/tf2/buffer_core.h:37,
- from /opt/ros/kinetic/include/tf2_ros/buffer_interface.h:35,
- from /opt/ros/kinetic/include/tf2_ros/buffer.h:35,
- from /opt/ros/kinetic/include/tf2_ros/transform_listener.h:40,
- from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:24,
- from /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:17:
- /usr/include/boost/parameter/aux_/unwrap_cv_reference.hpp:56:8: note: ‘boost::parameter::aux::get_type’
- struct get_type
- ^
- /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:253:26: error: ‘get_autopilot’ was not declared in this scope
- auto ap = get_autopilot();
- ^
- /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:254:6: error: ‘MAV_AUTOPILOT’ has not been declared
- if (MAV_AUTOPILOT::ARDUPILOTMEGA == ap) {
- ^
- /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:255:25: error: ‘is_apm_copter’ cannot be used as a function
- if (is_apm_copter(type))
- ^
- /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:257:20: error: ‘MAV_TYPE’ has not been declared
- else if (type == MAV_TYPE::FIXED_WING)
- ^
- /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:259:20: error: ‘MAV_TYPE’ has not been declared
- else if (type == MAV_TYPE::GROUND_ROVER)
- ^
- /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:261:20: error: ‘MAV_TYPE’ has not been declared
- else if (type == MAV_TYPE::SUBMARINE)
- ^
- /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_stringify.cpp:264:11: error: ‘MAV_AUTOPILOT’ has not been declared
- else if (MAV_AUTOPILOT::PX4 == ap)
- ^
- In file included from /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_data.cpp:17:0:
- /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
- using MAV_TYPE = mavlink::common::MAV_TYPE;
- ^
- /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
- using MAV_AUTOPILOT = mavlink::common::MAV_AUTOPILOT;
- ^
- /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
- using MAV_MODE_FLAG = mavlink::common::MAV_MODE_FLAG;
- ^
- /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
- using MAV_STATE = mavlink::common::MAV_STATE;
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:119:9: error: ‘MAV_TYPE’ does not name a type
- inline MAV_TYPE get_type() {
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:127:9: error: ‘MAV_AUTOPILOT’ does not name a type
- inline MAV_AUTOPILOT get_autopilot() {
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h: In member function ‘bool mavros::UAS::get_armed()’:
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:139:41: error: ‘MAV_MODE_FLAG’ has not been declared
- return base_mode_ & utils::enum_value(MAV_MODE_FLAG::SAFETY_ARMED);
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h: In member function ‘bool mavros::UAS::get_hil_state()’:
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:147:41: error: ‘MAV_MODE_FLAG’ has not been declared
- return base_mode_ & utils::enum_value(MAV_MODE_FLAG::HIL_ENABLED);
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h: In member function ‘bool mavros::UAS::is_ardupilotmega()’:
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:361:10: error: ‘MAV_AUTOPILOT’ has not been declared
- return MAV_AUTOPILOT::ARDUPILOTMEGA == get_autopilot();
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:361:56: error: ‘get_autopilot’ was not declared in this scope
- return MAV_AUTOPILOT::ARDUPILOTMEGA == get_autopilot();
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h: In member function ‘bool mavros::UAS::is_px4()’:
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:368:10: error: ‘MAV_AUTOPILOT’ has not been declared
- return MAV_AUTOPILOT::PX4 == get_autopilot();
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:368:46: error: ‘get_autopilot’ was not declared in this scope
- return MAV_AUTOPILOT::PX4 == get_autopilot();
- ^
- /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_data.cpp: In constructor ‘mavros::UAS::UAS()’:
- /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_data.cpp:26:18: error: ‘MAV_TYPE’ has not been declared
- type(enum_value(MAV_TYPE::GENERIC)),
- ^
- /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_data.cpp:27:23: error: ‘MAV_AUTOPILOT’ has not been declared
- autopilot(enum_value(MAV_AUTOPILOT::GENERIC)),
- ^
- In file included from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:29:0,
- from /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_timesync.cpp:17:
- /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
- std::string to_string(mavlink::common::MAV_AUTOPILOT e);
- ^
- /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)’
- std::string to_string(mavlink::common::MAV_SENSOR_ORIENTATION e);
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:70:23: error: ‘MAV_AUTOPILOT’ is not a member of ‘mavlink::common’
- std::string to_string(mavlink::common::MAV_AUTOPILOT e);
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:70:23: note: suggested alternative:
- In file included from /opt/ros/kinetic/include/mavlink/v2.0/common/common.hpp:2290:0,
- from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
- from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/interface.h:37,
- from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:28,
- from /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_timesync.cpp:17:
- /opt/ros/kinetic/include/mavlink/v2.0/common/../minimal/minimal.hpp:34:12: note: ‘mavlink::minimal::MAV_AUTOPILOT’
- enum class MAV_AUTOPILOT : uint8_t
- ^
- In file included from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:29:0,
- from /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_timesync.cpp:17:
- /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
- std::string to_string(mavlink::common::MAV_TYPE e);
- ^
- /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)’
- std::string to_string(mavlink::common::MAV_SENSOR_ORIENTATION e);
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:71:23: error: ‘MAV_TYPE’ is not a member of ‘mavlink::common’
- std::string to_string(mavlink::common::MAV_TYPE e);
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:71:23: note: suggested alternative:
- In file included from /opt/ros/kinetic/include/mavlink/v2.0/common/common.hpp:2290:0,
- from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
- from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/interface.h:37,
- from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:28,
- from /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_timesync.cpp:17:
- /opt/ros/kinetic/include/mavlink/v2.0/common/../minimal/minimal.hpp:62:12: note: ‘mavlink::minimal::MAV_TYPE’
- enum class MAV_TYPE : uint8_t
- ^
- In file included from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:29:0,
- from /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_timesync.cpp:17:
- /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
- std::string to_string(mavlink::common::MAV_STATE e);
- ^
- /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)’
- std::string to_string(mavlink::common::MAV_SENSOR_ORIENTATION e);
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:72:23: error: ‘MAV_STATE’ is not a member of ‘mavlink::common’
- std::string to_string(mavlink::common::MAV_STATE e);
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:72:23: note: suggested alternative:
- In file included from /opt/ros/kinetic/include/mavlink/v2.0/common/common.hpp:2290:0,
- from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
- from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/interface.h:37,
- from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:28,
- from /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_timesync.cpp:17:
- /opt/ros/kinetic/include/mavlink/v2.0/common/../minimal/minimal.hpp:139:12: note: ‘mavlink::minimal::MAV_STATE’
- enum class MAV_STATE : uint8_t
- ^
- /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_data.cpp: At global scope:
- /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_data.cpp:87:34: error: ‘MAV_AUTOPILOT’ is not a member of ‘mavros::UAS’
- static uint64_t get_default_caps(UAS::MAV_AUTOPILOT ap_type)
- ^
- /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_data.cpp:88:1: error: expected ‘,’ or ‘;’ before ‘{’ token
- {
- ^
- /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_data.cpp: In member function ‘uint64_t mavros::UAS::get_capabilities()’:
- /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_data.cpp:100:41: error: ‘get_autopilot’ was not declared in this scope
- return get_default_caps(get_autopilot());
- ^
- /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_data.cpp:100:42: error: ‘get_default_caps’ cannot be used as a function
- return get_default_caps(get_autopilot());
- ^
- In file included from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:29:0,
- from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_plugin.h:25,
- from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros.h:24,
- from /home/user/catkin_ws/src/mavros/mavros/src/lib/mavros.cpp:15:
- /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
- std::string to_string(mavlink::common::MAV_AUTOPILOT e);
- ^
- /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)’
- std::string to_string(mavlink::common::MAV_SENSOR_ORIENTATION e);
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:70:23: error: ‘MAV_AUTOPILOT’ is not a member of ‘mavlink::common’
- std::string to_string(mavlink::common::MAV_AUTOPILOT e);
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:70:23: note: suggested alternative:
- In file included from /opt/ros/kinetic/include/mavlink/v2.0/common/common.hpp:2290:0,
- from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
- from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/interface.h:37,
- from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros.h:23,
- from /home/user/catkin_ws/src/mavros/mavros/src/lib/mavros.cpp:15:
- /opt/ros/kinetic/include/mavlink/v2.0/common/../minimal/minimal.hpp:34:12: note: ‘mavlink::minimal::MAV_AUTOPILOT’
- enum class MAV_AUTOPILOT : uint8_t
- ^
- In file included from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:29:0,
- from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_plugin.h:25,
- from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros.h:24,
- from /home/user/catkin_ws/src/mavros/mavros/src/lib/mavros.cpp:15:
- /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
- std::string to_string(mavlink::common::MAV_TYPE e);
- ^
- /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)’
- std::string to_string(mavlink::common::MAV_SENSOR_ORIENTATION e);
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:71:23: error: ‘MAV_TYPE’ is not a member of ‘mavlink::common’
- std::string to_string(mavlink::common::MAV_TYPE e);
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:71:23: note: suggested alternative:
- In file included from /opt/ros/kinetic/include/mavlink/v2.0/common/common.hpp:2290:0,
- from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
- from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/interface.h:37,
- from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros.h:23,
- from /home/user/catkin_ws/src/mavros/mavros/src/lib/mavros.cpp:15:
- /opt/ros/kinetic/include/mavlink/v2.0/common/../minimal/minimal.hpp:62:12: note: ‘mavlink::minimal::MAV_TYPE’
- enum class MAV_TYPE : uint8_t
- ^
- In file included from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:29:0,
- from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_plugin.h:25,
- from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros.h:24,
- from /home/user/catkin_ws/src/mavros/mavros/src/lib/mavros.cpp:15:
- /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
- std::string to_string(mavlink::common::MAV_STATE e);
- ^
- /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)’
- std::string to_string(mavlink::common::MAV_SENSOR_ORIENTATION e);
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:72:23: error: ‘MAV_STATE’ is not a member of ‘mavlink::common’
- std::string to_string(mavlink::common::MAV_STATE e);
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/utils.h:72:23: note: suggested alternative:
- In file included from /opt/ros/kinetic/include/mavlink/v2.0/common/common.hpp:2290:0,
- from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
- from /home/user/catkin_ws/src/mavros/libmavconn/include/mavconn/interface.h:37,
- from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros.h:23,
- from /home/user/catkin_ws/src/mavros/mavros/src/lib/mavros.cpp:15:
- /opt/ros/kinetic/include/mavlink/v2.0/common/../minimal/minimal.hpp:139:12: note: ‘mavlink::minimal::MAV_STATE’
- enum class MAV_STATE : uint8_t
- ^
- In file included from /home/user/catkin_ws/src/mavros/mavros/src/lib/uas_timesync.cpp:17:0:
- /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
- using MAV_TYPE = mavlink::common::MAV_TYPE;
- ^
- /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
- using MAV_AUTOPILOT = mavlink::common::MAV_AUTOPILOT;
- ^
- /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
- using MAV_MODE_FLAG = mavlink::common::MAV_MODE_FLAG;
- ^
- /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
- using MAV_STATE = mavlink::common::MAV_STATE;
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:119:9: error: ‘MAV_TYPE’ does not name a type
- inline MAV_TYPE get_type() {
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:127:9: error: ‘MAV_AUTOPILOT’ does not name a type
- inline MAV_AUTOPILOT get_autopilot() {
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h: In member function ‘bool mavros::UAS::get_armed()’:
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:139:41: error: ‘MAV_MODE_FLAG’ has not been declared
- return base_mode_ & utils::enum_value(MAV_MODE_FLAG::SAFETY_ARMED);
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h: In member function ‘bool mavros::UAS::get_hil_state()’:
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:147:41: error: ‘MAV_MODE_FLAG’ has not been declared
- return base_mode_ & utils::enum_value(MAV_MODE_FLAG::HIL_ENABLED);
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h: In member function ‘bool mavros::UAS::is_ardupilotmega()’:
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:361:10: error: ‘MAV_AUTOPILOT’ has not been declared
- return MAV_AUTOPILOT::ARDUPILOTMEGA == get_autopilot();
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:361:56: error: ‘get_autopilot’ was not declared in this scope
- return MAV_AUTOPILOT::ARDUPILOTMEGA == get_autopilot();
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h: In member function ‘bool mavros::UAS::is_px4()’:
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:368:10: error: ‘MAV_AUTOPILOT’ has not been declared
- return MAV_AUTOPILOT::PX4 == get_autopilot();
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:368:46: error: ‘get_autopilot’ was not declared in this scope
- return MAV_AUTOPILOT::PX4 == get_autopilot();
- ^
- In file included from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_plugin.h:25:0,
- from /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros.h:24,
- from /home/user/catkin_ws/src/mavros/mavros/src/lib/mavros.cpp:15:
- /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
- using MAV_TYPE = mavlink::common::MAV_TYPE;
- ^
- /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
- using MAV_AUTOPILOT = mavlink::common::MAV_AUTOPILOT;
- ^
- /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
- using MAV_MODE_FLAG = mavlink::common::MAV_MODE_FLAG;
- ^
- /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
- using MAV_STATE = mavlink::common::MAV_STATE;
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:119:9: error: ‘MAV_TYPE’ does not name a type
- inline MAV_TYPE get_type() {
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:127:9: error: ‘MAV_AUTOPILOT’ does not name a type
- inline MAV_AUTOPILOT get_autopilot() {
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h: In member function ‘bool mavros::UAS::get_armed()’:
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:139:41: error: ‘MAV_MODE_FLAG’ has not been declared
- return base_mode_ & utils::enum_value(MAV_MODE_FLAG::SAFETY_ARMED);
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h: In member function ‘bool mavros::UAS::get_hil_state()’:
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:147:41: error: ‘MAV_MODE_FLAG’ has not been declared
- return base_mode_ & utils::enum_value(MAV_MODE_FLAG::HIL_ENABLED);
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h: In member function ‘bool mavros::UAS::is_ardupilotmega()’:
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:361:10: error: ‘MAV_AUTOPILOT’ has not been declared
- return MAV_AUTOPILOT::ARDUPILOTMEGA == get_autopilot();
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:361:56: error: ‘get_autopilot’ was not declared in this scope
- return MAV_AUTOPILOT::ARDUPILOTMEGA == get_autopilot();
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h: In member function ‘bool mavros::UAS::is_px4()’:
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:368:10: error: ‘MAV_AUTOPILOT’ has not been declared
- return MAV_AUTOPILOT::PX4 == get_autopilot();
- ^
- /home/user/catkin_ws/src/mavros/mavros/include/mavros/mavros_uas.h:368:46: error: ‘get_autopilot’ was not declared in this scope
- return MAV_AUTOPILOT::PX4 == get_autopilot();
- ^
- /home/user/catkin_ws/src/mavros/mavros/src/lib/mavros.cpp: In member function ‘void mavros::MavRos::log_connect_change(bool)’:
- /home/user/catkin_ws/src/mavros/mavros/src/lib/mavros.cpp:356:37: error: ‘class mavros::UAS’ has no member named ‘get_autopilot’
- auto ap = utils::to_string(mav_uas.get_autopilot());
- ^
- make[2]: *** [CMakeFiles/mavros.dir/src/lib/uas_stringify.cpp.o] Error 1
- make[2]: *** [CMakeFiles/mavros.dir/src/lib/uas_data.cpp.o] Error 1
- make[2]: *** [CMakeFiles/mavros.dir/src/lib/uas_timesync.cpp.o] Error 1
- make[2]: *** [CMakeFiles/mavros.dir/src/lib/mavros.cpp.o] Error 1
- make[1]: *** [CMakeFiles/mavros.dir/all] Error 2
- make: *** [all] Error 2
- cd /home/user/catkin_ws/build/mavros; catkin build --get-env mavros | catkin env -si /usr/bin/make --jobserver-fds=6,7 -j; cd -
- .......................................................................................................................................................................
- Failed << mavros:make [ Exited with code 2 ]
- Failed <<< mavros [ 17.1 seconds ]
- [build] Summary: 17 of 33 packages succeeded.
- [build] Ignored: 1 packages were skipped or are blacklisted.
- [build] Warnings: 2 packages succeeded with warnings.
- [build] Abandoned: 13 packages were abandoned.
- [build] Failed: 3 packages failed.
- [build] Runtime: 20.3 seconds total.
- [build] Note: Workspace packages have changed, please re-source setup files to use them.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement