-
Notifications
You must be signed in to change notification settings - Fork 642
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The startOrientation of the point cloud from rosbag is not consistent with pcap file #219
Comments
There are two reasons why the point clouds don't match the PCAP results:
@spuetz is working on number one in #214 but the other issue has not yet been addressed. |
Thanks,Whitley! There are two questions I have to ask. 1.what does semi-random mean? The points in the pointcloud array are not arranged by time? 2.About the second reason you mentioned, I got that. You meant that pcap always waits for the beginning of a scan, and the driver don't. That can explain why the startOrientation of the point cloud is not around 0 degree(the start of pacp file). But there is a problem. Why different frame received by driver in a continuous time have a different startOrientation? The reason I supposed that is the semi-random you mention? Thank you very much! |
|
@JWhitleyAStuff That's so nice of you! I get that point, thank you to solve my problem! Good luck! |
Hello @JWhitleyAStuff ! |
@zorosmith - See my response in #248. |
Hello @JWhitleyAStuff , did you have any idea to obtain the same first point using this driver now? I also meet with this problem. Look forward to your reply. |
Hello @wwtinwhu , How did you solve this problem to obtain the same first point finally? Could you share your method? Look forward to your reply. |
@wwtinwhu / @zorosmith - Both of these issues have been resolved with new features. Setting the |
Thank you for your great work! It works !
On 07/22/2019 19:01, Joshua Whitley wrote:
@wwtinwhu / @zorosmith - Both of these issues have been resolved with new features. Setting the organize_cloud property to true and setting cut_angle to 6.28318530718 (2 × π) should make one point cloud equal one rotation and organize the cloud. In theory, this should make point index 0 always be the first point in each rotation. Let me know if this works for you!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Hi,Whitley. First of all, thank you for your contribution on velodyne-drivers. It is really good. But I have found a problem when I want to calculate the start orientation of the pointcloud.
As usual, I use the function pcl::fromROSMsg() to get pointcloud. And I suppose the first element of the pointcloud is the first point from the pointcloud which is first fired and received because there is no more infomation. So next I use atan2() to calculate the orientation. I found that the value varies a lot between different frames.
So,next, I use VeloView to display the pacp file. I found that the start orientation of the frame is almost around 0 degree.
So,What do you think about this? How can I get the start orientation of the pointcloud? May be I can just use the 0 degree? Thank you very much!
Picuture
This picture demonstrates that the start point of the frame is around 0 degree which is labeled red in the left.
The text was updated successfully, but these errors were encountered: