You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jetson nano with Ubuntu 18.04 +ROS melodic, interface with D435 camera
Error while trying to use the ./installRealSenseROS.sh ~/catkin_ws
[ 95%] Built target fake_dynamic_reconfigure_server In file included from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/realsense_node_factory.cpp:5:0: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:53:34: error: ‘filter’ is not a member of ‘rs2’ std::shared_ptr<rs2::filter> _filter; ^~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:53:34: error: ‘filter’ is not a member of ‘rs2’ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:53:40: error: template argument 1 is invalid std::shared_ptr<rs2::filter> _filter; ^ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:56:64: error: ‘filter’ is not a member of ‘rs2’ NamedFilter(std::string name, std::shared_ptr<rs2::filter> filter): ^~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:56:64: error: ‘filter’ is not a member of ‘rs2’ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:56:70: error: template argument 1 is invalid NamedFilter(std::string name, std::shared_ptr<rs2::filter> filter): ^ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h: In member function ‘void realsense2_camera::PipelineSyncer::operator()(rs2::frame) const’: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:66:4: error: ‘invoke’ was not declared in this scope invoke(std::move(f)); ^~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:66:4: note: suggested alternative: In file included from /usr/include/boost/thread/detail/thread.hpp:23:0, from /usr/include/boost/thread/thread_only.hpp:22, from /usr/include/boost/thread/thread.hpp:12, from /usr/include/boost/thread.hpp:13, from /opt/ros/melodic/include/diagnostic_updater/diagnostic_updater.h:48, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:9, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/realsense_node_factory.cpp:5: /usr/include/boost/thread/detail/invoke.hpp:131:17: note: ‘boost::detail::invoke’ inline auto invoke(BOOST_THREAD_RV_REF(Fp) f, BOOST_THREAD_RV_REF(Args) ...args) ^~~~~~ In file included from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/realsense_node_factory.cpp:6:0: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/t265_realsense_node.h: At global scope: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/t265_realsense_node.h:25:18: error: ‘wheel_odometer’ in namespace ‘rs2’ does not name a type rs2::wheel_odometer _wo_snr; ^~~~~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/realsense_node_factory.cpp: In member function ‘void realsense2_camera::RealSenseNodeFactory::getDevice(rs2::device_list)’: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/realsense_node_factory.cpp:83:8: error: ‘class rs2::context’ has no member named ‘unload_tracking_module’ _ctx.unload_tracking_module(); ^~~~~~~~~~~~~~~~~~~~~~ realsense-ros/realsense2_camera/CMakeFiles/realsense2_camera.dir/build.make:62: recipe for target 'realsense-ros/realsense2_camera/CMakeFiles/realsense2_camera.dir/src/realsense_node_factory.cpp.o' failed make[2]: *** [realsense-ros/realsense2_camera/CMakeFiles/realsense2_camera.dir/src/realsense_node_factory.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1:0: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:53:34: error: ‘filter’ is not a member of ‘rs2’ std::shared_ptr<rs2::filter> _filter; ^~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:53:34: error: ‘filter’ is not a member of ‘rs2’ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:53:40: error: template argument 1 is invalid std::shared_ptr<rs2::filter> _filter; ^ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:56:64: error: ‘filter’ is not a member of ‘rs2’ NamedFilter(std::string name, std::shared_ptr<rs2::filter> filter): ^~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:56:64: error: ‘filter’ is not a member of ‘rs2’ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:56:70: error: template argument 1 is invalid NamedFilter(std::string name, std::shared_ptr<rs2::filter> filter): ^ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h: In member function ‘void realsense2_camera::PipelineSyncer::operator()(rs2::frame) const’: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:66:4: error: ‘invoke’ was not declared in this scope invoke(std::move(f)); ^~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:66:4: note: suggested alternative: In file included from /usr/include/boost/thread/detail/thread.hpp:23:0, from /usr/include/boost/thread/thread_only.hpp:22, from /usr/include/boost/thread/thread.hpp:12, from /usr/include/boost/thread.hpp:13, from /opt/ros/melodic/include/diagnostic_updater/diagnostic_updater.h:48, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:9, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/include/boost/thread/detail/invoke.hpp:131:17: note: ‘boost::detail::invoke’ inline auto invoke(BOOST_THREAD_RV_REF(Fp) f, BOOST_THREAD_RV_REF(Args) ...args) ^~~~~~ In file included from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/t265_realsense_node.h:3:0, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/t265_realsense_node.cpp:1: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/include/base_realsense_node.h:53:34: error: ‘filter’ is not a member of ‘rs2’ std::shared_ptr<rs2::filter> _filter; ^~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/include/base_realsense_node.h:53:34: error: ‘filter’ is not a member of ‘rs2’ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/include/base_realsense_node.h:53:40: error: template argument 1 is invalid std::shared_ptr<rs2::filter> _filter; ^ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/include/base_realsense_node.h:56:64: error: ‘filter’ is not a member of ‘rs2’ NamedFilter(std::string name, std::shared_ptr<rs2::filter> filter): ^~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/include/base_realsense_node.h:56:64: error: ‘filter’ is not a member of ‘rs2’ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/include/base_realsense_node.h:56:70: error: template argument 1 is invalid NamedFilter(std::string name, std::shared_ptr<rs2::filter> filter): ^ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/include/base_realsense_node.h: In member function ‘void realsense2_camera::PipelineSyncer::operator()(rs2::frame) const’: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/include/base_realsense_node.h:66:4: error: ‘invoke’ was not declared in this scope invoke(std::move(f)); ^~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/include/base_realsense_node.h:66:4: note: suggested alternative: In file included from /usr/include/boost/thread/detail/thread.hpp:23:0, from /usr/include/boost/thread/thread_only.hpp:22, from /usr/include/boost/thread/thread.hpp:12, from /usr/include/boost/thread.hpp:13, from /opt/ros/melodic/include/diagnostic_updater/diagnostic_updater.h:48, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/include/base_realsense_node.h:9, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/t265_realsense_node.h:3, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/t265_realsense_node.cpp:1: /usr/include/boost/thread/detail/invoke.hpp:131:17: note: ‘boost::detail::invoke’ inline auto invoke(BOOST_THREAD_RV_REF(Fp) f, BOOST_THREAD_RV_REF(Args) ...args) ^~~~~~ In file included from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/t265_realsense_node.cpp:1:0: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/t265_realsense_node.h: At global scope: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/t265_realsense_node.h:25:18: error: ‘wheel_odometer’ in namespace ‘rs2’ does not name a type rs2::wheel_odometer _wo_snr; ^~~~~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/t265_realsense_node.cpp: In constructor ‘realsense2_camera::T265RealsenseNode::T265RealsenseNode(ros::NodeHandle&, ros::NodeHandle&, rs2::device, const string&)’: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/t265_realsense_node.cpp:10:38: error: class ‘realsense2_camera::T265RealsenseNode’ does not have any field named ‘_wo_snr’ _wo_snr(dev.first<rs2::wheel_odometer>()), ^~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/t265_realsense_node.cpp:10:61: error: ‘wheel_odometer’ is not a member of ‘rs2’ _wo_snr(dev.first<rs2::wheel_odometer>()), ^~~~~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/t265_realsense_node.cpp:10:61: error: ‘wheel_odometer’ is not a member of ‘rs2’ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/t265_realsense_node.cpp:10:77: error: no matching function for call to ‘rs2::device::first<<expression error> >()’ _wo_snr(dev.first<rs2::wheel_odometer>()), ^ In file included from /usr/local/include/librealsense2/hpp/rs_record_playback.hpp:8:0, from /usr/local/include/librealsense2/hpp/rs_context.hpp:8, from /usr/local/include/librealsense2/rs.hpp:9, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/include/../include/realsense_node_factory.h:11, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/t265_realsense_node.h:3, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/t265_realsense_node.cpp:1: /usr/local/include/librealsense2/hpp/rs_device.hpp:52:11: note: candidate: template<class T> T rs2::device::first() const T first() const ^~~~~ /usr/local/include/librealsense2/hpp/rs_device.hpp:52:11: note: template argument deduction/substitution failed: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/t265_realsense_node.cpp:10:77: error: template argument 1 is invalid _wo_snr(dev.first<rs2::wheel_odometer>()), ^ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/t265_realsense_node.cpp: In member function ‘void realsense2_camera::T265RealsenseNode::initializeOdometryInput()’: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/t265_realsense_node.cpp:35:10: error: ‘_wo_snr’ was not declared in this scope if (!_wo_snr.load_wheel_odometery_config(wo_calib)) ^~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/t265_realsense_node.cpp: In member function ‘void realsense2_camera::T265RealsenseNode::odom_in_callback(const ConstPtr&)’: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/t265_realsense_node.cpp:68:5: error: ‘_wo_snr’ was not declared in this scope _wo_snr.send_wheel_odometry(0, 0, velocity); ^~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp: In function ‘std::map<std::__cxx11::basic_string<char>, int> get_enum_method(rs2::options, rs2_option)’: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:212:38: error: ‘rs2::options::options(const rs2::options&)’ is protected within this context if (is_enum_option(sensor, option)) ^ In file included from /usr/local/include/librealsense2/hpp/rs_device.hpp:8:0, from /usr/local/include/librealsense2/hpp/rs_record_playback.hpp:8, from /usr/local/include/librealsense2/hpp/rs_context.hpp:8, from /usr/local/include/librealsense2/rs.hpp:9, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:11, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/local/include/librealsense2/hpp/rs_sensor.hpp:226:8: note: declared protected here options(const options& other) : _options(other._options) {} ^~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:191:6: note: initializing argument 1 of ‘bool is_enum_option(rs2::options, rs2_option)’ bool is_enum_option(rs2::options sensor, rs2_option option) ^~~~~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp: In member function ‘void realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)’: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:277:39: error: ‘rs2::options::options(const rs2::options&)’ is protected within this context if (is_checkbox(sensor, option)) ^ In file included from /usr/local/include/librealsense2/hpp/rs_device.hpp:8:0, from /usr/local/include/librealsense2/hpp/rs_record_playback.hpp:8, from /usr/local/include/librealsense2/hpp/rs_context.hpp:8, from /usr/local/include/librealsense2/rs.hpp:9, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:11, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/local/include/librealsense2/hpp/rs_sensor.hpp:226:8: note: declared protected here options(const options& other) : _options(other._options) {} ^~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:183:6: note: initializing argument 1 of ‘bool is_checkbox(rs2::options, rs2_option)’ bool is_checkbox(rs2::options sensor, rs2_option option) ^~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:286:15: error: ‘rs2::options::options(const rs2::options&)’ is protected within this context [option, sensor](bool new_value) { sensor.set_option(option, new_value); }, ^ In file included from /usr/local/include/librealsense2/hpp/rs_device.hpp:8:0, from /usr/local/include/librealsense2/hpp/rs_record_playback.hpp:8, from /usr/local/include/librealsense2/hpp/rs_context.hpp:8, from /usr/local/include/librealsense2/rs.hpp:9, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:11, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/local/include/librealsense2/hpp/rs_sensor.hpp:226:8: note: declared protected here options(const options& other) : _options(other._options) {} ^~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:287:52: error: use of deleted function ‘realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(bool)>::<lambda>(realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(bool)>&&)’ sensor.get_option_description(option)); ^ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:286:30: note: ‘realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(bool)>::<lambda>(realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(bool)>&&)’ is implicitly deleted because the default definition would be ill-formed: [option, sensor](bool new_value) { sensor.set_option(option, new_value); }, ^ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:286:30: error: ‘rs2::options::options(const rs2::options&)’ is protected within this context In file included from /usr/local/include/librealsense2/hpp/rs_device.hpp:8:0, from /usr/local/include/librealsense2/hpp/rs_record_playback.hpp:8, from /usr/local/include/librealsense2/hpp/rs_context.hpp:8, from /usr/local/include/librealsense2/rs.hpp:9, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:11, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/local/include/librealsense2/hpp/rs_sensor.hpp:226:8: note: declared protected here options(const options& other) : _options(other._options) {} ^~~~~~~ In file included from /usr/include/boost/function/detail/maybe_include.hpp:18:0, from /usr/include/boost/function/detail/function_iterate.hpp:14, from /usr/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:52, from /usr/include/boost/function.hpp:64, from /opt/ros/melodic/include/ros/forwards.h:40, from /opt/ros/melodic/include/ros/common.h:37, from /opt/ros/melodic/include/ros/ros.h:43, from /opt/ros/melodic/include/image_transport/publisher.h:38, from /opt/ros/melodic/include/image_transport/image_transport.h:38, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:8, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/include/boost/function/function_template.hpp:1054:3: note: initializing argument 1 of ‘boost::function<R(T0)>::function(Functor, typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type) [with Functor = realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(bool)>; R = void; T0 = bool; typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type = int]’ function(Functor f ^~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:290:62: error: ‘rs2::options::options(const rs2::options&)’ is protected within this context const auto enum_dict = get_enum_method(sensor, option); ^ In file included from /usr/local/include/librealsense2/hpp/rs_device.hpp:8:0, from /usr/local/include/librealsense2/hpp/rs_record_playback.hpp:8, from /usr/local/include/librealsense2/hpp/rs_context.hpp:8, from /usr/local/include/librealsense2/rs.hpp:9, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:11, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/local/include/librealsense2/hpp/rs_sensor.hpp:226:8: note: declared protected here options(const options& other) : _options(other._options) {} ^~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:209:28: note: initializing argument 1 of ‘std::map<std::__cxx11::basic_string<char>, int> get_enum_method(rs2::options, rs2_option)’ std::map<std::string, int> get_enum_method(rs2::options sensor, rs2_option option) ^~~~~~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:310:45: error: ‘rs2::options::options(const rs2::options&)’ is protected within this context if (is_int_option(sensor, option)) ^ In file included from /usr/local/include/librealsense2/hpp/rs_device.hpp:8:0, from /usr/local/include/librealsense2/hpp/rs_record_playback.hpp:8, from /usr/local/include/librealsense2/hpp/rs_context.hpp:8, from /usr/local/include/librealsense2/rs.hpp:9, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:11, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/local/include/librealsense2/hpp/rs_sensor.hpp:226:8: note: declared protected here options(const options& other) : _options(other._options) {} ^~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:203:6: note: initializing argument 1 of ‘bool is_int_option(rs2::options, rs2_option)’ bool is_int_option(rs2::options sensor, rs2_option option) ^~~~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:314:19: error: ‘rs2::options::options(const rs2::options&)’ is protected within this context [option, sensor](int new_value) { sensor.set_option(option, new_value); }, ^ In file included from /usr/local/include/librealsense2/hpp/rs_device.hpp:8:0, from /usr/local/include/librealsense2/hpp/rs_record_playback.hpp:8, from /usr/local/include/librealsense2/hpp/rs_context.hpp:8, from /usr/local/include/librealsense2/rs.hpp:9, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:11, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/local/include/librealsense2/hpp/rs_sensor.hpp:226:8: note: declared protected here options(const options& other) : _options(other._options) {} ^~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:315:94: error: use of deleted function ‘realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>::<lambda>(realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>&&)’ sensor.get_option_description(option), int(op_range.min), int(op_range.max)); ^ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:314:34: note: ‘realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>::<lambda>(realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>&&)’ is implicitly deleted because the default definition would be ill-formed: [option, sensor](int new_value) { sensor.set_option(option, new_value); }, ^ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:314:34: error: ‘rs2::options::options(const rs2::options&)’ is protected within this context In file included from /usr/local/include/librealsense2/hpp/rs_device.hpp:8:0, from /usr/local/include/librealsense2/hpp/rs_record_playback.hpp:8, from /usr/local/include/librealsense2/hpp/rs_context.hpp:8, from /usr/local/include/librealsense2/rs.hpp:9, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:11, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/local/include/librealsense2/hpp/rs_sensor.hpp:226:8: note: declared protected here options(const options& other) : _options(other._options) {} ^~~~~~~ In file included from /usr/include/boost/function/detail/maybe_include.hpp:18:0, from /usr/include/boost/function/detail/function_iterate.hpp:14, from /usr/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:52, from /usr/include/boost/function.hpp:64, from /opt/ros/melodic/include/ros/forwards.h:40, from /opt/ros/melodic/include/ros/common.h:37, from /opt/ros/melodic/include/ros/ros.h:43, from /opt/ros/melodic/include/image_transport/publisher.h:38, from /opt/ros/melodic/include/image_transport/image_transport.h:38, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:8, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/include/boost/function/function_template.hpp:1054:3: note: initializing argument 1 of ‘boost::function<R(T0)>::function(Functor, typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type) [with Functor = realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>; R = void; T0 = int; typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type = int]’ function(Functor f ^~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:334:23: error: ‘rs2::options::options(const rs2::options&)’ is protected within this context [option, sensor](double new_value) { sensor.set_option(option, new_value); }, ^ In file included from /usr/local/include/librealsense2/hpp/rs_device.hpp:8:0, from /usr/local/include/librealsense2/hpp/rs_record_playback.hpp:8, from /usr/local/include/librealsense2/hpp/rs_context.hpp:8, from /usr/local/include/librealsense2/rs.hpp:9, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:11, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/local/include/librealsense2/hpp/rs_sensor.hpp:226:8: note: declared protected here options(const options& other) : _options(other._options) {} ^~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:335:104: error: use of deleted function ‘realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(double)>::<lambda>(realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(double)>&&)’ sensor.get_option_description(option), double(op_range.min), double(op_range.max)); ^ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:334:38: note: ‘realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(double)>::<lambda>(realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(double)>&&)’ is implicitly deleted because the default definition would be ill-formed: [option, sensor](double new_value) { sensor.set_option(option, new_value); }, ^ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:334:38: error: ‘rs2::options::options(const rs2::options&)’ is protected within this context In file included from /usr/local/include/librealsense2/hpp/rs_device.hpp:8:0, from /usr/local/include/librealsense2/hpp/rs_record_playback.hpp:8, from /usr/local/include/librealsense2/hpp/rs_context.hpp:8, from /usr/local/include/librealsense2/rs.hpp:9, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:11, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/local/include/librealsense2/hpp/rs_sensor.hpp:226:8: note: declared protected here options(const options& other) : _options(other._options) {} ^~~~~~~ In file included from /usr/include/boost/function/detail/maybe_include.hpp:18:0, from /usr/include/boost/function/detail/function_iterate.hpp:14, from /usr/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:52, from /usr/include/boost/function.hpp:64, from /opt/ros/melodic/include/ros/forwards.h:40, from /opt/ros/melodic/include/ros/common.h:37, from /opt/ros/melodic/include/ros/ros.h:43, from /opt/ros/melodic/include/image_transport/publisher.h:38, from /opt/ros/melodic/include/image_transport/image_transport.h:38, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:8, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/include/boost/function/function_template.hpp:1054:3: note: initializing argument 1 of ‘boost::function<R(T0)>::function(Functor, typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type) [with Functor = realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(double)>; R = void; T0 = double; typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type = int]’ function(Functor f ^~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:362:17: error: ‘rs2::options::options(const rs2::options&)’ is protected within this context [option, sensor](int new_value) { sensor.set_option(option, new_value); }, ^ In file included from /usr/local/include/librealsense2/hpp/rs_device.hpp:8:0, from /usr/local/include/librealsense2/hpp/rs_record_playback.hpp:8, from /usr/local/include/librealsense2/hpp/rs_context.hpp:8, from /usr/local/include/librealsense2/rs.hpp:9, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:11, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/local/include/librealsense2/hpp/rs_sensor.hpp:226:8: note: declared protected here options(const options& other) : _options(other._options) {} ^~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:363:65: error: use of deleted function ‘realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>::<lambda>(realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>&&)’ sensor.get_option_description(option), enum_dict); ^ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:362:32: note: ‘realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>::<lambda>(realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>&&)’ is implicitly deleted because the default definition would be ill-formed: [option, sensor](int new_value) { sensor.set_option(option, new_value); }, ^ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:362:32: error: ‘rs2::options::options(const rs2::options&)’ is protected within this context In file included from /usr/local/include/librealsense2/hpp/rs_device.hpp:8:0, from /usr/local/include/librealsense2/hpp/rs_record_playback.hpp:8, from /usr/local/include/librealsense2/hpp/rs_context.hpp:8, from /usr/local/include/librealsense2/rs.hpp:9, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:11, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/local/include/librealsense2/hpp/rs_sensor.hpp:226:8: note: declared protected here options(const options& other) : _options(other._options) {} ^~~~~~~ In file included from /usr/include/boost/function/detail/maybe_include.hpp:18:0, from /usr/include/boost/function/detail/function_iterate.hpp:14, from /usr/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:52, from /usr/include/boost/function.hpp:64, from /opt/ros/melodic/include/ros/forwards.h:40, from /opt/ros/melodic/include/ros/common.h:37, from /opt/ros/melodic/include/ros/ros.h:43, from /opt/ros/melodic/include/image_transport/publisher.h:38, from /opt/ros/melodic/include/image_transport/image_transport.h:38, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:8, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/include/boost/function/function_template.hpp:1054:3: note: initializing argument 1 of ‘boost::function<R(T0)>::function(Functor, typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type) [with Functor = realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>; R = void; T0 = int; typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type = int]’ function(Functor f ^~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp: In member function ‘virtual void realsense2_camera::BaseRealSenseNode::registerDynamicReconfigCb(ros::NodeHandle&)’: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:378:54: error: ‘rs2::options::options(const rs2::options&)’ is protected within this context registerDynamicOption(nh, sensor, module_name); ^ In file included from /usr/local/include/librealsense2/hpp/rs_device.hpp:8:0, from /usr/local/include/librealsense2/hpp/rs_record_playback.hpp:8, from /usr/local/include/librealsense2/hpp/rs_context.hpp:8, from /usr/local/include/librealsense2/rs.hpp:9, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:11, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/local/include/librealsense2/hpp/rs_sensor.hpp:226:8: note: declared protected here options(const options& other) : _options(other._options) {} ^~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:265:6: note: initializing argument 2 of ‘void realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)’ void BaseRealSenseNode::registerDynamicOption(ros::NodeHandle& nh, rs2::options sensor, std::string& module_name) ^~~~~~~~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:384:40: error: invalid type argument of unary ‘*’ (have ‘int’) auto sensor = *(nfilter._filter); ^ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp: In member function ‘void realsense2_camera::BaseRealSenseNode::publishAlignedDepthToOthers(rs2::frameset, const ros::Time&)’: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:765:46: error: ‘class rs2::frameset’ has no member named ‘apply_filter’ rs2::frameset processed = frames.apply_filter(*align); ^~~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp: In member function ‘void realsense2_camera::BaseRealSenseNode::setupFilters()’: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:894:94: error: no matching function for call to ‘realsense2_camera::NamedFilter::NamedFilter(const char [8], std::shared_ptr<rs2::spatial_filter>)’ _filters.push_back(NamedFilter("spatial", std::make_shared<rs2::spatial_filter>())); ^ In file included from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1:0: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:56:13: note: candidate: realsense2_camera::NamedFilter::NamedFilter(std::__cxx11::string, int) NamedFilter(std::string name, std::shared_ptr<rs2::filter> filter): ^~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:56:13: note: no known conversion for argument 2 from ‘std::shared_ptr<rs2::spatial_filter>’ to ‘int’ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate: realsense2_camera::NamedFilter::NamedFilter(const realsense2_camera::NamedFilter&) class NamedFilter ^~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate expects 1 argument, 2 provided /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate: realsense2_camera::NamedFilter::NamedFilter(realsense2_camera::NamedFilter&&) /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate expects 1 argument, 2 provided /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:899:96: error: no matching function for call to ‘realsense2_camera::NamedFilter::NamedFilter(const char [9], std::shared_ptr<rs2::temporal_filter>)’ _filters.push_back(NamedFilter("temporal", std::make_shared<rs2::temporal_filter>())); ^ In file included from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1:0: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:56:13: note: candidate: realsense2_camera::NamedFilter::NamedFilter(std::__cxx11::string, int) NamedFilter(std::string name, std::shared_ptr<rs2::filter> filter): ^~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:56:13: note: no known conversion for argument 2 from ‘std::shared_ptr<rs2::temporal_filter>’ to ‘int’ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate: realsense2_camera::NamedFilter::NamedFilter(const realsense2_camera::NamedFilter&) class NamedFilter ^~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate expects 1 argument, 2 provided /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate: realsense2_camera::NamedFilter::NamedFilter(realsense2_camera::NamedFilter&&) /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate expects 1 argument, 2 provided /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:904:104: error: no matching function for call to ‘realsense2_camera::NamedFilter::NamedFilter(const char [13], std::shared_ptr<rs2::hole_filling_filter>)’ _filters.push_back(NamedFilter("hole_filling", std::make_shared<rs2::hole_filling_filter>())); ^ In file included from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1:0: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:56:13: note: candidate: realsense2_camera::NamedFilter::NamedFilter(std::__cxx11::string, int) NamedFilter(std::string name, std::shared_ptr<rs2::filter> filter): ^~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:56:13: note: no known conversion for argument 2 from ‘std::shared_ptr<rs2::hole_filling_filter>’ to ‘int’ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate: realsense2_camera::NamedFilter::NamedFilter(const realsense2_camera::NamedFilter&) class NamedFilter ^~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate expects 1 argument, 2 provided /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate: realsense2_camera::NamedFilter::NamedFilter(realsense2_camera::NamedFilter&&) /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate expects 1 argument, 2 provided /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:923:118: error: no matching function for call to ‘realsense2_camera::NamedFilter::NamedFilter(const char [16], std::shared_ptr<rs2::disparity_transform>)’ _filters.insert(_filters.begin(), NamedFilter("disparity_start", std::make_shared<rs2::disparity_transform>())); ^ In file included from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1:0: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:56:13: note: candidate: realsense2_camera::NamedFilter::NamedFilter(std::__cxx11::string, int) NamedFilter(std::string name, std::shared_ptr<rs2::filter> filter): ^~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:56:13: note: no known conversion for argument 2 from ‘std::shared_ptr<rs2::disparity_transform>’ to ‘int’ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate: realsense2_camera::NamedFilter::NamedFilter(const realsense2_camera::NamedFilter&) class NamedFilter ^~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate expects 1 argument, 2 provided /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate: realsense2_camera::NamedFilter::NamedFilter(realsense2_camera::NamedFilter&&) /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate expects 1 argument, 2 provided /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:924:106: error: no matching function for call to ‘realsense2_camera::NamedFilter::NamedFilter(const char [14], std::shared_ptr<rs2::disparity_transform>)’ _filters.push_back(NamedFilter("disparity_end", std::make_shared<rs2::disparity_transform>(false))); ^ In file included from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1:0: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:56:13: note: candidate: realsense2_camera::NamedFilter::NamedFilter(std::__cxx11::string, int) NamedFilter(std::string name, std::shared_ptr<rs2::filter> filter): ^~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:56:13: note: no known conversion for argument 2 from ‘std::shared_ptr<rs2::disparity_transform>’ to ‘int’ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate: realsense2_camera::NamedFilter::NamedFilter(const realsense2_camera::NamedFilter&) class NamedFilter ^~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate expects 1 argument, 2 provided /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate: realsense2_camera::NamedFilter::NamedFilter(realsense2_camera::NamedFilter&&) /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate expects 1 argument, 2 provided /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:930:108: error: no matching function for call to ‘realsense2_camera::NamedFilter::NamedFilter(const char [11], std::shared_ptr<rs2::decimation_filter>)’ _filters.insert(_filters.begin(),NamedFilter("decimation", std::make_shared<rs2::decimation_filter>())); ^ In file included from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1:0: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:56:13: note: candidate: realsense2_camera::NamedFilter::NamedFilter(std::__cxx11::string, int) NamedFilter(std::string name, std::shared_ptr<rs2::filter> filter): ^~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:56:13: note: no known conversion for argument 2 from ‘std::shared_ptr<rs2::decimation_filter>’ to ‘int’ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate: realsense2_camera::NamedFilter::NamedFilter(const realsense2_camera::NamedFilter&) class NamedFilter ^~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate expects 1 argument, 2 provided /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate: realsense2_camera::NamedFilter::NamedFilter(realsense2_camera::NamedFilter&&) /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate expects 1 argument, 2 provided /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:935:87: error: no matching function for call to ‘realsense2_camera::NamedFilter::NamedFilter(const char [10], std::shared_ptr<rs2::colorizer>)’ _filters.push_back(NamedFilter("colorizer", std::make_shared<rs2::colorizer>())); ^ In file included from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1:0: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:56:13: note: candidate: realsense2_camera::NamedFilter::NamedFilter(std::__cxx11::string, int) NamedFilter(std::string name, std::shared_ptr<rs2::filter> filter): ^~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:56:13: note: no known conversion for argument 2 from ‘std::shared_ptr<rs2::colorizer>’ to ‘int’ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate: realsense2_camera::NamedFilter::NamedFilter(const realsense2_camera::NamedFilter&) class NamedFilter ^~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate expects 1 argument, 2 provided /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate: realsense2_camera::NamedFilter::NamedFilter(realsense2_camera::NamedFilter&&) /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate expects 1 argument, 2 provided /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:949:142: error: no matching function for call to ‘realsense2_camera::NamedFilter::NamedFilter(const char [11], std::shared_ptr<rs2::pointcloud>)’ _filters.push_back(NamedFilter("pointcloud", std::make_shared<rs2::pointcloud>(_pointcloud_texture.first, _pointcloud_texture.second))); ^ In file included from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1:0: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:56:13: note: candidate: realsense2_camera::NamedFilter::NamedFilter(std::__cxx11::string, int) NamedFilter(std::string name, std::shared_ptr<rs2::filter> filter): ^~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:56:13: note: no known conversion for argument 2 from ‘std::shared_ptr<rs2::pointcloud>’ to ‘int’ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate: realsense2_camera::NamedFilter::NamedFilter(const realsense2_camera::NamedFilter&) class NamedFilter ^~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate expects 1 argument, 2 provided /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate: realsense2_camera::NamedFilter::NamedFilter(realsense2_camera::NamedFilter&&) /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate expects 1 argument, 2 provided /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp: In member function ‘void realsense2_camera::BaseRealSenseNode::frame_callback(rs2::frame)’: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1403:46: error: base operand of ‘->’ is not a pointer frameset = filter_it->_filter->process(frameset); ^~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp: In member function ‘void realsense2_camera::BaseRealSenseNode::publishPointCloud(rs2::points, const ros::Time&, const rs2::frameset&)’: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1845:78: error: base operand of ‘->’ is not a pointer rs2_stream texture_source_id = static_cast<rs2_stream>(pc_filter->_filter->get_option(rs2_option::RS2_OPTION_STREAM_FILTER)); ^~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1845:103: error: ‘RS2_OPTION_STREAM_FILTER’ is not a member of ‘rs2_option’ rs2_stream texture_source_id = static_cast<rs2_stream>(pc_filter->_filter->get_option(rs2_option::RS2_OPTION_STREAM_FILTER)); ^~~~~~~~~~~~~~~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1854:29: error: ‘find_if’ was not declared in this scope texture_frame_itr = find_if(frameset.begin(), frameset.end(), [&texture_source_id, &available_formats] (rs2::frame f) ^~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1854:29: note: suggested alternatives: In file included from /usr/include/c++/7/algorithm:62:0, from /usr/include/boost/smart_ptr/shared_ptr.hpp:39, from /usr/include/boost/shared_ptr.hpp:17, from /opt/ros/melodic/include/class_loader/class_loader.hpp:36, from /opt/ros/melodic/include/pluginlib/./class_list_macros.hpp:40, from /opt/ros/melodic/include/pluginlib/class_list_macros.h:35, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/include/c++/7/bits/stl_algo.h:3923:5: note: ‘std::find_if’ find_if(_InputIterator __first, _InputIterator __last, ^~~~~~~ In file included from /usr/include/boost/mpl/find.hpp:17:0, from /usr/include/boost/mpl/aux_/contains_impl.hpp:20, from /usr/include/boost/mpl/contains.hpp:20, from /usr/include/boost/math/policies/policy.hpp:10, from /usr/include/boost/math/policies/error_handling.hpp:21, from /usr/include/boost/math/special_functions/round.hpp:14, from /opt/ros/melodic/include/ros/time.h:58, from /opt/ros/melodic/include/ros/console.h:39, from /opt/ros/melodic/include/nodelet/nodelet.h:39, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:7, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/include/boost/mpl/find_if.hpp:32:8: note: ‘boost::mpl::find_if’ struct find_if ^~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1860:65: error: base operand of ‘->’ is not a pointer std::string texture_source_name = pc_filter->_filter->get_option_value_description(rs2_option::RS2_OPTION_STREAM_FILTER, static_cast<float>(texture_source_id)); ^~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1860:108: error: ‘RS2_OPTION_STREAM_FILTER’ is not a member of ‘rs2_option’ std::string texture_source_name = pc_filter->_filter->get_option_value_description(rs2_option::RS2_OPTION_STREAM_FILTER, static_cast<float>(texture_source_id)); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/boost/function/detail/maybe_include.hpp:18:0, from /usr/include/boost/function/detail/function_iterate.hpp:14, from /usr/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:52, from /usr/include/boost/function.hpp:64, from /opt/ros/melodic/include/ros/forwards.h:40, from /opt/ros/melodic/include/ros/common.h:37, from /opt/ros/melodic/include/ros/ros.h:43, from /opt/ros/melodic/include/image_transport/publisher.h:38, from /opt/ros/melodic/include/image_transport/image_transport.h:38, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:8, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/include/boost/function/function_template.hpp: In instantiation of ‘boost::function<R(T0)>::function(Functor, typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type) [with Functor = realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(bool)>; R = void; T0 = bool; typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type = int]’: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:287:52: required from here /usr/include/boost/function/function_template.hpp:1061:16: error: use of deleted function ‘realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(bool)>::<lambda>(const realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(bool)>&)’ base_type(f) ^ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:286:30: note: ‘realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(bool)>::<lambda>(const realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(bool)>&)’ is implicitly deleted because the default definition would be ill-formed: [option, sensor](bool new_value) { sensor.set_option(option, new_value); }, ^ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:286:30: error: ‘rs2::options::options(const rs2::options&)’ is protected within this context In file included from /usr/local/include/librealsense2/hpp/rs_device.hpp:8:0, from /usr/local/include/librealsense2/hpp/rs_record_playback.hpp:8, from /usr/local/include/librealsense2/hpp/rs_context.hpp:8, from /usr/local/include/librealsense2/rs.hpp:9, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:11, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/local/include/librealsense2/hpp/rs_sensor.hpp:226:8: note: declared protected here options(const options& other) : _options(other._options) {} ^~~~~~~ In file included from /usr/include/boost/config.hpp:61:0, from /usr/include/boost/bind/bind.hpp:24, from /usr/include/boost/bind.hpp:22, from /opt/ros/melodic/include/class_loader/class_loader.hpp:35, from /opt/ros/melodic/include/pluginlib/./class_list_macros.hpp:40, from /opt/ros/melodic/include/pluginlib/class_list_macros.h:35, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/include/boost/function/function_template.hpp:707:5: note: initializing argument 1 of ‘boost::function1<R, T1>::function1(Functor, typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type) [with Functor = realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(bool)>; R = void; T0 = bool; typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type = int]’ BOOST_FUNCTION_FUNCTION(Functor BOOST_FUNCTION_TARGET_FIX(const &) f ^ In file included from /usr/include/boost/function/detail/maybe_include.hpp:18:0, from /usr/include/boost/function/detail/function_iterate.hpp:14, from /usr/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:52, from /usr/include/boost/function.hpp:64, from /opt/ros/melodic/include/ros/forwards.h:40, from /opt/ros/melodic/include/ros/common.h:37, from /opt/ros/melodic/include/ros/ros.h:43, from /opt/ros/melodic/include/image_transport/publisher.h:38, from /opt/ros/melodic/include/image_transport/image_transport.h:38, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:8, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/include/boost/function/function_template.hpp: In instantiation of ‘boost::function<R(T0)>::function(Functor, typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type) [with Functor = realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>; R = void; T0 = int; typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type = int]’: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:315:94: required from here /usr/include/boost/function/function_template.hpp:1061:16: error: use of deleted function ‘realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>::<lambda>(const realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>&)’ base_type(f) ^ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:314:34: note: ‘realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>::<lambda>(const realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>&)’ is implicitly deleted because the default definition would be ill-formed: [option, sensor](int new_value) { sensor.set_option(option, new_value); }, ^ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:314:34: error: ‘rs2::options::options(const rs2::options&)’ is protected within this context In file included from /usr/local/include/librealsense2/hpp/rs_device.hpp:8:0, from /usr/local/include/librealsense2/hpp/rs_record_playback.hpp:8, from /usr/local/include/librealsense2/hpp/rs_context.hpp:8, from /usr/local/include/librealsense2/rs.hpp:9, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:11, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/local/include/librealsense2/hpp/rs_sensor.hpp:226:8: note: declared protected here options(const options& other) : _options(other._options) {} ^~~~~~~ In file included from /usr/include/boost/config.hpp:61:0, from /usr/include/boost/bind/bind.hpp:24, from /usr/include/boost/bind.hpp:22, from /opt/ros/melodic/include/class_loader/class_loader.hpp:35, from /opt/ros/melodic/include/pluginlib/./class_list_macros.hpp:40, from /opt/ros/melodic/include/pluginlib/class_list_macros.h:35, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/include/boost/function/function_template.hpp:707:5: note: initializing argument 1 of ‘boost::function1<R, T1>::function1(Functor, typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type) [with Functor = realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>; R = void; T0 = int; typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type = int]’ BOOST_FUNCTION_FUNCTION(Functor BOOST_FUNCTION_TARGET_FIX(const &) f ^ In file included from /usr/include/boost/function/detail/maybe_include.hpp:18:0, from /usr/include/boost/function/detail/function_iterate.hpp:14, from /usr/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:52, from /usr/include/boost/function.hpp:64, from /opt/ros/melodic/include/ros/forwards.h:40, from /opt/ros/melodic/include/ros/common.h:37, from /opt/ros/melodic/include/ros/ros.h:43, from /opt/ros/melodic/include/image_transport/publisher.h:38, from /opt/ros/melodic/include/image_transport/image_transport.h:38, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:8, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/include/boost/function/function_template.hpp: In instantiation of ‘boost::function<R(T0)>::function(Functor, typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type) [with Functor = realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(double)>; R = void; T0 = double; typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type = int]’: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:335:104: required from here /usr/include/boost/function/function_template.hpp:1061:16: error: use of deleted function ‘realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(double)>::<lambda>(const realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(double)>&)’ base_type(f) ^ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:334:38: note: ‘realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(double)>::<lambda>(const realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(double)>&)’ is implicitly deleted because the default definition would be ill-formed: [option, sensor](double new_value) { sensor.set_option(option, new_value); }, ^ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:334:38: error: ‘rs2::options::options(const rs2::options&)’ is protected within this context In file included from /usr/local/include/librealsense2/hpp/rs_device.hpp:8:0, from /usr/local/include/librealsense2/hpp/rs_record_playback.hpp:8, from /usr/local/include/librealsense2/hpp/rs_context.hpp:8, from /usr/local/include/librealsense2/rs.hpp:9, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:11, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/local/include/librealsense2/hpp/rs_sensor.hpp:226:8: note: declared protected here options(const options& other) : _options(other._options) {} ^~~~~~~ In file included from /usr/include/boost/config.hpp:61:0, from /usr/include/boost/bind/bind.hpp:24, from /usr/include/boost/bind.hpp:22, from /opt/ros/melodic/include/class_loader/class_loader.hpp:35, from /opt/ros/melodic/include/pluginlib/./class_list_macros.hpp:40, from /opt/ros/melodic/include/pluginlib/class_list_macros.h:35, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/include/boost/function/function_template.hpp:707:5: note: initializing argument 1 of ‘boost::function1<R, T1>::function1(Functor, typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type) [with Functor = realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(double)>; R = void; T0 = double; typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type = int]’ BOOST_FUNCTION_FUNCTION(Functor BOOST_FUNCTION_TARGET_FIX(const &) f ^ In file included from /usr/include/boost/function/detail/maybe_include.hpp:18:0, from /usr/include/boost/function/detail/function_iterate.hpp:14, from /usr/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:52, from /usr/include/boost/function.hpp:64, from /opt/ros/melodic/include/ros/forwards.h:40, from /opt/ros/melodic/include/ros/common.h:37, from /opt/ros/melodic/include/ros/ros.h:43, from /opt/ros/melodic/include/image_transport/publisher.h:38, from /opt/ros/melodic/include/image_transport/image_transport.h:38, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:8, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/include/boost/function/function_template.hpp: In instantiation of ‘boost::function<R(T0)>::function(Functor, typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type) [with Functor = realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>; R = void; T0 = int; typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type = int]’: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:363:65: required from here /usr/include/boost/function/function_template.hpp:1061:16: error: use of deleted function ‘realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>::<lambda>(const realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>&)’ base_type(f) ^ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:362:32: note: ‘realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>::<lambda>(const realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>&)’ is implicitly deleted because the default definition would be ill-formed: [option, sensor](int new_value) { sensor.set_option(option, new_value); }, ^ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:362:32: error: ‘rs2::options::options(const rs2::options&)’ is protected within this context In file included from /usr/local/include/librealsense2/hpp/rs_device.hpp:8:0, from /usr/local/include/librealsense2/hpp/rs_record_playback.hpp:8, from /usr/local/include/librealsense2/hpp/rs_context.hpp:8, from /usr/local/include/librealsense2/rs.hpp:9, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:11, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/local/include/librealsense2/hpp/rs_sensor.hpp:226:8: note: declared protected here options(const options& other) : _options(other._options) {} ^~~~~~~ In file included from /usr/include/boost/config.hpp:61:0, from /usr/include/boost/bind/bind.hpp:24, from /usr/include/boost/bind.hpp:22, from /opt/ros/melodic/include/class_loader/class_loader.hpp:35, from /opt/ros/melodic/include/pluginlib/./class_list_macros.hpp:40, from /opt/ros/melodic/include/pluginlib/class_list_macros.h:35, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/include/boost/function/function_template.hpp:707:5: note: initializing argument 1 of ‘boost::function1<R, T1>::function1(Functor, typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type) [with Functor = realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>; R = void; T0 = int; typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type = int]’ BOOST_FUNCTION_FUNCTION(Functor BOOST_FUNCTION_TARGET_FIX(const &) f ^ realsense-ros/realsense2_camera/CMakeFiles/realsense2_camera.dir/build.make:110: recipe for target 'realsense-ros/realsense2_camera/CMakeFiles/realsense2_camera.dir/src/t265_realsense_node.cpp.o' failed make[2]: *** [realsense-ros/realsense2_camera/CMakeFiles/realsense2_camera.dir/src/t265_realsense_node.cpp.o] Error 1 In file included from /usr/include/aarch64-linux-gnu/c++/7/bits/c++allocator.h:33:0, from /usr/include/c++/7/bits/allocator.h:46, from /usr/include/c++/7/memory:63, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from /opt/ros/melodic/include/class_loader/class_loader.hpp:35, from /opt/ros/melodic/include/pluginlib/./class_list_macros.hpp:40, from /opt/ros/melodic/include/pluginlib/class_list_macros.h:35, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/include/c++/7/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = rs2::pointcloud; _Args = {rs2_stream&, int&}; _Tp = rs2::pointcloud]’: /usr/include/c++/7/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = rs2::pointcloud; _Args = {rs2_stream&, int&}; _Tp = rs2::pointcloud; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<rs2::pointcloud>]’ /usr/include/c++/7/bits/shared_ptr_base.h:526:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {rs2_stream&, int&}; _Tp = rs2::pointcloud; _Alloc = std::allocator<rs2::pointcloud>; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’ /usr/include/c++/7/bits/shared_ptr_base.h:637:4: required from ‘std::__shared_count<_Lp>::__shared_count(std::_Sp_make_shared_tag, _Tp*, const _Alloc&, _Args&& ...) [with _Tp = rs2::pointcloud; _Alloc = std::allocator<rs2::pointcloud>; _Args = {rs2_stream&, int&}; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’ /usr/include/c++/7/bits/shared_ptr_base.h:1295:35: required from ‘std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<rs2::pointcloud>; _Args = {rs2_stream&, int&}; _Tp = rs2::pointcloud; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’ /usr/include/c++/7/bits/shared_ptr.h:344:64: required from ‘std::shared_ptr<_Tp>::shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<rs2::pointcloud>; _Args = {rs2_stream&, int&}; _Tp = rs2::pointcloud]’ /usr/include/c++/7/bits/shared_ptr.h:690:14: required from ‘std::shared_ptr<_Tp> std::allocate_shared(const _Alloc&, _Args&& ...) [with _Tp = rs2::pointcloud; _Alloc = std::allocator<rs2::pointcloud>; _Args = {rs2_stream&, int&}]’ /usr/include/c++/7/bits/shared_ptr.h:706:39: required from ‘std::shared_ptr<_Tp> std::make_shared(_Args&& ...) [with _Tp = rs2::pointcloud; _Args = {rs2_stream&, int&}]’ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:949:141: required from here /usr/include/c++/7/ext/new_allocator.h:136:4: error: no matching function for call to ‘rs2::pointcloud::pointcloud(rs2_stream&, int&)’ { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/librealsense2/hpp/rs_context.hpp:9:0, from /usr/local/include/librealsense2/rs.hpp:9, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:11, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/local/include/librealsense2/hpp/rs_processing.hpp:207:9: note: candidate: rs2::pointcloud::pointcloud() pointcloud() : _queue(1) ^~~~~~~~~~ /usr/local/include/librealsense2/hpp/rs_processing.hpp:207:9: note: candidate expects 0 arguments, 2 provided /usr/local/include/librealsense2/hpp/rs_processing.hpp:204:11: note: candidate: rs2::pointcloud::pointcloud(const rs2::pointcloud&) class pointcloud : public options ^~~~~~~~~~ /usr/local/include/librealsense2/hpp/rs_processing.hpp:204:11: note: candidate expects 1 argument, 2 provided /usr/local/include/librealsense2/hpp/rs_processing.hpp:204:11: note: candidate: rs2::pointcloud::pointcloud(rs2::pointcloud&&) /usr/local/include/librealsense2/hpp/rs_processing.hpp:204:11: note: candidate expects 1 argument, 2 provided In file included from /usr/include/boost/config.hpp:61:0, from /usr/include/boost/bind/bind.hpp:24, from /usr/include/boost/bind.hpp:22, from /opt/ros/melodic/include/class_loader/class_loader.hpp:35, from /opt/ros/melodic/include/pluginlib/./class_list_macros.hpp:40, from /opt/ros/melodic/include/pluginlib/class_list_macros.h:35, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/include/boost/function/function_template.hpp: At global scope: /usr/include/boost/function/function_template.hpp:707:5: error: ‘boost::function1<R, T1>::function1(Functor, typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type) [with Functor = realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(bool)>; R = void; T0 = bool; typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type = int]’, declared using local type ‘realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(bool)>’, is used but never defined [-fpermissive] BOOST_FUNCTION_FUNCTION(Functor BOOST_FUNCTION_TARGET_FIX(const &) f ^ /usr/include/boost/function/function_template.hpp:707:5: error: ‘boost::function1<R, T1>::function1(Functor, typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type) [with Functor = realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>; R = void; T0 = int; typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type = int]’, declared using local type ‘realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>’, is used but never defined [-fpermissive] /usr/include/boost/function/function_template.hpp:707:5: error: ‘boost::function1<R, T1>::function1(Functor, typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type) [with Functor = realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(double)>; R = void; T0 = double; typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type = int]’, declared using local type ‘realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(double)>’, is used but never defined [-fpermissive] /usr/include/boost/function/function_template.hpp:707:5: error: ‘boost::function1<R, T1>::function1(Functor, typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type) [with Functor = realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>; R = void; T0 = int; typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type = int]’, declared using local type ‘realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>’, is used but never defined [-fpermissive] realsense-ros/realsense2_camera/CMakeFiles/realsense2_camera.dir/build.make:86: recipe for target 'realsense-ros/realsense2_camera/CMakeFiles/realsense2_camera.dir/src/base_realsense_node.cpp.o' failed make[2]: *** [realsense-ros/realsense2_camera/CMakeFiles/realsense2_camera.dir/src/base_realsense_node.cpp.o] Error 1 CMakeFiles/Makefile2:2663: recipe for target 'realsense-ros/realsense2_camera/CMakeFiles/realsense2_camera.dir/all' failed make[1]: *** [realsense-ros/realsense2_camera/CMakeFiles/realsense2_camera.dir/all] Error 2 Makefile:140: recipe for target 'all' failed make: *** [all] Error 2 Invoking "make -j4 -l4" failed
The text was updated successfully, but these errors were encountered:
It's hard to tell from your error log which version of L4T you have installed, version of librealsense, and which realsense-ros version you are trying to install. The three are all have dependencies on one another.
Jetson nano with Ubuntu 18.04 +ROS melodic, interface with D435 camera
Error while trying to use the ./installRealSenseROS.sh ~/catkin_ws
[ 95%] Built target fake_dynamic_reconfigure_server In file included from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/realsense_node_factory.cpp:5:0: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:53:34: error: ‘filter’ is not a member of ‘rs2’ std::shared_ptr<rs2::filter> _filter; ^~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:53:34: error: ‘filter’ is not a member of ‘rs2’ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:53:40: error: template argument 1 is invalid std::shared_ptr<rs2::filter> _filter; ^ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:56:64: error: ‘filter’ is not a member of ‘rs2’ NamedFilter(std::string name, std::shared_ptr<rs2::filter> filter): ^~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:56:64: error: ‘filter’ is not a member of ‘rs2’ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:56:70: error: template argument 1 is invalid NamedFilter(std::string name, std::shared_ptr<rs2::filter> filter): ^ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h: In member function ‘void realsense2_camera::PipelineSyncer::operator()(rs2::frame) const’: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:66:4: error: ‘invoke’ was not declared in this scope invoke(std::move(f)); ^~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:66:4: note: suggested alternative: In file included from /usr/include/boost/thread/detail/thread.hpp:23:0, from /usr/include/boost/thread/thread_only.hpp:22, from /usr/include/boost/thread/thread.hpp:12, from /usr/include/boost/thread.hpp:13, from /opt/ros/melodic/include/diagnostic_updater/diagnostic_updater.h:48, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:9, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/realsense_node_factory.cpp:5: /usr/include/boost/thread/detail/invoke.hpp:131:17: note: ‘boost::detail::invoke’ inline auto invoke(BOOST_THREAD_RV_REF(Fp) f, BOOST_THREAD_RV_REF(Args) ...args) ^~~~~~ In file included from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/realsense_node_factory.cpp:6:0: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/t265_realsense_node.h: At global scope: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/t265_realsense_node.h:25:18: error: ‘wheel_odometer’ in namespace ‘rs2’ does not name a type rs2::wheel_odometer _wo_snr; ^~~~~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/realsense_node_factory.cpp: In member function ‘void realsense2_camera::RealSenseNodeFactory::getDevice(rs2::device_list)’: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/realsense_node_factory.cpp:83:8: error: ‘class rs2::context’ has no member named ‘unload_tracking_module’ _ctx.unload_tracking_module(); ^~~~~~~~~~~~~~~~~~~~~~ realsense-ros/realsense2_camera/CMakeFiles/realsense2_camera.dir/build.make:62: recipe for target 'realsense-ros/realsense2_camera/CMakeFiles/realsense2_camera.dir/src/realsense_node_factory.cpp.o' failed make[2]: *** [realsense-ros/realsense2_camera/CMakeFiles/realsense2_camera.dir/src/realsense_node_factory.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1:0: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:53:34: error: ‘filter’ is not a member of ‘rs2’ std::shared_ptr<rs2::filter> _filter; ^~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:53:34: error: ‘filter’ is not a member of ‘rs2’ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:53:40: error: template argument 1 is invalid std::shared_ptr<rs2::filter> _filter; ^ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:56:64: error: ‘filter’ is not a member of ‘rs2’ NamedFilter(std::string name, std::shared_ptr<rs2::filter> filter): ^~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:56:64: error: ‘filter’ is not a member of ‘rs2’ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:56:70: error: template argument 1 is invalid NamedFilter(std::string name, std::shared_ptr<rs2::filter> filter): ^ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h: In member function ‘void realsense2_camera::PipelineSyncer::operator()(rs2::frame) const’: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:66:4: error: ‘invoke’ was not declared in this scope invoke(std::move(f)); ^~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:66:4: note: suggested alternative: In file included from /usr/include/boost/thread/detail/thread.hpp:23:0, from /usr/include/boost/thread/thread_only.hpp:22, from /usr/include/boost/thread/thread.hpp:12, from /usr/include/boost/thread.hpp:13, from /opt/ros/melodic/include/diagnostic_updater/diagnostic_updater.h:48, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:9, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/include/boost/thread/detail/invoke.hpp:131:17: note: ‘boost::detail::invoke’ inline auto invoke(BOOST_THREAD_RV_REF(Fp) f, BOOST_THREAD_RV_REF(Args) ...args) ^~~~~~ In file included from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/t265_realsense_node.h:3:0, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/t265_realsense_node.cpp:1: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/include/base_realsense_node.h:53:34: error: ‘filter’ is not a member of ‘rs2’ std::shared_ptr<rs2::filter> _filter; ^~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/include/base_realsense_node.h:53:34: error: ‘filter’ is not a member of ‘rs2’ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/include/base_realsense_node.h:53:40: error: template argument 1 is invalid std::shared_ptr<rs2::filter> _filter; ^ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/include/base_realsense_node.h:56:64: error: ‘filter’ is not a member of ‘rs2’ NamedFilter(std::string name, std::shared_ptr<rs2::filter> filter): ^~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/include/base_realsense_node.h:56:64: error: ‘filter’ is not a member of ‘rs2’ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/include/base_realsense_node.h:56:70: error: template argument 1 is invalid NamedFilter(std::string name, std::shared_ptr<rs2::filter> filter): ^ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/include/base_realsense_node.h: In member function ‘void realsense2_camera::PipelineSyncer::operator()(rs2::frame) const’: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/include/base_realsense_node.h:66:4: error: ‘invoke’ was not declared in this scope invoke(std::move(f)); ^~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/include/base_realsense_node.h:66:4: note: suggested alternative: In file included from /usr/include/boost/thread/detail/thread.hpp:23:0, from /usr/include/boost/thread/thread_only.hpp:22, from /usr/include/boost/thread/thread.hpp:12, from /usr/include/boost/thread.hpp:13, from /opt/ros/melodic/include/diagnostic_updater/diagnostic_updater.h:48, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/include/base_realsense_node.h:9, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/t265_realsense_node.h:3, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/t265_realsense_node.cpp:1: /usr/include/boost/thread/detail/invoke.hpp:131:17: note: ‘boost::detail::invoke’ inline auto invoke(BOOST_THREAD_RV_REF(Fp) f, BOOST_THREAD_RV_REF(Args) ...args) ^~~~~~ In file included from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/t265_realsense_node.cpp:1:0: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/t265_realsense_node.h: At global scope: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/t265_realsense_node.h:25:18: error: ‘wheel_odometer’ in namespace ‘rs2’ does not name a type rs2::wheel_odometer _wo_snr; ^~~~~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/t265_realsense_node.cpp: In constructor ‘realsense2_camera::T265RealsenseNode::T265RealsenseNode(ros::NodeHandle&, ros::NodeHandle&, rs2::device, const string&)’: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/t265_realsense_node.cpp:10:38: error: class ‘realsense2_camera::T265RealsenseNode’ does not have any field named ‘_wo_snr’ _wo_snr(dev.first<rs2::wheel_odometer>()), ^~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/t265_realsense_node.cpp:10:61: error: ‘wheel_odometer’ is not a member of ‘rs2’ _wo_snr(dev.first<rs2::wheel_odometer>()), ^~~~~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/t265_realsense_node.cpp:10:61: error: ‘wheel_odometer’ is not a member of ‘rs2’ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/t265_realsense_node.cpp:10:77: error: no matching function for call to ‘rs2::device::first<<expression error> >()’ _wo_snr(dev.first<rs2::wheel_odometer>()), ^ In file included from /usr/local/include/librealsense2/hpp/rs_record_playback.hpp:8:0, from /usr/local/include/librealsense2/hpp/rs_context.hpp:8, from /usr/local/include/librealsense2/rs.hpp:9, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/include/../include/realsense_node_factory.h:11, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/t265_realsense_node.h:3, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/t265_realsense_node.cpp:1: /usr/local/include/librealsense2/hpp/rs_device.hpp:52:11: note: candidate: template<class T> T rs2::device::first() const T first() const ^~~~~ /usr/local/include/librealsense2/hpp/rs_device.hpp:52:11: note: template argument deduction/substitution failed: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/t265_realsense_node.cpp:10:77: error: template argument 1 is invalid _wo_snr(dev.first<rs2::wheel_odometer>()), ^ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/t265_realsense_node.cpp: In member function ‘void realsense2_camera::T265RealsenseNode::initializeOdometryInput()’: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/t265_realsense_node.cpp:35:10: error: ‘_wo_snr’ was not declared in this scope if (!_wo_snr.load_wheel_odometery_config(wo_calib)) ^~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/t265_realsense_node.cpp: In member function ‘void realsense2_camera::T265RealsenseNode::odom_in_callback(const ConstPtr&)’: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/t265_realsense_node.cpp:68:5: error: ‘_wo_snr’ was not declared in this scope _wo_snr.send_wheel_odometry(0, 0, velocity); ^~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp: In function ‘std::map<std::__cxx11::basic_string<char>, int> get_enum_method(rs2::options, rs2_option)’: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:212:38: error: ‘rs2::options::options(const rs2::options&)’ is protected within this context if (is_enum_option(sensor, option)) ^ In file included from /usr/local/include/librealsense2/hpp/rs_device.hpp:8:0, from /usr/local/include/librealsense2/hpp/rs_record_playback.hpp:8, from /usr/local/include/librealsense2/hpp/rs_context.hpp:8, from /usr/local/include/librealsense2/rs.hpp:9, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:11, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/local/include/librealsense2/hpp/rs_sensor.hpp:226:8: note: declared protected here options(const options& other) : _options(other._options) {} ^~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:191:6: note: initializing argument 1 of ‘bool is_enum_option(rs2::options, rs2_option)’ bool is_enum_option(rs2::options sensor, rs2_option option) ^~~~~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp: In member function ‘void realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)’: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:277:39: error: ‘rs2::options::options(const rs2::options&)’ is protected within this context if (is_checkbox(sensor, option)) ^ In file included from /usr/local/include/librealsense2/hpp/rs_device.hpp:8:0, from /usr/local/include/librealsense2/hpp/rs_record_playback.hpp:8, from /usr/local/include/librealsense2/hpp/rs_context.hpp:8, from /usr/local/include/librealsense2/rs.hpp:9, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:11, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/local/include/librealsense2/hpp/rs_sensor.hpp:226:8: note: declared protected here options(const options& other) : _options(other._options) {} ^~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:183:6: note: initializing argument 1 of ‘bool is_checkbox(rs2::options, rs2_option)’ bool is_checkbox(rs2::options sensor, rs2_option option) ^~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:286:15: error: ‘rs2::options::options(const rs2::options&)’ is protected within this context [option, sensor](bool new_value) { sensor.set_option(option, new_value); }, ^ In file included from /usr/local/include/librealsense2/hpp/rs_device.hpp:8:0, from /usr/local/include/librealsense2/hpp/rs_record_playback.hpp:8, from /usr/local/include/librealsense2/hpp/rs_context.hpp:8, from /usr/local/include/librealsense2/rs.hpp:9, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:11, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/local/include/librealsense2/hpp/rs_sensor.hpp:226:8: note: declared protected here options(const options& other) : _options(other._options) {} ^~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:287:52: error: use of deleted function ‘realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(bool)>::<lambda>(realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(bool)>&&)’ sensor.get_option_description(option)); ^ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:286:30: note: ‘realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(bool)>::<lambda>(realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(bool)>&&)’ is implicitly deleted because the default definition would be ill-formed: [option, sensor](bool new_value) { sensor.set_option(option, new_value); }, ^ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:286:30: error: ‘rs2::options::options(const rs2::options&)’ is protected within this context In file included from /usr/local/include/librealsense2/hpp/rs_device.hpp:8:0, from /usr/local/include/librealsense2/hpp/rs_record_playback.hpp:8, from /usr/local/include/librealsense2/hpp/rs_context.hpp:8, from /usr/local/include/librealsense2/rs.hpp:9, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:11, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/local/include/librealsense2/hpp/rs_sensor.hpp:226:8: note: declared protected here options(const options& other) : _options(other._options) {} ^~~~~~~ In file included from /usr/include/boost/function/detail/maybe_include.hpp:18:0, from /usr/include/boost/function/detail/function_iterate.hpp:14, from /usr/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:52, from /usr/include/boost/function.hpp:64, from /opt/ros/melodic/include/ros/forwards.h:40, from /opt/ros/melodic/include/ros/common.h:37, from /opt/ros/melodic/include/ros/ros.h:43, from /opt/ros/melodic/include/image_transport/publisher.h:38, from /opt/ros/melodic/include/image_transport/image_transport.h:38, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:8, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/include/boost/function/function_template.hpp:1054:3: note: initializing argument 1 of ‘boost::function<R(T0)>::function(Functor, typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type) [with Functor = realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(bool)>; R = void; T0 = bool; typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type = int]’ function(Functor f ^~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:290:62: error: ‘rs2::options::options(const rs2::options&)’ is protected within this context const auto enum_dict = get_enum_method(sensor, option); ^ In file included from /usr/local/include/librealsense2/hpp/rs_device.hpp:8:0, from /usr/local/include/librealsense2/hpp/rs_record_playback.hpp:8, from /usr/local/include/librealsense2/hpp/rs_context.hpp:8, from /usr/local/include/librealsense2/rs.hpp:9, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:11, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/local/include/librealsense2/hpp/rs_sensor.hpp:226:8: note: declared protected here options(const options& other) : _options(other._options) {} ^~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:209:28: note: initializing argument 1 of ‘std::map<std::__cxx11::basic_string<char>, int> get_enum_method(rs2::options, rs2_option)’ std::map<std::string, int> get_enum_method(rs2::options sensor, rs2_option option) ^~~~~~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:310:45: error: ‘rs2::options::options(const rs2::options&)’ is protected within this context if (is_int_option(sensor, option)) ^ In file included from /usr/local/include/librealsense2/hpp/rs_device.hpp:8:0, from /usr/local/include/librealsense2/hpp/rs_record_playback.hpp:8, from /usr/local/include/librealsense2/hpp/rs_context.hpp:8, from /usr/local/include/librealsense2/rs.hpp:9, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:11, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/local/include/librealsense2/hpp/rs_sensor.hpp:226:8: note: declared protected here options(const options& other) : _options(other._options) {} ^~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:203:6: note: initializing argument 1 of ‘bool is_int_option(rs2::options, rs2_option)’ bool is_int_option(rs2::options sensor, rs2_option option) ^~~~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:314:19: error: ‘rs2::options::options(const rs2::options&)’ is protected within this context [option, sensor](int new_value) { sensor.set_option(option, new_value); }, ^ In file included from /usr/local/include/librealsense2/hpp/rs_device.hpp:8:0, from /usr/local/include/librealsense2/hpp/rs_record_playback.hpp:8, from /usr/local/include/librealsense2/hpp/rs_context.hpp:8, from /usr/local/include/librealsense2/rs.hpp:9, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:11, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/local/include/librealsense2/hpp/rs_sensor.hpp:226:8: note: declared protected here options(const options& other) : _options(other._options) {} ^~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:315:94: error: use of deleted function ‘realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>::<lambda>(realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>&&)’ sensor.get_option_description(option), int(op_range.min), int(op_range.max)); ^ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:314:34: note: ‘realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>::<lambda>(realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>&&)’ is implicitly deleted because the default definition would be ill-formed: [option, sensor](int new_value) { sensor.set_option(option, new_value); }, ^ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:314:34: error: ‘rs2::options::options(const rs2::options&)’ is protected within this context In file included from /usr/local/include/librealsense2/hpp/rs_device.hpp:8:0, from /usr/local/include/librealsense2/hpp/rs_record_playback.hpp:8, from /usr/local/include/librealsense2/hpp/rs_context.hpp:8, from /usr/local/include/librealsense2/rs.hpp:9, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:11, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/local/include/librealsense2/hpp/rs_sensor.hpp:226:8: note: declared protected here options(const options& other) : _options(other._options) {} ^~~~~~~ In file included from /usr/include/boost/function/detail/maybe_include.hpp:18:0, from /usr/include/boost/function/detail/function_iterate.hpp:14, from /usr/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:52, from /usr/include/boost/function.hpp:64, from /opt/ros/melodic/include/ros/forwards.h:40, from /opt/ros/melodic/include/ros/common.h:37, from /opt/ros/melodic/include/ros/ros.h:43, from /opt/ros/melodic/include/image_transport/publisher.h:38, from /opt/ros/melodic/include/image_transport/image_transport.h:38, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:8, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/include/boost/function/function_template.hpp:1054:3: note: initializing argument 1 of ‘boost::function<R(T0)>::function(Functor, typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type) [with Functor = realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>; R = void; T0 = int; typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type = int]’ function(Functor f ^~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:334:23: error: ‘rs2::options::options(const rs2::options&)’ is protected within this context [option, sensor](double new_value) { sensor.set_option(option, new_value); }, ^ In file included from /usr/local/include/librealsense2/hpp/rs_device.hpp:8:0, from /usr/local/include/librealsense2/hpp/rs_record_playback.hpp:8, from /usr/local/include/librealsense2/hpp/rs_context.hpp:8, from /usr/local/include/librealsense2/rs.hpp:9, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:11, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/local/include/librealsense2/hpp/rs_sensor.hpp:226:8: note: declared protected here options(const options& other) : _options(other._options) {} ^~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:335:104: error: use of deleted function ‘realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(double)>::<lambda>(realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(double)>&&)’ sensor.get_option_description(option), double(op_range.min), double(op_range.max)); ^ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:334:38: note: ‘realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(double)>::<lambda>(realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(double)>&&)’ is implicitly deleted because the default definition would be ill-formed: [option, sensor](double new_value) { sensor.set_option(option, new_value); }, ^ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:334:38: error: ‘rs2::options::options(const rs2::options&)’ is protected within this context In file included from /usr/local/include/librealsense2/hpp/rs_device.hpp:8:0, from /usr/local/include/librealsense2/hpp/rs_record_playback.hpp:8, from /usr/local/include/librealsense2/hpp/rs_context.hpp:8, from /usr/local/include/librealsense2/rs.hpp:9, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:11, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/local/include/librealsense2/hpp/rs_sensor.hpp:226:8: note: declared protected here options(const options& other) : _options(other._options) {} ^~~~~~~ In file included from /usr/include/boost/function/detail/maybe_include.hpp:18:0, from /usr/include/boost/function/detail/function_iterate.hpp:14, from /usr/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:52, from /usr/include/boost/function.hpp:64, from /opt/ros/melodic/include/ros/forwards.h:40, from /opt/ros/melodic/include/ros/common.h:37, from /opt/ros/melodic/include/ros/ros.h:43, from /opt/ros/melodic/include/image_transport/publisher.h:38, from /opt/ros/melodic/include/image_transport/image_transport.h:38, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:8, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/include/boost/function/function_template.hpp:1054:3: note: initializing argument 1 of ‘boost::function<R(T0)>::function(Functor, typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type) [with Functor = realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(double)>; R = void; T0 = double; typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type = int]’ function(Functor f ^~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:362:17: error: ‘rs2::options::options(const rs2::options&)’ is protected within this context [option, sensor](int new_value) { sensor.set_option(option, new_value); }, ^ In file included from /usr/local/include/librealsense2/hpp/rs_device.hpp:8:0, from /usr/local/include/librealsense2/hpp/rs_record_playback.hpp:8, from /usr/local/include/librealsense2/hpp/rs_context.hpp:8, from /usr/local/include/librealsense2/rs.hpp:9, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:11, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/local/include/librealsense2/hpp/rs_sensor.hpp:226:8: note: declared protected here options(const options& other) : _options(other._options) {} ^~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:363:65: error: use of deleted function ‘realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>::<lambda>(realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>&&)’ sensor.get_option_description(option), enum_dict); ^ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:362:32: note: ‘realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>::<lambda>(realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>&&)’ is implicitly deleted because the default definition would be ill-formed: [option, sensor](int new_value) { sensor.set_option(option, new_value); }, ^ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:362:32: error: ‘rs2::options::options(const rs2::options&)’ is protected within this context In file included from /usr/local/include/librealsense2/hpp/rs_device.hpp:8:0, from /usr/local/include/librealsense2/hpp/rs_record_playback.hpp:8, from /usr/local/include/librealsense2/hpp/rs_context.hpp:8, from /usr/local/include/librealsense2/rs.hpp:9, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:11, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/local/include/librealsense2/hpp/rs_sensor.hpp:226:8: note: declared protected here options(const options& other) : _options(other._options) {} ^~~~~~~ In file included from /usr/include/boost/function/detail/maybe_include.hpp:18:0, from /usr/include/boost/function/detail/function_iterate.hpp:14, from /usr/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:52, from /usr/include/boost/function.hpp:64, from /opt/ros/melodic/include/ros/forwards.h:40, from /opt/ros/melodic/include/ros/common.h:37, from /opt/ros/melodic/include/ros/ros.h:43, from /opt/ros/melodic/include/image_transport/publisher.h:38, from /opt/ros/melodic/include/image_transport/image_transport.h:38, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:8, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/include/boost/function/function_template.hpp:1054:3: note: initializing argument 1 of ‘boost::function<R(T0)>::function(Functor, typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type) [with Functor = realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>; R = void; T0 = int; typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type = int]’ function(Functor f ^~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp: In member function ‘virtual void realsense2_camera::BaseRealSenseNode::registerDynamicReconfigCb(ros::NodeHandle&)’: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:378:54: error: ‘rs2::options::options(const rs2::options&)’ is protected within this context registerDynamicOption(nh, sensor, module_name); ^ In file included from /usr/local/include/librealsense2/hpp/rs_device.hpp:8:0, from /usr/local/include/librealsense2/hpp/rs_record_playback.hpp:8, from /usr/local/include/librealsense2/hpp/rs_context.hpp:8, from /usr/local/include/librealsense2/rs.hpp:9, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:11, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/local/include/librealsense2/hpp/rs_sensor.hpp:226:8: note: declared protected here options(const options& other) : _options(other._options) {} ^~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:265:6: note: initializing argument 2 of ‘void realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)’ void BaseRealSenseNode::registerDynamicOption(ros::NodeHandle& nh, rs2::options sensor, std::string& module_name) ^~~~~~~~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:384:40: error: invalid type argument of unary ‘*’ (have ‘int’) auto sensor = *(nfilter._filter); ^ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp: In member function ‘void realsense2_camera::BaseRealSenseNode::publishAlignedDepthToOthers(rs2::frameset, const ros::Time&)’: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:765:46: error: ‘class rs2::frameset’ has no member named ‘apply_filter’ rs2::frameset processed = frames.apply_filter(*align); ^~~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp: In member function ‘void realsense2_camera::BaseRealSenseNode::setupFilters()’: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:894:94: error: no matching function for call to ‘realsense2_camera::NamedFilter::NamedFilter(const char [8], std::shared_ptr<rs2::spatial_filter>)’ _filters.push_back(NamedFilter("spatial", std::make_shared<rs2::spatial_filter>())); ^ In file included from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1:0: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:56:13: note: candidate: realsense2_camera::NamedFilter::NamedFilter(std::__cxx11::string, int) NamedFilter(std::string name, std::shared_ptr<rs2::filter> filter): ^~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:56:13: note: no known conversion for argument 2 from ‘std::shared_ptr<rs2::spatial_filter>’ to ‘int’ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate: realsense2_camera::NamedFilter::NamedFilter(const realsense2_camera::NamedFilter&) class NamedFilter ^~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate expects 1 argument, 2 provided /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate: realsense2_camera::NamedFilter::NamedFilter(realsense2_camera::NamedFilter&&) /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate expects 1 argument, 2 provided /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:899:96: error: no matching function for call to ‘realsense2_camera::NamedFilter::NamedFilter(const char [9], std::shared_ptr<rs2::temporal_filter>)’ _filters.push_back(NamedFilter("temporal", std::make_shared<rs2::temporal_filter>())); ^ In file included from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1:0: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:56:13: note: candidate: realsense2_camera::NamedFilter::NamedFilter(std::__cxx11::string, int) NamedFilter(std::string name, std::shared_ptr<rs2::filter> filter): ^~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:56:13: note: no known conversion for argument 2 from ‘std::shared_ptr<rs2::temporal_filter>’ to ‘int’ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate: realsense2_camera::NamedFilter::NamedFilter(const realsense2_camera::NamedFilter&) class NamedFilter ^~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate expects 1 argument, 2 provided /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate: realsense2_camera::NamedFilter::NamedFilter(realsense2_camera::NamedFilter&&) /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate expects 1 argument, 2 provided /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:904:104: error: no matching function for call to ‘realsense2_camera::NamedFilter::NamedFilter(const char [13], std::shared_ptr<rs2::hole_filling_filter>)’ _filters.push_back(NamedFilter("hole_filling", std::make_shared<rs2::hole_filling_filter>())); ^ In file included from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1:0: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:56:13: note: candidate: realsense2_camera::NamedFilter::NamedFilter(std::__cxx11::string, int) NamedFilter(std::string name, std::shared_ptr<rs2::filter> filter): ^~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:56:13: note: no known conversion for argument 2 from ‘std::shared_ptr<rs2::hole_filling_filter>’ to ‘int’ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate: realsense2_camera::NamedFilter::NamedFilter(const realsense2_camera::NamedFilter&) class NamedFilter ^~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate expects 1 argument, 2 provided /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate: realsense2_camera::NamedFilter::NamedFilter(realsense2_camera::NamedFilter&&) /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate expects 1 argument, 2 provided /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:923:118: error: no matching function for call to ‘realsense2_camera::NamedFilter::NamedFilter(const char [16], std::shared_ptr<rs2::disparity_transform>)’ _filters.insert(_filters.begin(), NamedFilter("disparity_start", std::make_shared<rs2::disparity_transform>())); ^ In file included from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1:0: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:56:13: note: candidate: realsense2_camera::NamedFilter::NamedFilter(std::__cxx11::string, int) NamedFilter(std::string name, std::shared_ptr<rs2::filter> filter): ^~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:56:13: note: no known conversion for argument 2 from ‘std::shared_ptr<rs2::disparity_transform>’ to ‘int’ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate: realsense2_camera::NamedFilter::NamedFilter(const realsense2_camera::NamedFilter&) class NamedFilter ^~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate expects 1 argument, 2 provided /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate: realsense2_camera::NamedFilter::NamedFilter(realsense2_camera::NamedFilter&&) /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate expects 1 argument, 2 provided /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:924:106: error: no matching function for call to ‘realsense2_camera::NamedFilter::NamedFilter(const char [14], std::shared_ptr<rs2::disparity_transform>)’ _filters.push_back(NamedFilter("disparity_end", std::make_shared<rs2::disparity_transform>(false))); ^ In file included from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1:0: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:56:13: note: candidate: realsense2_camera::NamedFilter::NamedFilter(std::__cxx11::string, int) NamedFilter(std::string name, std::shared_ptr<rs2::filter> filter): ^~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:56:13: note: no known conversion for argument 2 from ‘std::shared_ptr<rs2::disparity_transform>’ to ‘int’ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate: realsense2_camera::NamedFilter::NamedFilter(const realsense2_camera::NamedFilter&) class NamedFilter ^~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate expects 1 argument, 2 provided /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate: realsense2_camera::NamedFilter::NamedFilter(realsense2_camera::NamedFilter&&) /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate expects 1 argument, 2 provided /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:930:108: error: no matching function for call to ‘realsense2_camera::NamedFilter::NamedFilter(const char [11], std::shared_ptr<rs2::decimation_filter>)’ _filters.insert(_filters.begin(),NamedFilter("decimation", std::make_shared<rs2::decimation_filter>())); ^ In file included from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1:0: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:56:13: note: candidate: realsense2_camera::NamedFilter::NamedFilter(std::__cxx11::string, int) NamedFilter(std::string name, std::shared_ptr<rs2::filter> filter): ^~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:56:13: note: no known conversion for argument 2 from ‘std::shared_ptr<rs2::decimation_filter>’ to ‘int’ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate: realsense2_camera::NamedFilter::NamedFilter(const realsense2_camera::NamedFilter&) class NamedFilter ^~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate expects 1 argument, 2 provided /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate: realsense2_camera::NamedFilter::NamedFilter(realsense2_camera::NamedFilter&&) /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate expects 1 argument, 2 provided /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:935:87: error: no matching function for call to ‘realsense2_camera::NamedFilter::NamedFilter(const char [10], std::shared_ptr<rs2::colorizer>)’ _filters.push_back(NamedFilter("colorizer", std::make_shared<rs2::colorizer>())); ^ In file included from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1:0: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:56:13: note: candidate: realsense2_camera::NamedFilter::NamedFilter(std::__cxx11::string, int) NamedFilter(std::string name, std::shared_ptr<rs2::filter> filter): ^~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:56:13: note: no known conversion for argument 2 from ‘std::shared_ptr<rs2::colorizer>’ to ‘int’ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate: realsense2_camera::NamedFilter::NamedFilter(const realsense2_camera::NamedFilter&) class NamedFilter ^~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate expects 1 argument, 2 provided /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate: realsense2_camera::NamedFilter::NamedFilter(realsense2_camera::NamedFilter&&) /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate expects 1 argument, 2 provided /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:949:142: error: no matching function for call to ‘realsense2_camera::NamedFilter::NamedFilter(const char [11], std::shared_ptr<rs2::pointcloud>)’ _filters.push_back(NamedFilter("pointcloud", std::make_shared<rs2::pointcloud>(_pointcloud_texture.first, _pointcloud_texture.second))); ^ In file included from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1:0: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:56:13: note: candidate: realsense2_camera::NamedFilter::NamedFilter(std::__cxx11::string, int) NamedFilter(std::string name, std::shared_ptr<rs2::filter> filter): ^~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:56:13: note: no known conversion for argument 2 from ‘std::shared_ptr<rs2::pointcloud>’ to ‘int’ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate: realsense2_camera::NamedFilter::NamedFilter(const realsense2_camera::NamedFilter&) class NamedFilter ^~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate expects 1 argument, 2 provided /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate: realsense2_camera::NamedFilter::NamedFilter(realsense2_camera::NamedFilter&&) /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:49:11: note: candidate expects 1 argument, 2 provided /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp: In member function ‘void realsense2_camera::BaseRealSenseNode::frame_callback(rs2::frame)’: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1403:46: error: base operand of ‘->’ is not a pointer frameset = filter_it->_filter->process(frameset); ^~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp: In member function ‘void realsense2_camera::BaseRealSenseNode::publishPointCloud(rs2::points, const ros::Time&, const rs2::frameset&)’: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1845:78: error: base operand of ‘->’ is not a pointer rs2_stream texture_source_id = static_cast<rs2_stream>(pc_filter->_filter->get_option(rs2_option::RS2_OPTION_STREAM_FILTER)); ^~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1845:103: error: ‘RS2_OPTION_STREAM_FILTER’ is not a member of ‘rs2_option’ rs2_stream texture_source_id = static_cast<rs2_stream>(pc_filter->_filter->get_option(rs2_option::RS2_OPTION_STREAM_FILTER)); ^~~~~~~~~~~~~~~~~~~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1854:29: error: ‘find_if’ was not declared in this scope texture_frame_itr = find_if(frameset.begin(), frameset.end(), [&texture_source_id, &available_formats] (rs2::frame f) ^~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1854:29: note: suggested alternatives: In file included from /usr/include/c++/7/algorithm:62:0, from /usr/include/boost/smart_ptr/shared_ptr.hpp:39, from /usr/include/boost/shared_ptr.hpp:17, from /opt/ros/melodic/include/class_loader/class_loader.hpp:36, from /opt/ros/melodic/include/pluginlib/./class_list_macros.hpp:40, from /opt/ros/melodic/include/pluginlib/class_list_macros.h:35, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/include/c++/7/bits/stl_algo.h:3923:5: note: ‘std::find_if’ find_if(_InputIterator __first, _InputIterator __last, ^~~~~~~ In file included from /usr/include/boost/mpl/find.hpp:17:0, from /usr/include/boost/mpl/aux_/contains_impl.hpp:20, from /usr/include/boost/mpl/contains.hpp:20, from /usr/include/boost/math/policies/policy.hpp:10, from /usr/include/boost/math/policies/error_handling.hpp:21, from /usr/include/boost/math/special_functions/round.hpp:14, from /opt/ros/melodic/include/ros/time.h:58, from /opt/ros/melodic/include/ros/console.h:39, from /opt/ros/melodic/include/nodelet/nodelet.h:39, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:7, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/include/boost/mpl/find_if.hpp:32:8: note: ‘boost::mpl::find_if’ struct find_if ^~~~~~~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1860:65: error: base operand of ‘->’ is not a pointer std::string texture_source_name = pc_filter->_filter->get_option_value_description(rs2_option::RS2_OPTION_STREAM_FILTER, static_cast<float>(texture_source_id)); ^~ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1860:108: error: ‘RS2_OPTION_STREAM_FILTER’ is not a member of ‘rs2_option’ std::string texture_source_name = pc_filter->_filter->get_option_value_description(rs2_option::RS2_OPTION_STREAM_FILTER, static_cast<float>(texture_source_id)); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/boost/function/detail/maybe_include.hpp:18:0, from /usr/include/boost/function/detail/function_iterate.hpp:14, from /usr/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:52, from /usr/include/boost/function.hpp:64, from /opt/ros/melodic/include/ros/forwards.h:40, from /opt/ros/melodic/include/ros/common.h:37, from /opt/ros/melodic/include/ros/ros.h:43, from /opt/ros/melodic/include/image_transport/publisher.h:38, from /opt/ros/melodic/include/image_transport/image_transport.h:38, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:8, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/include/boost/function/function_template.hpp: In instantiation of ‘boost::function<R(T0)>::function(Functor, typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type) [with Functor = realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(bool)>; R = void; T0 = bool; typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type = int]’: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:287:52: required from here /usr/include/boost/function/function_template.hpp:1061:16: error: use of deleted function ‘realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(bool)>::<lambda>(const realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(bool)>&)’ base_type(f) ^ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:286:30: note: ‘realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(bool)>::<lambda>(const realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(bool)>&)’ is implicitly deleted because the default definition would be ill-formed: [option, sensor](bool new_value) { sensor.set_option(option, new_value); }, ^ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:286:30: error: ‘rs2::options::options(const rs2::options&)’ is protected within this context In file included from /usr/local/include/librealsense2/hpp/rs_device.hpp:8:0, from /usr/local/include/librealsense2/hpp/rs_record_playback.hpp:8, from /usr/local/include/librealsense2/hpp/rs_context.hpp:8, from /usr/local/include/librealsense2/rs.hpp:9, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:11, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/local/include/librealsense2/hpp/rs_sensor.hpp:226:8: note: declared protected here options(const options& other) : _options(other._options) {} ^~~~~~~ In file included from /usr/include/boost/config.hpp:61:0, from /usr/include/boost/bind/bind.hpp:24, from /usr/include/boost/bind.hpp:22, from /opt/ros/melodic/include/class_loader/class_loader.hpp:35, from /opt/ros/melodic/include/pluginlib/./class_list_macros.hpp:40, from /opt/ros/melodic/include/pluginlib/class_list_macros.h:35, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/include/boost/function/function_template.hpp:707:5: note: initializing argument 1 of ‘boost::function1<R, T1>::function1(Functor, typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type) [with Functor = realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(bool)>; R = void; T0 = bool; typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type = int]’ BOOST_FUNCTION_FUNCTION(Functor BOOST_FUNCTION_TARGET_FIX(const &) f ^ In file included from /usr/include/boost/function/detail/maybe_include.hpp:18:0, from /usr/include/boost/function/detail/function_iterate.hpp:14, from /usr/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:52, from /usr/include/boost/function.hpp:64, from /opt/ros/melodic/include/ros/forwards.h:40, from /opt/ros/melodic/include/ros/common.h:37, from /opt/ros/melodic/include/ros/ros.h:43, from /opt/ros/melodic/include/image_transport/publisher.h:38, from /opt/ros/melodic/include/image_transport/image_transport.h:38, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:8, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/include/boost/function/function_template.hpp: In instantiation of ‘boost::function<R(T0)>::function(Functor, typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type) [with Functor = realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>; R = void; T0 = int; typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type = int]’: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:315:94: required from here /usr/include/boost/function/function_template.hpp:1061:16: error: use of deleted function ‘realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>::<lambda>(const realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>&)’ base_type(f) ^ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:314:34: note: ‘realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>::<lambda>(const realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>&)’ is implicitly deleted because the default definition would be ill-formed: [option, sensor](int new_value) { sensor.set_option(option, new_value); }, ^ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:314:34: error: ‘rs2::options::options(const rs2::options&)’ is protected within this context In file included from /usr/local/include/librealsense2/hpp/rs_device.hpp:8:0, from /usr/local/include/librealsense2/hpp/rs_record_playback.hpp:8, from /usr/local/include/librealsense2/hpp/rs_context.hpp:8, from /usr/local/include/librealsense2/rs.hpp:9, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:11, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/local/include/librealsense2/hpp/rs_sensor.hpp:226:8: note: declared protected here options(const options& other) : _options(other._options) {} ^~~~~~~ In file included from /usr/include/boost/config.hpp:61:0, from /usr/include/boost/bind/bind.hpp:24, from /usr/include/boost/bind.hpp:22, from /opt/ros/melodic/include/class_loader/class_loader.hpp:35, from /opt/ros/melodic/include/pluginlib/./class_list_macros.hpp:40, from /opt/ros/melodic/include/pluginlib/class_list_macros.h:35, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/include/boost/function/function_template.hpp:707:5: note: initializing argument 1 of ‘boost::function1<R, T1>::function1(Functor, typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type) [with Functor = realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>; R = void; T0 = int; typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type = int]’ BOOST_FUNCTION_FUNCTION(Functor BOOST_FUNCTION_TARGET_FIX(const &) f ^ In file included from /usr/include/boost/function/detail/maybe_include.hpp:18:0, from /usr/include/boost/function/detail/function_iterate.hpp:14, from /usr/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:52, from /usr/include/boost/function.hpp:64, from /opt/ros/melodic/include/ros/forwards.h:40, from /opt/ros/melodic/include/ros/common.h:37, from /opt/ros/melodic/include/ros/ros.h:43, from /opt/ros/melodic/include/image_transport/publisher.h:38, from /opt/ros/melodic/include/image_transport/image_transport.h:38, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:8, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/include/boost/function/function_template.hpp: In instantiation of ‘boost::function<R(T0)>::function(Functor, typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type) [with Functor = realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(double)>; R = void; T0 = double; typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type = int]’: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:335:104: required from here /usr/include/boost/function/function_template.hpp:1061:16: error: use of deleted function ‘realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(double)>::<lambda>(const realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(double)>&)’ base_type(f) ^ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:334:38: note: ‘realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(double)>::<lambda>(const realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(double)>&)’ is implicitly deleted because the default definition would be ill-formed: [option, sensor](double new_value) { sensor.set_option(option, new_value); }, ^ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:334:38: error: ‘rs2::options::options(const rs2::options&)’ is protected within this context In file included from /usr/local/include/librealsense2/hpp/rs_device.hpp:8:0, from /usr/local/include/librealsense2/hpp/rs_record_playback.hpp:8, from /usr/local/include/librealsense2/hpp/rs_context.hpp:8, from /usr/local/include/librealsense2/rs.hpp:9, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:11, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/local/include/librealsense2/hpp/rs_sensor.hpp:226:8: note: declared protected here options(const options& other) : _options(other._options) {} ^~~~~~~ In file included from /usr/include/boost/config.hpp:61:0, from /usr/include/boost/bind/bind.hpp:24, from /usr/include/boost/bind.hpp:22, from /opt/ros/melodic/include/class_loader/class_loader.hpp:35, from /opt/ros/melodic/include/pluginlib/./class_list_macros.hpp:40, from /opt/ros/melodic/include/pluginlib/class_list_macros.h:35, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/include/boost/function/function_template.hpp:707:5: note: initializing argument 1 of ‘boost::function1<R, T1>::function1(Functor, typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type) [with Functor = realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(double)>; R = void; T0 = double; typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type = int]’ BOOST_FUNCTION_FUNCTION(Functor BOOST_FUNCTION_TARGET_FIX(const &) f ^ In file included from /usr/include/boost/function/detail/maybe_include.hpp:18:0, from /usr/include/boost/function/detail/function_iterate.hpp:14, from /usr/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:52, from /usr/include/boost/function.hpp:64, from /opt/ros/melodic/include/ros/forwards.h:40, from /opt/ros/melodic/include/ros/common.h:37, from /opt/ros/melodic/include/ros/ros.h:43, from /opt/ros/melodic/include/image_transport/publisher.h:38, from /opt/ros/melodic/include/image_transport/image_transport.h:38, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:8, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/include/boost/function/function_template.hpp: In instantiation of ‘boost::function<R(T0)>::function(Functor, typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type) [with Functor = realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>; R = void; T0 = int; typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type = int]’: /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:363:65: required from here /usr/include/boost/function/function_template.hpp:1061:16: error: use of deleted function ‘realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>::<lambda>(const realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>&)’ base_type(f) ^ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:362:32: note: ‘realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>::<lambda>(const realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>&)’ is implicitly deleted because the default definition would be ill-formed: [option, sensor](int new_value) { sensor.set_option(option, new_value); }, ^ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:362:32: error: ‘rs2::options::options(const rs2::options&)’ is protected within this context In file included from /usr/local/include/librealsense2/hpp/rs_device.hpp:8:0, from /usr/local/include/librealsense2/hpp/rs_record_playback.hpp:8, from /usr/local/include/librealsense2/hpp/rs_context.hpp:8, from /usr/local/include/librealsense2/rs.hpp:9, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:11, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/local/include/librealsense2/hpp/rs_sensor.hpp:226:8: note: declared protected here options(const options& other) : _options(other._options) {} ^~~~~~~ In file included from /usr/include/boost/config.hpp:61:0, from /usr/include/boost/bind/bind.hpp:24, from /usr/include/boost/bind.hpp:22, from /opt/ros/melodic/include/class_loader/class_loader.hpp:35, from /opt/ros/melodic/include/pluginlib/./class_list_macros.hpp:40, from /opt/ros/melodic/include/pluginlib/class_list_macros.h:35, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/include/boost/function/function_template.hpp:707:5: note: initializing argument 1 of ‘boost::function1<R, T1>::function1(Functor, typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type) [with Functor = realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>; R = void; T0 = int; typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type = int]’ BOOST_FUNCTION_FUNCTION(Functor BOOST_FUNCTION_TARGET_FIX(const &) f ^ realsense-ros/realsense2_camera/CMakeFiles/realsense2_camera.dir/build.make:110: recipe for target 'realsense-ros/realsense2_camera/CMakeFiles/realsense2_camera.dir/src/t265_realsense_node.cpp.o' failed make[2]: *** [realsense-ros/realsense2_camera/CMakeFiles/realsense2_camera.dir/src/t265_realsense_node.cpp.o] Error 1 In file included from /usr/include/aarch64-linux-gnu/c++/7/bits/c++allocator.h:33:0, from /usr/include/c++/7/bits/allocator.h:46, from /usr/include/c++/7/memory:63, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from /opt/ros/melodic/include/class_loader/class_loader.hpp:35, from /opt/ros/melodic/include/pluginlib/./class_list_macros.hpp:40, from /opt/ros/melodic/include/pluginlib/class_list_macros.h:35, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/include/c++/7/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = rs2::pointcloud; _Args = {rs2_stream&, int&}; _Tp = rs2::pointcloud]’: /usr/include/c++/7/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = rs2::pointcloud; _Args = {rs2_stream&, int&}; _Tp = rs2::pointcloud; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<rs2::pointcloud>]’ /usr/include/c++/7/bits/shared_ptr_base.h:526:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {rs2_stream&, int&}; _Tp = rs2::pointcloud; _Alloc = std::allocator<rs2::pointcloud>; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’ /usr/include/c++/7/bits/shared_ptr_base.h:637:4: required from ‘std::__shared_count<_Lp>::__shared_count(std::_Sp_make_shared_tag, _Tp*, const _Alloc&, _Args&& ...) [with _Tp = rs2::pointcloud; _Alloc = std::allocator<rs2::pointcloud>; _Args = {rs2_stream&, int&}; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’ /usr/include/c++/7/bits/shared_ptr_base.h:1295:35: required from ‘std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<rs2::pointcloud>; _Args = {rs2_stream&, int&}; _Tp = rs2::pointcloud; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’ /usr/include/c++/7/bits/shared_ptr.h:344:64: required from ‘std::shared_ptr<_Tp>::shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<rs2::pointcloud>; _Args = {rs2_stream&, int&}; _Tp = rs2::pointcloud]’ /usr/include/c++/7/bits/shared_ptr.h:690:14: required from ‘std::shared_ptr<_Tp> std::allocate_shared(const _Alloc&, _Args&& ...) [with _Tp = rs2::pointcloud; _Alloc = std::allocator<rs2::pointcloud>; _Args = {rs2_stream&, int&}]’ /usr/include/c++/7/bits/shared_ptr.h:706:39: required from ‘std::shared_ptr<_Tp> std::make_shared(_Args&& ...) [with _Tp = rs2::pointcloud; _Args = {rs2_stream&, int&}]’ /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:949:141: required from here /usr/include/c++/7/ext/new_allocator.h:136:4: error: no matching function for call to ‘rs2::pointcloud::pointcloud(rs2_stream&, int&)’ { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/librealsense2/hpp/rs_context.hpp:9:0, from /usr/local/include/librealsense2/rs.hpp:9, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:11, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/local/include/librealsense2/hpp/rs_processing.hpp:207:9: note: candidate: rs2::pointcloud::pointcloud() pointcloud() : _queue(1) ^~~~~~~~~~ /usr/local/include/librealsense2/hpp/rs_processing.hpp:207:9: note: candidate expects 0 arguments, 2 provided /usr/local/include/librealsense2/hpp/rs_processing.hpp:204:11: note: candidate: rs2::pointcloud::pointcloud(const rs2::pointcloud&) class pointcloud : public options ^~~~~~~~~~ /usr/local/include/librealsense2/hpp/rs_processing.hpp:204:11: note: candidate expects 1 argument, 2 provided /usr/local/include/librealsense2/hpp/rs_processing.hpp:204:11: note: candidate: rs2::pointcloud::pointcloud(rs2::pointcloud&&) /usr/local/include/librealsense2/hpp/rs_processing.hpp:204:11: note: candidate expects 1 argument, 2 provided In file included from /usr/include/boost/config.hpp:61:0, from /usr/include/boost/bind/bind.hpp:24, from /usr/include/boost/bind.hpp:22, from /opt/ros/melodic/include/class_loader/class_loader.hpp:35, from /opt/ros/melodic/include/pluginlib/./class_list_macros.hpp:40, from /opt/ros/melodic/include/pluginlib/class_list_macros.h:35, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/../include/realsense_node_factory.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/../include/base_realsense_node.h:6, from /home/rrk/catkin_ws/src/realsense-ros/realsense2_camera/src/base_realsense_node.cpp:1: /usr/include/boost/function/function_template.hpp: At global scope: /usr/include/boost/function/function_template.hpp:707:5: error: ‘boost::function1<R, T1>::function1(Functor, typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type) [with Functor = realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(bool)>; R = void; T0 = bool; typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type = int]’, declared using local type ‘realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(bool)>’, is used but never defined [-fpermissive] BOOST_FUNCTION_FUNCTION(Functor BOOST_FUNCTION_TARGET_FIX(const &) f ^ /usr/include/boost/function/function_template.hpp:707:5: error: ‘boost::function1<R, T1>::function1(Functor, typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type) [with Functor = realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>; R = void; T0 = int; typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type = int]’, declared using local type ‘realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>’, is used but never defined [-fpermissive] /usr/include/boost/function/function_template.hpp:707:5: error: ‘boost::function1<R, T1>::function1(Functor, typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type) [with Functor = realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(double)>; R = void; T0 = double; typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type = int]’, declared using local type ‘realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(double)>’, is used but never defined [-fpermissive] /usr/include/boost/function/function_template.hpp:707:5: error: ‘boost::function1<R, T1>::function1(Functor, typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type) [with Functor = realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>; R = void; T0 = int; typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type = int]’, declared using local type ‘realsense2_camera::BaseRealSenseNode::registerDynamicOption(ros::NodeHandle&, rs2::options, std::__cxx11::string&)::<lambda(int)>’, is used but never defined [-fpermissive] realsense-ros/realsense2_camera/CMakeFiles/realsense2_camera.dir/build.make:86: recipe for target 'realsense-ros/realsense2_camera/CMakeFiles/realsense2_camera.dir/src/base_realsense_node.cpp.o' failed make[2]: *** [realsense-ros/realsense2_camera/CMakeFiles/realsense2_camera.dir/src/base_realsense_node.cpp.o] Error 1 CMakeFiles/Makefile2:2663: recipe for target 'realsense-ros/realsense2_camera/CMakeFiles/realsense2_camera.dir/all' failed make[1]: *** [realsense-ros/realsense2_camera/CMakeFiles/realsense2_camera.dir/all] Error 2 Makefile:140: recipe for target 'all' failed make: *** [all] Error 2 Invoking "make -j4 -l4" failed
The text was updated successfully, but these errors were encountered: