Code Monkey home page Code Monkey logo

Comments (8)

BruceCanovas avatar BruceCanovas commented on July 4, 2024

In the launch file have you set the right camera_info topic? Are your images registered? There is also a parameter called depth_scale that has been set to 1.0 in this launch file. If your depth is given in mm you need to change it to 0.001.

from supersurfel_fusion.

hanxiumeng avatar hanxiumeng commented on July 4, 2024

@BruceCanovas yeah,it is the depth_scale problem

from supersurfel_fusion.

hanxiumeng avatar hanxiumeng commented on July 4, 2024

@BruceCanovas
But here is a new question.
when I run roslaunch supersurfel_fusion supersurfel_fusion_rviz.launch,
sometimes it will fail, sometimes it will run seccessful .
This error doesn't happen every time, it works out about once every three times,here is the log:

[ INFO] [1608202697.094077174]: rviz version 1.13.15
[ INFO] [1608202697.094101372]: compiled against Qt version 5.9.5
[ INFO] [1608202697.094106631]: compiled against OGRE version 1.9.0 (Ghadamon)
[ INFO] [1608202697.096317335]: Forcing OpenGl version 0.
[ INFO] [1608202697.600992242]: Stereo is NOT SUPPORTED
[ INFO] [1608202697.601028604]: OpenGl version: 4.6 (GLSL 4.6).
Camera info received
terminate called after throwing an instance of 'thrust::system::system_error'
what(): CUDA free failed: cudaErrorIllegalAddress: an illegal memory access was encountered

It says there's an illegal access to memory,
and I guess there's something wrong with the code

from supersurfel_fusion.

hanxiumeng avatar hanxiumeng commented on July 4, 2024

oh,the other thing I forgot to mention is that enable_mod still fails in this node

from supersurfel_fusion.

BruceCanovas avatar BruceCanovas commented on July 4, 2024

For the problem with moving object detection I suggest we don't mix the two issues.
For the rest, as I can't replicate those issues I would need more information in order to help you. Are you able to spot which part of the code is crashing?

from supersurfel_fusion.

hanxiumeng avatar hanxiumeng commented on July 4, 2024

@BruceCanovas

But here is a new question.
when I run roslaunch supersurfel_fusion supersurfel_fusion_rviz.launch,
sometimes it will fail, sometimes it will run seccessful .
This error doesn't happen every time, it works out about once every three times,here is the log:

[ INFO] [1608202697.094077174]: rviz version 1.13.15

[ INFO] [1608202697.094101372]: compiled against Qt version 5.9.5
[ INFO] [1608202697.094106631]: compiled against OGRE version 1.9.0 (Ghadamon)
[ INFO] [1608202697.096317335]: Forcing OpenGl version 0.
[ INFO] [1608202697.600992242]: Stereo is NOT SUPPORTED
[ INFO] [1608202697.601028604]: OpenGl version: 4.6 (GLSL 4.6).
Camera info received
terminate called after throwing an instance of 'thrust::system::system_error'
what(): CUDA free failed: cudaErrorIllegalAddress: an illegal memory access was encountered
It says there's an illegal access to memory,
and I guess there's something wrong with the code


oh,I think I might be trying to figure out what the problem is, maybe it's the image resolution.
1920x1080 and 960x540 both work well every time,
but the raw rgb and depth images from the sensor (512x424) will fail sometimes.

from supersurfel_fusion.

BruceCanovas avatar BruceCanovas commented on July 4, 2024

For the record, image dimension are not hadcoded in the code (or if it is somewhere it's my mistake). I tested my code mostly with VGA resolution ie. 640x480. Maybe there's a probleme with the grid and block dimension set for cuda kernels processing the images with this specific resolution.

from supersurfel_fusion.

hanxiumeng avatar hanxiumeng commented on July 4, 2024

yeah,I guess so. Thanks a lot !

from supersurfel_fusion.

Related Issues (11)

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.