Comments (11)
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.
@Nurgak Thank you so much!!
It worked out my problem magically!
from elevation_mapping.
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.
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.
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.
@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.
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.
@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.
@baishibona thank you ,but i only have kinect1,but no IMU or GPS and so on,Can I run out?
from elevation_mapping.
@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.
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)
- Is there any quadruped robot simulation?
- Can elevation mapping be used for a flat terrain indoor environment as well? HOT 1
- How to save elevation map? HOT 3
- Where can I get the data after postprocessor_pipeline? Does it really work?
- the function "setRawSubmapHeight", xand y are reversed? HOT 1
- Orientation Issue in Elevation Mapping HOT 9
- Holes/Empty spaces while elevation mapping and previous mapped points removed after the robot moves from that place
- migration to ros2 humble? HOT 3
- Cannot launch node - turtlesim3 demo
- The flat ground maps are cluttered with color HOT 1
- can you explain the equation about "state reduction" for me HOT 1
- EigenPlugins/FunctorsPlugin.hpp cannot find it
- Create a map based on map center point
- Some Info needed for building elevation_mapping in ROS2 Humble. HOT 2
- leg filterig for quadruped robots (in the ele_map legs are mapped as well) HOT 3
- the map vanish when it is not visible HOT 1
- Position of cells
- How can i get the height value of a particular cell
- error launching `point_cloud_io` node when trying to run `ground_truth_demo` example
- Variance Propagation errors HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elevation_mapping.