Comments (3)
For stereo the data an image synced with a pointcloud is received here
and a depth image is computed from the cloud here. This doesn't seem to work, as this function says there are no depth values in your cloud.
Not sure why it crashes then. I don't have time to investigate. As a quick fix, I recommend you insert the check for depth-less cloud/depth-image somewhere here and just abort processing of that image+cloud in that case (just return from stereoCallback()).
from rgbdslam_v2.
Thanks! Turns out the problem isn't related to the depth image. I implemented your fix and it skips depth-less depth images, but when the depth image isn't empty, it throws the same warning and opencv error and then crashes (re-copied below for clarity). We'll keep looking into it ourselves, but if you have any ideas we would be grateful.
`[ WARN] [1607436291.753501698, 24.719500000]: "openni_rgb_optical_frame" passed to lookupTransform argument target_frame does not exist.
[ WARN] [1607436291.753555448, 24.719500000]: Using Standard kinect /openni_camera -> /openni_rgb_optical_frame as transformation (This message is throttled to 1 per 5 seconds)
OpenCV Error: Assertion failed (i1 >= 0 && j < ndsts && dst[j].depth() == depth) in mixChannels, file /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/modules/core/src/convert.cpp, line 614
terminate called after throwing an instance of 'cv::Exception'
what(): /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/modules/core/src/convert.cpp:614: error: (-215) i1 >= 0 && j < ndsts && dst[j].depth() == depth in function mixChannels
REQUIRED process [rgbdslam-25] has died!
`
from rgbdslam_v2.
Then, the best first step is finding out where the error occurs. Try obtaining a stack trace. Either run rgbdslam in gdb (see here for to do it with a launch file), or enable core dumps (ulimit -c unlimited) and inspect it with gdb (gdb /path/to/rgbdslam ./core). In gdb "bt" will give you the backtrace. You may need to switch to the respective thread first.
from rgbdslam_v2.
Related Issues (20)
- what(): Time is out of dual 32-bit range (using rosbag)
- g2ofork build isuue HOT 1
- Running rgbd slam v2 on sequence of images/frames from video
- can not compile due to /usr/bin/ld: cannot find -lIL HOT 1
- Problem
- CMake Error:_SOLVER_CHOLMOD_LIB notfound HOT 1
- rgbdslam_v2 shutdown when receiving images
- docker image can be nice HOT 1
- Nothing is being published on /rgbdslam/batch_clouds HOT 1
- error: call of overloaded ‘round(float)’ is ambiguous HOT 2
- Is /imu topic used when I run rosluanch rgbdslam.lauch? HOT 2
- Error while loading shared libraries: libg2o_ext_freeglut_minimal.so: cannot open shared object file: No such file or directory HOT 3
- With the topics set according to kinect v2 node, Nothing show on GUI HOT 1
- error: no matching function for call to ‘g2o::BlockSolver<g2o::BlockSolverTraits<-1, -1> >::BlockSolver(g2o::BlockSolver<g2o::BlockSolverTraits<-1, -1> >::LinearSolverType*&)’ = new g2o::BlockSolverX(linearSolver); HOT 1
- GlobalUtil.cpp:(.text._ZN10LiteWindowD2Ev[_ZN10LiteWindowD5Ev]+0x43):undefined reference to `__glutInit
- REQUIRED process [rgbdslam-25] has died! HOT 3
- could you please supply a docker image? HOT 1
- ubuntu16.04 ROSkinetic collect2: error: ld returned 1 exit status makefile:169: recipe for target 'siftgpu' failed make[3]: *** [siftgpu] Error 1 HOT 1
- Using a monocular camera to run rgbdslamv2 HOT 5
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 rgbdslam_v2.