Giter Club home page Giter Club logo

Comments (6)

damonkohler avatar damonkohler commented on June 4, 2024

Upon further consideration, this really only requires a node that converts LaserScan messages into PointCloud2 messages. Everything else should just work TM. @skohlbr, thoughts?

from cartographer_ros.

skohlbr avatar skohlbr commented on June 4, 2024

In principle yes, there are some detail questions about the target frame used for the conversion and resulting accuracy.

For highest accuracy, one would like to use high fidelity projection, taking motion of the LIDAR during scan acquisition into account. If one assumes odometry is good, it would make sense to aggregate scan points in the odom frame, but the sensor pose is lost then.

Another option is to convert to a cloud in a non-rotating frame relative to the spinning LIDAR to compensate for scan distortion from rotation and then provide this to cartographer. This requires the robot to provide a suitable non-rotating frame however.

The easiest option is to just use simple projection and ignore scan distortion from rotation. This will likely introduce a bias in the map over time, however.

A small conversion node is this one: https://github.com/team-vigir/vigir_lidar_proc/blob/master/vigir_laserscan_to_pointcloud/src/laserscan_to_pointcloud_node.cpp
If use_high_fidelity_projection is false, it will convert the scan to the same frame as the original scan using simple projection. If true, it converts to a frame given by target_frame using high fidelity projection.

from cartographer_ros.

damonkohler avatar damonkohler commented on June 4, 2024

For the VLP data, we treat each UDP packet of data as rigid. The laser scan to point cloud converter could subdivide the laser scan into n segments to simulate that behavior.

from cartographer_ros.

skohlbr avatar skohlbr commented on June 4, 2024

Yes, that should indeed be a workable solution. Our VLP hasn't arrived yet, was not aware that it delivers data in such small chunks.

from cartographer_ros.

skohlbr avatar skohlbr commented on June 4, 2024

Small heads up, created a fully working example setup of a robot with a spinning LIDAR here: https://github.com/tu-darmstadt-ros-pkg/cartographer_hector_tracker
Launch setup currently uses aforementioned vigir_laserscan_to_pointcloud to convert from scan to cloud.

There is a simulation-based bag file example available, but I'm also preparing a real robot dataset.

from cartographer_ros.

athtest800 avatar athtest800 commented on June 4, 2024

Without odom it simply give bad results.

from cartographer_ros.

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.