Comments (8)
By replacing the current point interpolation based on the horizontal angle of a point with a simple linear interpolation based on the index of a point within its ring, I get a noticeably improvement in the mapping performance on the test data set.
Example code (surely not compiling):
point.intensity = ringID + SCAN_PERIOD * pointInRingIdx / ringSize;
However, I'm not sure if points of rings always arrive in order and scans may also pose wholes due to several reasons. So the above approach is certainly not the final answer to the problem, but it shows that the current implementation has some flaws with negative effects on the resulting performance. I'll look into this in more detail and let you know once I've figured out a proper and efficient solution. Shouldn't be that tough... ;)
from loam_velodyne.
@StefanGlaser for your information, I am planning to send a PR to the velodyne driver itself to avoid the issue of the starting index :)
from loam_velodyne.
Another FYI ;-)
I plan to port to ROS (anytime this or next week?) our C++ implementation of Velodyne driver that, among other things, collect "rings" / "scans" in a consistent order, always pack them in 360deg segments, includes options to programmatically change the Dual/Single return mode, etc. etc.
I'll push changes to: https://github.com/mrpt-ros-pkg/mrpt_sensors
I totally don't recommend using it for production, but testing will be more than welcome ;-)
from loam_velodyne.
Well it must be true that "great people think alike" ;)
That is very cool, thanks for mentioning it
from loam_velodyne.
To be honest, I didn't think about changing the driver. And I wonder if we would loose backward compatibility with certain datasets if we do so. I've already solved this issue with a refactoring of the corresponding logic. Just want to do some further testing before announcing my results.
On the other hand, getting reliable structured data would certainly simplify data extraction logic and probably also benefit the overall performance. Definitely worth a try.
from loam_velodyne.
@StefanGlaser in fact, i prefer to compute the ring and time in the driver, and make every scan a sorted pointcloud that the size for every ring is constant and same. similar with this https://github.com/01001HR/velodyne
from loam_velodyne.
After thinking about thins for some days I agree with you that changing the driver is certainly the best option. Getting reliable input data is crucial and ist's not the task of LOAM to handle all sort of driver issues.
from loam_velodyne.
Hello all,
This is really interesting an interesting issue. Since I am using the velodyne driver in my application, I was wondering if there was an update to it regarding the scan indices?
Thank you!
from loam_velodyne.
Related Issues (20)
- thanks @sysuzyc I already solved the problem: I was playing like this (pcap:=~/catkin_ws/data.pcap) and I read pcap files have to be played from the root like this: pcap:=/home/usuario/catkin_ws/data.pcap
- Can someone tell me where I can download the testing bag nsh_indoor_outdoor.bag? HOT 2
- Transformation data for robot_localization
- How can this loam build a completed map? HOT 1
- Some questions about system performance HOT 4
- No Point Cloud Showed in Rviz HOT 5
- Error transforming odometry 'Odometry' from frame '/camera_init' to frame 'camera_init' HOT 14
- Segmentation Fault on "multiScanRegistration" node HOT 5
- Questions about the interpolation of laser point. HOT 3
- VLP16 rosbag not longer avaliable HOT 3
- compute the curvature HOT 4
- Question about relSweepTime and _imuPositionShift HOT 1
- Questions about BasicLaserOdometry HOT 1
- Why only for velodyne? How about point cloud from realsense?
- memory buildup with outdoor lidar scan
- VLP-16 rosbag example link is broken
- VLP-16 rosbag example link is broken
- Build error: flann error? HOT 1
- Compatibility on ROS Noetic (Ubuntu 20.04)
- Hey @MontyTHall. Seems thatβs a problem with recent version of RViz. Just change the camera_init frame on rviz from /camera_init to //camera_init. That solved my problem.
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 loam_velodyne.