STDR install problem in ROS Kinetic

asked 2016-07-05 07:34:24 -0500

Vasily gravatar image

updated 2016-07-05 08:38:41 -0500

gvdhoorn gravatar image

Hello everyone! I'm trying to install STDR simulator, but it fails.

Can someone explain what's going on and how it can be fixed?

Here is the traceback:

Scanning dependencies of target stdr_gui_node
[ 83%] Building CXX object stdr_simulator/stdr_gui/CMakeFiles/stdr_gui_node.dir/src/stdr_gui/stdr_gui_node.cpp.o
/home/nesterov/robod/ros-test/src/map_server/src/main.cpp: In constructor ‘MapServer::MapServer(const string&, double)’:
/home/nesterov/robod/ros-test/src/map_server/src/main.cpp:73:16: error: ‘class YAML::Parser’ has no member named ‘GetNextDocument’
         parser.GetNextDocument(doc);
                ^
/home/nesterov/robod/ros-test/src/map_server/src/main.cpp:75:29: error: no match for ‘operator>>’ (operand types are ‘YAML::Node’ and ‘double’)
           doc["resolution"] >> res; 
                             ^
/home/nesterov/robod/ros-test/src/map_server/src/main.cpp:81:25: error: no match for ‘operator>>’ (operand types are ‘YAML::Node’ and ‘int’)
           doc["negate"] >> negate; 
                         ^
/home/nesterov/robod/ros-test/src/map_server/src/main.cpp:87:34: error: no match for ‘operator>>’ (operand types are ‘YAML::Node’ and ‘double’)
           doc["occupied_thresh"] >> occ_th; 
                                  ^
/home/nesterov/robod/ros-test/src/map_server/src/main.cpp:93:30: error: no match for ‘operator>>’ (operand types are ‘YAML::Node’ and ‘double’)
           doc["free_thresh"] >> free_th; 
                              ^
/home/nesterov/robod/ros-test/src/map_server/src/main.cpp:99:28: error: no match for ‘operator>>’ (operand types are ‘YAML::Node’ and ‘double’)
           doc["origin"][0] >> origin[0]; 
                            ^
/home/nesterov/robod/ros-test/src/map_server/src/main.cpp:100:28: error: no match for ‘operator>>’ (operand types are ‘YAML::Node’ and ‘double’)
           doc["origin"][1] >> origin[1]; 
                            ^
/home/nesterov/robod/ros-test/src/map_server/src/main.cpp:101:28: error: no match for ‘operator>>’ (operand types are ‘YAML::Node’ and ‘double’)
           doc["origin"][2] >> origin[2]; 
                            ^
/home/nesterov/robod/ros-test/src/map_server/src/main.cpp:107:24: error: no match for ‘operator>>’ (operand types are ‘YAML::Node’ and ‘std::__cxx11::string {aka std::__cxx11::basic_string<char>}’)
           doc["image"] >> mapfname; 
                        ^
In file included from /usr/include/boost/config/no_tr1/complex.hpp:21:0,
                 from /usr/include/boost/math/policies/error_handling.hpp:15,
                 from /usr/include/boost/math/special_functions/round.hpp:14,
                 from /opt/ros/kinetic/include/ros/time.h:58,
                 from /opt/ros/kinetic/include/ros/ros.h:38,
                 from /home/nesterov/robod/ros-test/src/map_server/src/main.cpp:43:
/usr/include/c++/5/complex:493:5: note: candidate: template<class _Tp, class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::complex<_Tp>&)
     operator>>(basic_istream<_CharT, _Traits>& __is, complex<_Tp>& __x)
     ^
/usr/include/c++/5/complex:493:5: note:   template argument deduction/substitution failed:
/home/nesterov/robod/ros-test/src/map_server/src/main.cpp:107:27: note:   ‘YAML::Node’ is not derived from ‘std::basic_istream<_CharT, _Traits>’
           doc["image"] >> mapfname; 
                           ^
In file included from /usr/include/boost/math/policies/error_handling.hpp:12:0,
                 from /usr/include/boost/math/special_functions/round.hpp:14,
                 from /opt/ros/kinetic/include/ros/time.h:58,
                 from /opt/ros/kinetic/include/ros/ros.h:38,
                 from /home/nesterov/robod/ros-test/src/map_server/src/main.cpp:43:
/usr/include/c++/5/iomanip:230 ...
(more)
edit retag flag offensive close merge delete