Code Monkey home page Code Monkey logo

Comments (3)

YukunXia avatar YukunXia commented on August 17, 2024

if (!detach_VO_LO)
{
para_q[0] = vloam_tf->velo_last_VOT_velo_curr.getRotation().x();
para_q[1] = vloam_tf->velo_last_VOT_velo_curr.getRotation().y();
para_q[2] = vloam_tf->velo_last_VOT_velo_curr.getRotation().z();
para_q[3] = vloam_tf->velo_last_VOT_velo_curr.getRotation().w();
para_t[0] = vloam_tf->velo_last_VOT_velo_curr.getOrigin().x();
para_t[1] = vloam_tf->velo_last_VOT_velo_curr.getOrigin().y();
para_t[2] = vloam_tf->velo_last_VOT_velo_curr.getOrigin().z();
// new (&q_last_curr) Eigen::Map<Eigen::Quaterniond>(para_q);
// new (&t_last_curr) Eigen::Map<Eigen::Vector3d>(para_t);
}

上面这段是VO初始化LO的代码。所有transformation相关的在都存在vloam_tf这个object里。

from vloam-cmu-16833.

xiosi avatar xiosi commented on August 17, 2024

谢谢您,其实是想看看frame to frame和MO结合的高频率输出是如何实现的,现在看到了。

q_w_curr_highfreq = q_wmap_wodom * q_wodom_curr;
t_w_curr_highfreq = q_wmap_wodom * t_wodom_curr + t_wmap_wodom;

from vloam-cmu-16833.

YukunXia avatar YukunXia commented on August 17, 2024

谢谢您,其实是想看看frame to frame和MO结合的高频率输出是如何实现的,现在看到了。

q_w_curr_highfreq = q_wmap_wodom * q_wodom_curr;
t_w_curr_highfreq = q_wmap_wodom * t_wodom_curr + t_wmap_wodom;

嗯没事,其实这两行是ALOAM写的,然后ALOAM我其实主要是改了下的input output的接口,统一了代码风格。

from vloam-cmu-16833.

Related Issues (18)

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.