Coder Social home page Coder Social logo

Comments (7)

matlabbe avatar matlabbe commented on June 10, 2024

The vins estimator should use camera_link as camera frame instead of camera. Maybe there is a config in vins to change it.

from rtabmap.

t1tqq avatar t1tqq commented on June 10, 2024

Thank you for your reply. I have already solved that issue.
However, it seems that the map I obtained has some problems.
This map is saved in ~/.ros/rtabmap.db. When I check Cloud and Odom under the image, the map coordinate system appears to be incorrect.
2024-02-25 20-10-52屏幕截图

But when I only check Cloud, the map looks fine.
2024-02-25 20-11-03屏幕截图

Is this a normal phenomenon, or do I need to perform coordinate transformations somewhere? Another question is, I plan to use this map for navigation in the next step. How can I utilize rtabmap.db? What should I do next? Could you please give me some help or suggestions? Thank you!

from rtabmap.

matlabbe avatar matlabbe commented on June 10, 2024

That Odom checkbox is to see the cloud in odom frame (roll, pitch) instead of base frame. That cloud is only visualizing a single node in the map. Open the database in rtabmap app instead, it will show the 3d point cloud of all nodes in map frame.

To use the map for navigation, we often relaunch rtabmap in localization mode. See Advanced section here.

from rtabmap.

t1tqq avatar t1tqq commented on June 10, 2024

I have already saved rtabmap.db. Could you please provide more details on how to open the database in the rtabmap app? What is this rtabmap app?

from rtabmap.

matlabbe avatar matlabbe commented on June 10, 2024

Are you using ROS?

$ rtabmap rtabmap.db

from rtabmap.

t1tqq avatar t1tqq commented on June 10, 2024

I used the command rtabmap-databaseViewer ~/.ros/rtabmap.db to view the map. The 3D point cloud of individual nodes seems fine, but the Occupancy grid formed by the 3D point clouds of all nodes is too messy, and the 2D map is also messy.
2024-02-29 20-39-38屏幕截图
2024-02-29 20-39-20屏幕截图

So, is my rtabmap.db file normal? If it is normal, how can I obtain a 2D map that can be used for navigation? This is my rtabmap.db compressed file.
rtabmap.zip

Thank you for your help.

from rtabmap.

matlabbe avatar matlabbe commented on June 10, 2024

The odometry pose looks wrong:
image

For that that particular node by looking at the actual image, I would have expected a roll and pitch value around 0.1 rad at most (slightly rotated on right, slight pitch towards ground), not -1.88 rad in roll.

It feels like the odometry is giving the pose of the IMU frame instead of the camera frame. There could be a 90 deg offset between these two frames. You could change the frame_id of rtabmap node to use the same frame than vins-fusion is using (e.g., imu frame).

from rtabmap.

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.