uts-magic-lab / slam_glass

Realtime Glass Detection with Laser Rangefinders for Robot Navigation and Mapping
104 stars 36 forks source link

Launch error #7

Open spion318203 opened 2 years ago

spion318203 commented 2 years ago

when launching the launch file, this error appears.

process[slam_glass-1]: started with pid [58800] /home/user/catkin_ws/devel/lib/slam_glass/slam_glass: symbol lookup error: /home/user/catkin_ws/devel/lib/slam_glass/slam_glass: undefined symbol: _ZN8GMapping17GridSlamProcessor10glassMatchERNS_3MapINS_16PointAccumulatorENS_19HierarchicalArray2DIS2_EELb1EEERSt6vectorIPNS0_5TNodeESaIS9_EE [slam_glass-1] process has died [pid 58800, exit code 127, cmd /home/user/catkin_ws/devel/lib/slam_glass/slam_glass scan:=base_scan __name:=slam_glass __log:=/home/user/.ros/log/1be7cabc-f226-11ec-8e64-492aa6be166f/slam_glass-1.log]. log file: /home/user/.ros/log/1be7cabc-f226-11ec-8e64-492aa6be166f/slam_glass-1*.log all processes on machine have died, roslaunch will exit shutting down processing monitor... ... shutting down processing monitor complete done

What did I do wrong?

kunle12 commented 2 years ago

have you compiled gmapping_glass/gmapping_export? looks like missing compiled object code. BTW, this code has been tested in (up to) Ubuntu 18.04. Not sure it works in the later version.

spion318203 commented 2 years ago

_"Clone the repository in a working catkin workspace. run ./configure under gmapping_glass/gmapping_export directory"_

~/catkin_ws/src/slam_glass/gmapping_export$ ./configure

No 'CXX' environment variable found, using g++.
No 'CC' environment variable found, using gcc.
Using C++ compiler: g++
Using C compiler: gcc
Checking for Qt 3.x ... 

*** Qt 3.x not found.  I'll make some educated guesses.  If this doesn't work, please set QT_INCLUDE, QT_LIB, MOC by hand in the file global.mk.

Checking for Aria libs 

*** ARIA not found, please set ARIA_INCLUDE and ARIA_LIB by hand

Checking bin directory /home/user/catkin_ws/src/slam_glass/gmapping_export/bin ... Ok.
Checking lib directory /home/user/catkin_ws/src/slam_glass/gmapping_export/lib ... Ok.
Carmen NOT FOUND.
If you have a carmen version installed please set the
CARMEN_HOME variable to the carmen path.