Comments (6)
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.
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.
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.
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.
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.
Without odom it simply give bad results.
from cartographer_ros.
Related Issues (20)
- cartographer package for ros2 humble build issue HOT 1
- 2.5D options and capabilities
- roslaunch Cartographer, RViz map cannot be displayed HOT 1
- Manually Set Pose in Reset
- Is the compression/expansion of a line scan when rotating taken into account? HOT 2
- How to extract ONLY odometry from cartographer?
- Dropped empty horizontal range data Warning and map not received HOT 7
- Could someone help me with this issue? This at times builds map sometimes doesn't, robot is unable to localize itself if there is map. How can I resolve this? Any help would be much appreciated.
- unlimited submaps are created even in pure localization mode (with submaps<3)
- relocation R_X86_64_TPOFF32 against symbol
- Using TF odometry instead of `/odom`
- Cartographer Map obstacles keep disappearing
- ros melodic Compilation failure HOT 4
- Need to change map to base_link transform values
- Is there a way to select z_min and z_max height of pointcloud in 3d slam? HOT 1
- What should I do if the constructed map has ghosting ?
- How to get Ground truth and use it for comparison ??
- can
- Access Issue with Backpack_2D Bag File on Google Cloud Storage HOT 1
- Demo bag files are not available to download HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cartographer_ros.