Giter Site home page Giter Site logo

Comments (11)

Nurgak avatar Nurgak commented on July 30, 2024 6

I found a solution: you need to build the package with -DCMAKE_BUILD_TYPE=Release argument, so for me it was catkin build elevation_mapping -DCMAKE_BUILD_TYPE=Release.

The node will stop throwing the segmentation fault error and work properly. I found it by following the node debug procedures and ended up on this issue page.

from elevation_mapping.

baishibona avatar baishibona commented on July 30, 2024

@Nurgak Thank you so much!!
It worked out my problem magically!

from elevation_mapping.

pfankhauser avatar pfankhauser commented on July 30, 2024

Dear @baishibona and @Nurgak, thanks for reporting and investigating this. This is a problem I cannot currently solve as it is related to a problem with PCL/Boost and Debug mode/C++11. I will re-open this issue to keep track of the situation.

from elevation_mapping.

skohlbr avatar skohlbr commented on July 30, 2024

I also ran into this issue, which as Peter said appears to be related to PointCloudLibrary/pcl#619. For reference, this is the backtrace I'm getting:

(gdb) bt
#0  0x00007ffff1f46ae0 in boost::math::lanczos::lanczos_initializer<boost::math::lanczos::lanczos17m64, long double>::init::init() ()
   from /usr/lib/libpcl_sample_consensus.so.1.7
#1  0x00007ffff1f1e5ce in ?? () from /usr/lib/libpcl_sample_consensus.so.1.7
#2  0x00007ffff7dea10a in call_init (l=<optimized out>, argc=argc@entry=3, 
    argv=argv@entry=0x7fffffff8348, env=env@entry=0x7fffffff8368)
    at dl-init.c:78
#3  0x00007ffff7dea1f3 in call_init (env=<optimized out>, 
    argv=<optimized out>, argc=<optimized out>, l=<optimized out>)
    at dl-init.c:36
#4  _dl_init (main_map=0x7ffff7ffe1c8, argc=3, argv=0x7fffffff8348, 
    env=0x7fffffff8368) at dl-init.c:126
#5  0x00007ffff7ddb30a in _dl_start_user () from /lib64/ld-linux-x86-64.so.2
#6  0x0000000000000003 in ?? ()
#7  0x00007fffffff87bc in ?? ()
#8  0x00007fffffff8801 in ?? ()
#9  0x00007fffffff881b in ?? ()
#10 0x0000000000000000 in ?? ()

Would a temporary fix be adding https://github.com/ethz-asl/pcl_catkin to the workspace and thus compiling PCL from source?

from elevation_mapping.

skohlbr avatar skohlbr commented on July 30, 2024

Any updates/ideas for this problem? It seems it's gotten worse (?) for us, with us getting loops of std::bad_alloc segfaults (spawn, crash, respawn, crash...) even when compiled in Release mode on multiple (but not all) machines we tried.

from elevation_mapping.

pfankhauser avatar pfankhauser commented on July 30, 2024

@skohlbr Have you tried building pcl from source with C++11? According to here this should solve the problem. It's strange that the problem has gotten worse for you, especially since the problem is related to the Debug mode. Are you sure that this is the same problem?

from elevation_mapping.

 avatar commented on July 30, 2024

I have kinect and binocular camera, can tell me how to use these two devices running it, please, I need your detailed instructions @pfankhauser @baishibona @dljsjr

from elevation_mapping.

baishibona avatar baishibona commented on July 30, 2024

@wojiaojiao I think there is "starleth_kinect_demo.launch" which you might try with kinect, however not sure what to do with stereo cameras(depending on the driver for that), you might want to adjust your topic name for point cloud msg.
good luck.

from elevation_mapping.

 avatar commented on July 30, 2024

@baishibona thank you ,but i only have kinect1,but no IMU or GPS and so on,Can I run out?

from elevation_mapping.

 avatar commented on July 30, 2024

@baishibona @Nurgak @skohlbr @dljsjr i use kinect1 roslaunch starleth_kinect_demo.launch.but in rviz have nothing,the terminal show:
[ERROR] [1489454583.211567394]: Could not get pose information from robot for time 1489454583.211551. Buffer empty?
[ERROR] [1489454583.211595878]: Updating process noise failed.

how can i solve it, Please help me

from elevation_mapping.

maximilianwulf avatar maximilianwulf commented on July 30, 2024

Closing due to inactivity, feel free to re-open. If possible please provide a way to recreate it with the waffle demo.

from elevation_mapping.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.