Tuesday, April 29, 2014

Error



In file included from /usr/include/boost/graph/breadth_first_search.hpp:21:0,
                 from /usr/include/boost/graph/dijkstra_shortest_paths.hpp:21,
                 from /home/sai/workspace/pcl-pcl-1.7.0/registration/include/pcl/registration/boost.h:49,
                 from /home/sai/workspace/pcl-pcl-1.7.0/registration/include/pcl/registration/registration.h:50,
                 from /home/sai/workspace/pcl-pcl-1.7.0/registration/include/pcl/registration/icp.h:47,
                 from /home/sai/pcl_testing/narf_keypoint_extraction/sure_narf_fpfh_matching.cpp:34:
/usr/include/boost/graph/graph_concepts.hpp: In destructor ‘boost::concepts::AdjacencyMatrix::~AdjacencyMatrix()’:
/usr/include/boost/graph/graph_concepts.hpp:368:17: error: missing template arguments before ‘(’ token
/usr/include/boost/graph/graph_concepts.hpp: In member function ‘void boost::concepts::AdjacencyMatrix::const_constraints(const G&)’:
/usr/include/boost/graph/graph_concepts.hpp:372:17: error: missing template arguments before ‘(’ token
make[2]: *** [CMakeFiles/sure_narf_fpfh_matching.dir/sure_narf_fpfh_matching.cpp.o] Error 1
make[1]: *** [CMakeFiles/sure_narf_fpfh_matching.dir/all] Error 2

make: *** [all] Error 2


Solution

Just copy the header file 

#include "pcl/registration/icp.h"


to the beginning of all the header files.

This will solve the issue

Good day!

Friday, April 4, 2014

lse_xsens_mti

Error

process[lse_xsens_mti/xsens-1]: started with pid [9792]
[FATAL] [1396619501.045578081]: MTi -- Unable to connect to the MTi.
[FATAL] [1396619503.209193347]: MTi -- Unable to set the output mode and settings.

If the above error occurs when running the lse_xsens_mti package in ROS

Solution

Go to the launch file and change ttyS0 to ttyUSB0