VIDO-SLAM
VIDO-SLAM copied to clipboard
Error in catkin_make
This error was reported when catkin_make
[ 91%] Built target mono_depth2_generate_messages
In file included from /usr/include/c++/9/bits/locale_conv.h:41,
from /usr/include/c++/9/locale:43,
from /usr/include/c++/9/iomanip:43,
from /usr/include/boost/math/policies/error_handling.hpp:12,
from /usr/include/boost/math/special_functions/round.hpp:14,
from /opt/ros/noetic/include/ros/time.h:58,
from /opt/ros/noetic/include/ros/ros.h:38,
from /home/dzb/ROS/VIDO-SLAM/src/realtime_demo/src/run_vido.cc:1:
/usr/include/c++/9/bits/unique_ptr.h: In instantiation of ‘typename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...) [with _Tp = VIDO_SLAM::System; _Args = {std::__cxx11::basic_string<char, std::char_traits
Could you give me some advice?Thanks!
@darkyrs In "vido_slam/include/System.h", where the class "System" is defined, there is just an empty construct function "System(){}", but in "run_vido.cc", where the class "System" is instantiated, it provides two arguments. Considering the "init" member function in the class "system", So I made thte following change: " vido_system_ = std::make_unique<VIDO_SLAM::System>(); vido_system_->Init(config_file,VIDO_SLAM::System::RGBD); " This will solve the above problem, but there will be other problems about "networks" and multithreading...
I have encountered the same problem. I want to know how this problem came about, and how can I solve it completely?Pray for your help.@Hello-Water @darkyrs
@Hello-Water
@darkyrs In "vido_slam/include/System.h", where the class "System" is defined, there is just an empty construct function "System(){}", but in "run_vido.cc", where the class "System" is instantiated, it provides two arguments. Considering the "init" member function in the class "system", So I made thte following change: " vido_system_ = std::make_unique<VIDO_SLAM::System>(); vido_system_->Init(config_file,VIDO_SLAM::System::RGBD); " This will solve the above problem, but there will be other problems about "networks" and multithreading...
Hello, I'm sorry to bother you, but I still want to ask you if you have solved this problem. At present, I have successfully run all three networks, but demo node still can't run perfectly, that is, I need to annotate all the contents about slam in the run_vido.cc file to run three networks. I think the changes you suggested can be compiled successfully, but they can't run successfully, which makes me very upset. I hope you can read this reply and help me, thank you very much ~ @Hello-Water