Git Product home page Git Product logo

Comments (4)

sebastiantorres1 avatar sebastiantorres1 commented on September 17, 2024

I had made a research in the lasermappin.cpp code and apparently the process stops working in this part of the code:

if(!vk::camera_loader::loadFromRosNs("laserMapping", lidar_selector->cam))
throw std::runtime_error("Camera model not correctly specified.");

Have you faced this problem?

I tried your solution and it doesn't fix my problem.

from fast-livo.

IaroslavS avatar IaroslavS commented on September 17, 2024

vk::camera_loader::loadFromRosNs("laserMapping", lidar_selector->cam

Yes, I faced similiar problem, check out config file that you use when launching, for example this config file
https://github.com/hku-mars/FAST-LIVO/blob/main/config/camera_NTU_VIRAL.yaml#L1
has field cam_model which should be one of the set {Ocam, Pinhole, ATAN}

Check or edit this file
https://github.com/uzh-rpg/rpg_vikit/blob/master/vikit_ros/include/vikit/camera_loader.h
that repository (https://github.com/uzh-rpg/rpg_vikit/) is a submodule for fast-livo

from fast-livo.

sebastiantorres1 avatar sebastiantorres1 commented on September 17, 2024

Apparently i just have to change the camera model "Pinhole" to "ATAN" in the configuration, but now it only shows the camera and the trajectory, but not the lidar odometry in the rviz like this image shows

Screenshot from 2023-02-06 10-07-11

How did you solve this?

from fast-livo.

xuankuzcr avatar xuankuzcr commented on September 17, 2024

As for our provided bags, you should use Pinhole camera model. While running your own collected dataset, choose the camera model according to your device.

from fast-livo.

Related Issues (20)

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.