I am on ubuntu 18.04 .I got error when catkin build . The error show like the following:
cd /home/viets/worksapce/simulator/bebop_ws/build/bebop_driver; catkin build --get-env bebop_driver | catkin env -si /usr/bin/cmake /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/home/viets/worksapce/simulator/bebop_ws/devel/.private/bebop_driver -DCMAKE_INSTALL_PREFIX=/home/viets/worksapce/simulator/bebop_ws/install; cd -
...............................................................................................................................................
Errors << bebop_driver:make /home/viets/worksapce/simulator/bebop_ws/logs/bebop_driver/build.make.000.log
/home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp: In member function ‘bool bebop_driver::VideoDecoder::ReallocateBuffers()’:
/home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:136:32: warning: ‘int avpicture_get_size(AVPixelFormat, int, int)’ is deprecated [-Wdeprecated-declarations]
const uint32_t num_bytes = avpicture_get_size(AV_PIX_FMT_RGB24, codec_ctx_ptr_->width, codec_ctx_ptr_->width);
^
In file included from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/include/bebop_driver/bebop_video_decoder.h:32:0,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:25:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:5653:5: note: declared here
int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height);
^
/home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:136:32: warning: ‘int avpicture_get_size(AVPixelFormat, int, int)’ is deprecated [-Wdeprecated-declarations]
const uint32_t num_bytes = avpicture_get_size(AV_PIX_FMT_RGB24, codec_ctx_ptr_->width, codec_ctx_ptr_->width);
^
In file included from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/include/bebop_driver/bebop_video_decoder.h:32:0,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:25:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:5653:5: note: declared here
int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height);
^
/home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:136:113: warning: ‘int avpicture_get_size(AVPixelFormat, int, int)’ is deprecated [-Wdeprecated-declarations]
const uint32_t num_bytes = avpicture_get_size(AV_PIX_FMT_RGB24, codec_ctx_ptr_->width, codec_ctx_ptr_->width);
^
In file included from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/include/bebop_driver/bebop_video_decoder.h:32:0,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:25:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:5653:5: note: declared here
int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height);
^
/home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:145:27: warning: ‘int avpicture_fill(AVPicture*, const uint8_t*, AVPixelFormat, int, int)’ is deprecated [-Wdeprecated-declarations]
ThrowOnCondition(0 == avpicture_fill(
^
In file included from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/include/bebop_driver/bebop_video_decoder.h:32:0,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:25:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:5638:5: note: declared here
int avpicture_fill(AVPicture picture, const uint8_t ptr,
^
/home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:145:27: warning: ‘int avpicture_fill(AVPicture, const uint8_t, AVPixelFormat, int, int)’ is deprecated [-Wdeprecated-declarations]
ThrowOnCondition(0 == avpicture_fill(
^
In file included from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/include/bebop_driver/bebop_video_decoder.h:32:0,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:25:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:5638:5: note: declared here
int avpicture_fill(AVPicture picture, const uint8_t ptr,
^
/home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:147:69: warning: ‘int avpicture_fill(AVPicture, const uint8_t, AVPixelFormat, int, int)’ is deprecated [-Wdeprecated-declarations]
codec_ctx_ptr_->width, codec_ctx_ptr_->height),
^
In file included from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/include/bebop_driver/bebop_video_decoder.h:32:0,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:25:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:5638:5: note: declared here
int avpicture_fill(AVPicture picture, const uint8_t ptr,
^
/home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp: In member function ‘bool bebop_driver::VideoDecoder::Decode(const ARCONTROLLER_Frame_t)’:
/home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:267:25: warning: ‘int avcodec_decode_video2(AVCodecContext, AVFrame*, int*, const AVPacket*)’ is deprecated [-Wdeprecated-declarations]
const int32_t len = avcodec_decode_video2(codec_ctx_ptr_, frame_ptr_, &frame_finished, &packet_);
^
In file included from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/include/bebop_driver/bebop_video_decoder.h:32:0,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:25:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4993:5: note: declared here
int avcodec_decode_video2(AVCodecContext avctx, AVFrame picture,
^
/home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:267:25: warning: ‘int avcodec_decode_video2(AVCodecContext, AVFrame, int*, const AVPacket*)’ is deprecated [-Wdeprecated-declarations]
const int32_t len = avcodec_decode_video2(codec_ctx_ptr_, frame_ptr_, &frame_finished, &packet_);
^
In file included from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/include/bebop_driver/bebop_video_decoder.h:32:0,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:25:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4993:5: note: declared here
int avcodec_decode_video2(AVCodecContext avctx, AVFrame picture,
^
/home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:267:100: warning: ‘int avcodec_decode_video2(AVCodecContext, AVFrame, int*, const AVPacket*)’ is deprecated [-Wdeprecated-declarations]
const int32_t len = avcodec_decode_video2(codec_ctx_ptr_, frame_ptr_, &frame_finished, &packet_);
^
In file included from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/include/bebop_driver/bebop_video_decoder.h:32:0,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:25:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4993:5: note: declared here
int avcodec_decode_video2(AVCodecContext avctx, AVFrame picture,
^
/home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:295:25: warning: ‘int avcodec_decode_video2(AVCodecContext, AVFrame, int*, const AVPacket*)’ is deprecated [-Wdeprecated-declarations]
const int32_t len = avcodec_decode_video2(codec_ctx_ptr_, frame_ptr_, &frame_finished, &packet_);
^
In file included from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/include/bebop_driver/bebop_video_decoder.h:32:0,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:25:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4993:5: note: declared here
int avcodec_decode_video2(AVCodecContext avctx, AVFrame picture,
^
/home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:295:25: warning: ‘int avcodec_decode_video2(AVCodecContext, AVFrame, int*, const AVPacket*)’ is deprecated [-Wdeprecated-declarations]
const int32_t len = avcodec_decode_video2(codec_ctx_ptr_, frame_ptr_, &frame_finished, &packet_);
^
In file included from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/include/bebop_driver/bebop_video_decoder.h:32:0,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:25:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4993:5: note: declared here
int avcodec_decode_video2(AVCodecContext avctx, AVFrame picture,
^
/home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:295:100: warning: ‘int avcodec_decode_video2(AVCodecContext, AVFrame, int*, const AVPacket*)’ is deprecated [-Wdeprecated-declarations]
const int32_t len = avcodec_decode_video2(codec_ctx_ptr_, frame_ptr_, &frame_finished, &packet_);
^
In file included from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/include/bebop_driver/bebop_video_decoder.h:32:0,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:25:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4993:5: note: declared here
int avcodec_decode_video2(AVCodecContext avctx, AVFrame picture,
^
In file included from /opt/ros/melodic/include/ros/node_handle.h:32:0,
from /home/viets/worksapce/simulator/bebop_ws/devel/.private/bebop_driver/include/bebop_driver/BebopArdrone3Config.h:21,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop.cpp:43:
/opt/ros/melodic/include/ros/publisher.h:53:52: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
Publisher& operator=(const Publisher& other) = default;
^
In file included from /opt/ros/melodic/include/ros/node_handle.h:33:0,
from /home/viets/worksapce/simulator/bebop_ws/devel/.private/bebop_driver/include/bebop_driver/BebopArdrone3Config.h:21,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop.cpp:43:
/opt/ros/melodic/include/ros/subscriber.h:52:52: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
Subscriber& operator=(const Subscriber& other) = default;
^
In file included from /opt/ros/melodic/include/ros/node_handle.h:34:0,
from /home/viets/worksapce/simulator/bebop_ws/devel/.private/bebop_driver/include/bebop_driver/BebopArdrone3Config.h:21,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop.cpp:43:
/opt/ros/melodic/include/ros/service_server.h:51:58: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
ServiceServer& operator=(const ServiceServer& other) = default;
^
In file included from /opt/ros/melodic/include/ros/node_handle.h:35:0,
from /home/viets/worksapce/simulator/bebop_ws/devel/.private/bebop_driver/include/bebop_driver/BebopArdrone3Config.h:21,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop.cpp:43:
/opt/ros/melodic/include/ros/service_client.h:49:58: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
ServiceClient& operator=(const ServiceClient& other) = default;
^
In file included from /opt/ros/melodic/include/ros/node_handle.h:36:0,
from /home/viets/worksapce/simulator/bebop_ws/devel/.private/bebop_driver/include/bebop_driver/BebopArdrone3Config.h:21,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop.cpp:43:
/opt/ros/melodic/include/ros/timer.h:52:42: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
Timer& operator=(const Timer& other) = default;
^
In file included from /opt/ros/melodic/include/ros/node_handle.h:38:0,
from /home/viets/worksapce/simulator/bebop_ws/devel/.private/bebop_driver/include/bebop_driver/BebopArdrone3Config.h:21,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop.cpp:43:
/opt/ros/melodic/include/ros/wall_timer.h:52:50: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
WallTimer& operator=(const WallTimer& other) = default;
^
In file included from /opt/ros/melodic/include/ros/node_handle.h:39:0,
from /home/viets/worksapce/simulator/bebop_ws/devel/.private/bebop_driver/include/bebop_driver/BebopArdrone3Config.h:21,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop.cpp:43:
/opt/ros/melodic/include/ros/steady_timer.h:52:54: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
SteadyTimer& operator=(const SteadyTimer& other) = default;
^
In file included from /opt/ros/melodic/include/ros/node_handle.h:32:0,
from /opt/ros/melodic/include/ros/ros.h:45,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_node.cpp:29:
/opt/ros/melodic/include/ros/publisher.h:53:52: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
Publisher& operator=(const Publisher& other) = default;
^
In file included from /opt/ros/melodic/include/ros/node_handle.h:33:0,
from /opt/ros/melodic/include/ros/ros.h:45,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_node.cpp:29:
/opt/ros/melodic/include/ros/subscriber.h:52:52: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
Subscriber& operator=(const Subscriber& other) = default;
^
In file included from /opt/ros/melodic/include/ros/node_handle.h:34:0,
from /opt/ros/melodic/include/ros/ros.h:45,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_node.cpp:29:
/opt/ros/melodic/include/ros/service_server.h:51:58: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
ServiceServer& operator=(const ServiceServer& other) = default;
^
In file included from /opt/ros/melodic/include/ros/node_handle.h:35:0,
from /opt/ros/melodic/include/ros/ros.h:45,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_node.cpp:29:
/opt/ros/melodic/include/ros/service_client.h:49:58: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
ServiceClient& operator=(const ServiceClient& other) = default;
^
In file included from /opt/ros/melodic/include/ros/node_handle.h:36:0,
from /opt/ros/melodic/include/ros/ros.h:45,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_node.cpp:29:
/opt/ros/melodic/include/ros/timer.h:52:42: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
Timer& operator=(const Timer& other) = default;
^
In file included from /opt/ros/melodic/include/ros/node_handle.h:38:0,
from /opt/ros/melodic/include/ros/ros.h:45,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_node.cpp:29:
/opt/ros/melodic/include/ros/wall_timer.h:52:50: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
WallTimer& operator=(const WallTimer& other) = default;
^
In file included from /opt/ros/melodic/include/ros/node_handle.h:39:0,
from /opt/ros/melodic/include/ros/ros.h:45,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_node.cpp:29:
/opt/ros/melodic/include/ros/steady_timer.h:52:54: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
SteadyTimer& operator=(const SteadyTimer& other) = default;
^
In file included from /opt/ros/melodic/include/ros/node_handle.h:32:0,
from /opt/ros/melodic/include/ros/ros.h:45,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_nodelet.cpp:25:
/opt/ros/melodic/include/ros/publisher.h:53:52: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
Publisher& operator=(const Publisher& other) = default;
^
In file included from /opt/ros/melodic/include/ros/node_handle.h:33:0,
from /opt/ros/melodic/include/ros/ros.h:45,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_nodelet.cpp:25:
/opt/ros/melodic/include/ros/subscriber.h:52:52: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
Subscriber& operator=(const Subscriber& other) = default;
^
In file included from /opt/ros/melodic/include/ros/node_handle.h:34:0,
from /opt/ros/melodic/include/ros/ros.h:45,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_nodelet.cpp:25:
/opt/ros/melodic/include/ros/service_server.h:51:58: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
ServiceServer& operator=(const ServiceServer& other) = default;
^
In file included from /opt/ros/melodic/include/ros/node_handle.h:35:0,
from /opt/ros/melodic/include/ros/ros.h:45,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_nodelet.cpp:25:
/opt/ros/melodic/include/ros/service_client.h:49:58: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
ServiceClient& operator=(const ServiceClient& other) = default;
^
In file included from /opt/ros/melodic/include/ros/node_handle.h:36:0,
from /opt/ros/melodic/include/ros/ros.h:45,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_nodelet.cpp:25:
/opt/ros/melodic/include/ros/timer.h:52:42: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
Timer& operator=(const Timer& other) = default;
^
In file included from /opt/ros/melodic/include/ros/node_handle.h:38:0,
from /opt/ros/melodic/include/ros/ros.h:45,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_nodelet.cpp:25:
/opt/ros/melodic/include/ros/wall_timer.h:52:50: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
WallTimer& operator=(const WallTimer& other) = default;
^
In file included from /opt/ros/melodic/include/ros/node_handle.h:39:0,
from /opt/ros/melodic/include/ros/ros.h:45,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_nodelet.cpp:25:
/opt/ros/melodic/include/ros/steady_timer.h:52:54: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
SteadyTimer& operator=(const SteadyTimer& other) = default;
^
In file included from /opt/ros/melodic/include/class_loader/class_loader.hpp:46:0,
from /opt/ros/melodic/include/pluginlib/./class_list_macros.hpp:40,
from /opt/ros/melodic/include/pluginlib/class_list_macros.h:35,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_nodelet.cpp:26:
/opt/ros/melodic/include/class_loader/class_loader_core.hpp: In function ‘void class_loader::impl::registerPlugin(const string&, const string&)’:
/opt/ros/melodic/include/class_loader/class_loader_core.hpp:183:7: error: ‘nullptr’ was not declared in this scope
if (nullptr == getCurrentlyActiveClassLoader()) {
^
/opt/ros/melodic/include/class_loader/class_loader_core.hpp: In function ‘Base class_loader::impl::createInstance(const string&, class_loader::ClassLoader)’:
/opt/ros/melodic/include/class_loader/class_loader_core.hpp:242:40: error: ‘nullptr’ was not declared in this scope
AbstractMetaObject * factory = nullptr;
^
/opt/ros/melodic/include/class_loader/class_loader_core.hpp: In function ‘std::vector<std::cxx11::basic_string > class_loader::impl::getAvailableClasses(class_loader::ClassLoader*)’:
/opt/ros/melodic/include/class_loader/class_loader_core.hpp:300:15: error: ISO C++ forbids declaration of ‘it’ with no type [-fpermissive]
for (auto & it : factory_map) {
^
/opt/ros/melodic/include/class_loader/class_loader_core.hpp:300:20: warning: range-based ‘for’ loops only available with -std=c++11 or -std=gnu++11
for (auto & it : factory_map) {
^
/opt/ros/melodic/include/class_loader/class_loader_core.hpp:301:43: error: request for member ‘second’ in ‘it’, which is of non-class type ‘int’
AbstractMetaObjectBase * factory = it.second;
^
/opt/ros/melodic/include/class_loader/class_loader_core.hpp:303:28: error: request for member ‘first’ in ‘it’, which is of non-class type ‘int’
classes.push_back(it.first);
^
/opt/ros/melodic/include/class_loader/class_loader_core.hpp:304:35: error: ‘nullptr’ was not declared in this scope
} else if (factory->isOwnedBy(nullptr)) {
^
/opt/ros/melodic/include/class_loader/class_loader_core.hpp:305:42: error: request for member ‘first’ in ‘it’, which is of non-class type ‘int’
classes_with_no_owner.push_back(it.first);
^
In file included from /opt/ros/melodic/include/pluginlib/./class_list_macros.hpp:40:0,
from /opt/ros/melodic/include/pluginlib/class_list_macros.h:35,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_nodelet.cpp:26:
/opt/ros/melodic/include/class_loader/class_loader.hpp: At global scope:
/opt/ros/melodic/include/class_loader/class_loader.hpp:82:3: error: expected unqualified-id before ‘using’
using DeleterType = std::function<void(Base )>;
^
/opt/ros/melodic/include/class_loader/class_loader.hpp:85:3: error: expected unqualified-id before ‘using’
using UniquePtr = std::unique_ptr<Base, DeleterType>;
^
/opt/ros/melodic/include/class_loader/class_loader.hpp:127:8: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
std::shared_ptr createSharedInstance(const std::string & derived_class_name)
^
/opt/ros/melodic/include/class_loader/class_loader.hpp:160:3: error: ‘UniquePtr’ does not name a type
UniquePtr createUniqueInstance(const std::string & derived_class_name)
^
In file included from /opt/ros/melodic/include/pluginlib/./class_list_macros.hpp:40:0,
from /opt/ros/melodic/include/pluginlib/class_list_macros.h:35,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_nodelet.cpp:26:
/opt/ros/melodic/include/class_loader/class_loader.hpp: In member function ‘void class_loader::ClassLoader::onPluginDeletion(Base)’:
/opt/ros/melodic/include/class_loader/class_loader.hpp:246:9: error: ‘nullptr’ was not declared in this scope
if (nullptr == obj) {
^
In file included from /usr/include/boost/assert.hpp:58:0,
from /usr/include/boost/thread/pthread/pthread_mutex_scoped_lock.hpp:10,
from /usr/include/boost/thread/pthread/recursive_mutex.hpp:23,
from /usr/include/boost/thread/recursive_mutex.hpp:16,
from /opt/ros/melodic/include/class_loader/class_loader.hpp:37,
from /opt/ros/melodic/include/pluginlib/./class_list_macros.hpp:40,
from /opt/ros/melodic/include/pluginlib/class_list_macros.h:35,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_nodelet.cpp:26:
/opt/ros/melodic/include/class_loader/class_loader.hpp: In member function ‘Base* class_loader::ClassLoader::createRawInstance(const string&, bool)’:
/opt/ros/melodic/include/class_loader/class_loader.hpp:302:19: error: ‘nullptr’ was not declared in this scope
assert(obj != nullptr); // Unreachable assertion if createInstance() throws on failure
^
In file included from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_nodelet.cpp:31:0:
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h: At global scope:
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:1009:55: error: ‘array’ is not a member of ‘std’
geometry_msgs::WrenchStamped toMsg(const tf2::Stamped<std::array<tf2::Vector3, 2>>& in, geometry_msgs::WrenchStamped & out)
^
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:1009:55: note: suggested alternative:
In file included from /opt/ros/melodic/include/ros/message.h:38:0,
from /opt/ros/melodic/include/ros/publisher.h:33,
from /opt/ros/melodic/include/ros/node_handle.h:32,
from /opt/ros/melodic/include/ros/ros.h:45,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_nodelet.cpp:25:
/usr/include/boost/array.hpp:61:11: note: ‘boost::array’
class array {
^
In file included from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_nodelet.cpp:31:0:
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:1009:55: error: ‘array’ is not a member of ‘std’
geometry_msgs::WrenchStamped toMsg(const tf2::Stamped<std::array<tf2::Vector3, 2>>& in, geometry_msgs::WrenchStamped & out)
^
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:1009:55: note: suggested alternative:
In file included from /opt/ros/melodic/include/ros/message.h:38:0,
from /opt/ros/melodic/include/ros/publisher.h:33,
from /opt/ros/melodic/include/ros/node_handle.h:32,
from /opt/ros/melodic/include/ros/ros.h:45,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_nodelet.cpp:25:
/usr/include/boost/array.hpp:61:11: note: ‘boost::array’
class array {
^
In file included from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_nodelet.cpp:31:0:
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:1009:81: error: spurious ‘>>’, use ‘>’ to terminate a template argument list
geometry_msgs::WrenchStamped toMsg(const tf2::Stamped<std::array<tf2::Vector3, 2>>& in, geometry_msgs::WrenchStamped & out)
^
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:1009:81: error: wrong number of template arguments (2, should be 1)
In file included from /opt/ros/melodic/include/tf2/convert.h:36:0,
from /opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:35,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_nodelet.cpp:31:
/opt/ros/melodic/include/tf2/transform_datatypes.h:44:7: note: provided for ‘template class tf2::Stamped’
class Stamped : public T{
^
In file included from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_nodelet.cpp:31:0:
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:1009:55: error: ‘array’ is not a member of ‘std’
geometry_msgs::WrenchStamped toMsg(const tf2::Stamped<std::array<tf2::Vector3, 2>>& in, geometry_msgs::WrenchStamped & out)
^
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:1009:55: note: suggested alternative:
In file included from /opt/ros/melodic/include/ros/message.h:38:0,
from /opt/ros/melodic/include/ros/publisher.h:33,
from /opt/ros/melodic/include/ros/node_handle.h:32,
from /opt/ros/melodic/include/ros/ros.h:45,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_nodelet.cpp:25:
/usr/include/boost/array.hpp:61:11: note: ‘boost::array’
class array {
^
In file included from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_nodelet.cpp:31:0:
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:1009:55: error: ‘array’ is not a member of ‘std’
geometry_msgs::WrenchStamped toMsg(const tf2::Stamped<std::array<tf2::Vector3, 2>>& in, geometry_msgs::WrenchStamped & out)
^
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:1009:55: note: suggested alternative:
In file included from /opt/ros/melodic/include/ros/message.h:38:0,
from /opt/ros/melodic/include/ros/publisher.h:33,
from /opt/ros/melodic/include/ros/node_handle.h:32,
from /opt/ros/melodic/include/ros/ros.h:45,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_nodelet.cpp:25:
/usr/include/boost/array.hpp:61:11: note: ‘boost::array’
class array {
^
In file included from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_nodelet.cpp:31:0:
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:1009:81: error: spurious ‘>>’, use ‘>’ to terminate a template argument list
geometry_msgs::WrenchStamped toMsg(const tf2::Stamped<std::array<tf2::Vector3, 2>>& in, geometry_msgs::WrenchStamped & out)
^
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:1009:81: error: wrong number of template arguments (2, should be 1)
In file included from /opt/ros/melodic/include/tf2/convert.h:36:0,
from /opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:35,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_nodelet.cpp:31:
/opt/ros/melodic/include/tf2/transform_datatypes.h:44:7: note: provided for ‘template class tf2::Stamped’
class Stamped : public T{
^
In file included from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_nodelet.cpp:31:0:
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:1009:55: error: ‘array’ is not a member of ‘std’
geometry_msgs::WrenchStamped toMsg(const tf2::Stamped<std::array<tf2::Vector3, 2>>& in, geometry_msgs::WrenchStamped & out)
^
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:1009:55: note: suggested alternative:
In file included from /opt/ros/melodic/include/ros/message.h:38:0,
from /opt/ros/melodic/include/ros/publisher.h:33,
from /opt/ros/melodic/include/ros/node_handle.h:32,
from /opt/ros/melodic/include/ros/ros.h:45,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_nodelet.cpp:25:
/usr/include/boost/array.hpp:61:11: note: ‘boost::array’
class array {
^
In file included from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_nodelet.cpp:31:0:
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:1009:55: error: ‘array’ is not a member of ‘std’
geometry_msgs::WrenchStamped toMsg(const tf2::Stamped<std::array<tf2::Vector3, 2>>& in, geometry_msgs::WrenchStamped & out)
^
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:1009:55: note: suggested alternative:
In file included from /opt/ros/melodic/include/ros/message.h:38:0,
from /opt/ros/melodic/include/ros/publisher.h:33,
from /opt/ros/melodic/include/ros/node_handle.h:32,
from /opt/ros/melodic/include/ros/ros.h:45,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_nodelet.cpp:25:
/usr/include/boost/array.hpp:61:11: note: ‘boost::array’
class array {
^
In file included from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_nodelet.cpp:31:0:
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:1009:81: error: spurious ‘>>’, use ‘>’ to terminate a template argument list
geometry_msgs::WrenchStamped toMsg(const tf2::Stamped<std::array<tf2::Vector3, 2>>& in, geometry_msgs::WrenchStamped & out)
^
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:1009:81: error: wrong number of template arguments (2, should be 1)
In file included from /opt/ros/melodic/include/tf2/convert.h:36:0,
from /opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:35,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_nodelet.cpp:31:
/opt/ros/melodic/include/tf2/transform_datatypes.h:44:7: note: provided for ‘template class tf2::Stamped’
class Stamped : public T{
^
In file included from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_nodelet.cpp:31:0:
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:1009:55: error: ‘array’ is not a member of ‘std’
geometry_msgs::WrenchStamped toMsg(const tf2::Stamped<std::array<tf2::Vector3, 2>>& in, geometry_msgs::WrenchStamped & out)
^
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:1009:55: note: suggested alternative:
In file included from /opt/ros/melodic/include/ros/message.h:38:0,
from /opt/ros/melodic/include/ros/publisher.h:33,
from /opt/ros/melodic/include/ros/node_handle.h:32,
from /opt/ros/melodic/include/ros/ros.h:45,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_nodelet.cpp:25:
/usr/include/boost/array.hpp:61:11: note: ‘boost::array’
class array {
^
In file included from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_nodelet.cpp:31:0:
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:1009:55: error: ‘array’ is not a member of ‘std’
geometry_msgs::WrenchStamped toMsg(const tf2::Stamped<std::array<tf2::Vector3, 2>>& in, geometry_msgs::WrenchStamped & out)
^
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:1009:55: note: suggested alternative:
In file included from /opt/ros/melodic/include/ros/message.h:38:0,
from /opt/ros/melodic/include/ros/publisher.h:33,
from /opt/ros/melodic/include/ros/node_handle.h:32,
from /opt/ros/melodic/include/ros/ros.h:45,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_nodelet.cpp:25:
/usr/include/boost/array.hpp:61:11: note: ‘boost::array’
class array {
^
In file included from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_nodelet.cpp:31:0:
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:1009:81: error: spurious ‘>>’, use ‘>’ to terminate a template argument list
geometry_msgs::WrenchStamped toMsg(const tf2::Stamped<std::array<tf2::Vector3, 2>>& in, geometry_msgs::WrenchStamped & out)
^
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:1009:81: error: wrong number of template arguments (2, should be 1)
In file included from /opt/ros/melodic/include/tf2/convert.h:36:0,
from /opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:35,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_nodelet.cpp:31:
/opt/ros/melodic/include/tf2/transform_datatypes.h:44:7: note: provided for ‘template class tf2::Stamped’
class Stamped : public T{
^
In file included from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_nodelet.cpp:31:0:
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:1009:42: error: invalid use of template-name ‘tf2::Stamped’ without an argument list
geometry_msgs::WrenchStamped toMsg(const tf2::Stamped<std::array<tf2::Vector3, 2>>& in, geometry_msgs::WrenchStamped & out)
^
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:1009:54: error: expected ‘,’ or ‘...’ before ‘<’ token
geometry_msgs::WrenchStamped toMsg(const tf2::Stamped<std::array<tf2::Vector3, 2>>& in, geometry_msgs::WrenchStamped & out)
^
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h: In function ‘geometry_msgs::WrenchStamped tf2::toMsg(int)’:
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:1011:3: error: ‘out’ was not declared in this scope
out.header.stamp = in.stamp;
^
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:1011:22: error: ‘in’ was not declared in this scope
out.header.stamp = in.stamp;
^
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h: At global scope:
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:1020:68: error: ‘array’ is not a member of ‘std’
void fromMsg(const geometry_msgs::WrenchStamped& msg, tf2::Stamped<std::array<tf2::Vector3, 2>>& out)
^
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:1020:68: note: suggested alternative:
In file included from /opt/ros/melodic/include/ros/message.h:38:0,
from /opt/ros/melodic/include/ros/publisher.h:33,
from /opt/ros/melodic/include/ros/node_handle.h:32,
from /opt/ros/melodic/include/ros/ros.h:45,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_nodelet.cpp:25:
/usr/include/boost/array.hpp:61:11: note: ‘boost::array’
class array {
^
In file included from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_nodelet.cpp:31:0:
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:1020:68: error: ‘array’ is not a member of ‘std’
void fromMsg(const geometry_msgs::WrenchStamped& msg, tf2::Stamped<std::array<tf2::Vector3, 2>>& out)
^
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:1020:68: note: suggested alternative:
In file included from /opt/ros/melodic/include/ros/message.h:38:0,
from /opt/ros/melodic/include/ros/publisher.h:33,
from /opt/ros/melodic/include/ros/node_handle.h:32,
from /opt/ros/melodic/include/ros/ros.h:45,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_nodelet.cpp:25:
/usr/include/boost/array.hpp:61:11: note: ‘boost::array’
class array {
^
In file included from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_nodelet.cpp:31:0:
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:1020:94: error: spurious ‘>>’, use ‘>’ to terminate a template argument list
void fromMsg(const geometry_msgs::WrenchStamped& msg, tf2::Stamped<std::array<tf2::Vector3, 2>>& out)
^
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:1020:94: error: wrong number of template arguments (2, should be 1)
In file included from /opt/ros/melodic/include/tf2/convert.h:36:0,
from /opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:35,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_nodelet.cpp:31:
/opt/ros/melodic/include/tf2/transform_datatypes.h:44:7: note: provided for ‘template class tf2::Stamped’
class Stamped : public T{
^
In file included from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_nodelet.cpp:31:0:
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:1020:68: error: ‘array’ is not a member of ‘std’
void fromMsg(const geometry_msgs::WrenchStamped& msg, tf2::Stamped<std::array<tf2::Vector3, 2>>& out)
^
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:1020:68: note: suggested alternative:
In file included from /opt/ros/melodic/include/ros/message.h:38:0,
from /opt/ros/melodic/include/ros/publisher.h:33,
from /opt/ros/melodic/include/ros/node_handle.h:32,
from /opt/ros/melodic/include/ros/ros.h:45,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_nodelet.cpp:25:
/usr/include/boost/array.hpp:61:11: note: ‘boost::array’
class array {
^
In file included from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_nodelet.cpp:31:0:
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:1020:68: error: ‘array’ is not a member of ‘std’
void fromMsg(const geometry_msgs::WrenchStamped& msg, tf2::Stamped<std::array<tf2::Vector3, 2>>& out)
^
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:1020:68: note: suggested alternative:
In file included from /opt/ros/melodic/include/ros/message.h:38:0,
from /opt/ros/melodic/include/ros/publisher.h:33,
from /opt/ros/melodic/include/ros/node_handle.h:32,
from /opt/ros/melodic/include/ros/ros.h:45,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_nodelet.cpp:25:
/usr/include/boost/array.hpp:61:11: note: ‘boost::array’
class array {
^
In file included from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_nodelet.cpp:31:0:
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:1020:94: error: spurious ‘>>’, use ‘>’ to terminate a template argument list
void fromMsg(const geometry_msgs::WrenchStamped& msg, tf2::Stamped<std::array<tf2::Vector3, 2>>& out)
^
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:1020:94: error: wrong number of template arguments (2, should be 1)
In file included from /opt/ros/melodic/include/tf2/convert.h:36:0,
from /opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:35,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_nodelet.cpp:31:
/opt/ros/melodic/include/tf2/transform_datatypes.h:44:7: note: provided for ‘template class tf2::Stamped’
class Stamped : public T{
^
In file included from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_nodelet.cpp:31:0:
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:1020:60: error: ‘tf2::Stamped’ is not a type
void fromMsg(const geometry_msgs::WrenchStamped& msg, tf2::Stamped<std::array<tf2::Vector3, 2>>& out)
^
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:1020:67: error: expected ‘,’ or ‘...’ before ‘<’ token
void fromMsg(const geometry_msgs::WrenchStamped& msg, tf2::Stamped<std::array<tf2::Vector3, 2>>& out)
^
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h: In function ‘void tf2::fromMsg(const WrenchStamped&, int)’:
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:1022:3: error: ‘out’ was not declared in this scope
out.stamp_ = msg.header.stamp;
^
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:1028:3: error: ‘array’ is not a member of ‘std’
std::array<tf2::Vector3, 2> tmp_array;
^
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:1028:3: note: suggested alternative:
In file included from /opt/ros/melodic/include/ros/message.h:38:0,
from /opt/ros/melodic/include/ros/publisher.h:33,
from /opt/ros/melodic/include/ros/node_handle.h:32,
from /opt/ros/melodic/include/ros/ros.h:45,
from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_nodelet.cpp:25:
/usr/include/boost/array.hpp:61:11: note: ‘boost::array’
class array {
^
In file included from /home/viets/worksapce/simulator/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_driver_nodelet.cpp:31:0:
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:1028:26: error: expected primary-expression before ‘,’ token
std::array<tf2::Vector3, 2> tmp_array;
^
/opt/ros/melodic/include/tf2_geometry_msgs/tf2_geometry_msgs.h:1028:31: error: ‘tmp_array’ was not declared in this scope
std::array<tf2::Vector3, 2> tmp_array;
^
make[2]: *** [CMakeFiles/bebop_driver_nodelet.dir/src/bebop_driver_nodelet.cpp.o] Error 1
make[1]: *** [CMakeFiles/bebop_driver_nodelet.dir/all] Error 2
make: *** [all] Error 2
cd /home/viets/worksapce/simulator/bebop_ws/build/bebop_driver; catkin build --get-env bebop_driver | catkin env -si /usr/bin/make --jobserver-fds=6,7 -j; cd -
...............................................................................................................................................
Failed << bebop_driver:make [ Exited with code 2 ]
Failed <<< bebop_driver [ 17.2 seconds ]
Abandoned <<< bebop_tools [ Unrelated job failed ]
[build] Summary: 3 of 5 packages succeeded.
[build] Ignored: 1 packages were skipped or are blacklisted.
[build] Warnings: 1 packages succeeded with warnings.
[build] Abandoned: 1 packages were abandoned.
[build] Failed: 1 packages failed.
[build] Runtime: 28.3 seconds total.
[build] Note: Workspace packages have changed, please re-source setup files to use them.
Anyone know how to solve this problem?Help!!