Code Monkey home page Code Monkey logo

Comments (6)

qdLMF avatar qdLMF commented on May 30, 2024

Try use config/params-campus.yaml

from lio-sam-gpu-scantomapopt.

xiaoxueshengyao avatar xiaoxueshengyao commented on May 30, 2024

Try use config/params-campus.yaml

Thanks for your reply. I had tried to use the yaml, but the drift is still occured. I tried to use more iteration, while the optimization can not converge even if the iteration is setted to 300.

from lio-sam-gpu-scantomapopt.

qdLMF avatar qdLMF commented on May 30, 2024

Try use config/params-campus.yaml

Thanks for your reply. I had tried to use the yaml, but the drift is still occured. I tried to use more iteration, while the optimization can not converge even if the iteration is setted to 300.

Does it drift when using other bag files?

from lio-sam-gpu-scantomapopt.

xiaoxueshengyao avatar xiaoxueshengyao commented on May 30, 2024

Yes, I had tried several bags. All of them drifted.

from lio-sam-gpu-scantomapopt.

xiaoxueshengyao avatar xiaoxueshengyao commented on May 30, 2024

方便交流我用中文了,在我测试发现calc_surf_coeff.cu中计算面方程式使用qr分解去计算系数,但是所有得到的系数都是nan,两种方法都是同样的结果
代码如下
`for(int i = 0; i<5; i++)
{
printf("matA0: %f %f %f \n",matA0(i,0),matA0(i,1),matA0(i,2));
}

// ColPivHouseholderQR5x3 qr_decomp(matA0);
ColPivHouseholderQRNx3<5> qr_decomp(matA0);
matX0 = qr_decomp.Solve(matB0);
printf("matX0 %f %f %f\n",matX0(0,0),matX0(1,0),matX0(2,0));`

对应打印如下
image

from lio-sam-gpu-scantomapopt.

qdLMF avatar qdLMF commented on May 30, 2024

尝试将cuda_plane_line_odometry/CMakeLists.txt中的set(CMAKE_CUDA_ARCHITECTURES 52)中的52改成你的GPU的compute capability
或者,使用注释掉的// ColPivHouseholderQR5x3 qr_decomp(matA0);
这里的qr分解,我原先想直接用Eigen的,但是报了超多模板错误,实在调不通无奈之下才写了这么个5x3的版本
我在其它项目中也碰上过关于Eigen的诡异错误
看来在kernel内盲目使用Eigen也许是个不成熟的决定

from lio-sam-gpu-scantomapopt.

Related Issues (2)

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.