Skip to content
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

kitti timestamps #2

Closed
dongfangzhou1108 opened this issue Oct 18, 2021 · 7 comments
Closed

kitti timestamps #2

dongfangzhou1108 opened this issue Oct 18, 2021 · 7 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@dongfangzhou1108
Copy link

great appreciate with opening your great work!
first, can you provide dataset passcord to me, no one relpy in mail,
second, And when I see kitti website, the raw point cloud data do not have time information except scan begin and end time,
How do you get the time information?

thanks a lot
best wishes!

@jedeschaud
Copy link
Owner

Hello,
The password for the dataset folder is : npm3d
CT-ICP does not need the real timestamp of points but only the relative timestamp inside one scan.
For KITTI dataset, we compute the timestamp from the azimuth of points in a scan.
Here the Python line to compute the timestamp :
data[:,3] = float(i-FIRST_INDEX_FRAME)/10.0 + (-np.arctan2(data[:,1], data[:,0])/np.pi+1.0)*0.05

Best Regards

@dongfangzhou1108
Copy link
Author

Thank you very much!

@dongfangzhou1108
Copy link
Author

sorry,Can you provide the python code for me?thanks a lot!

@jedeschaud
Copy link
Owner

PLY_Scans_from_KITTI_raw_data.zip

@dongfangzhou1108
Copy link
Author

thanks for your code,
but when i check the code, data[:,3] = float(i-FIRST_INDEX_FRAME)/10.0 + (-np.arctan2(data[:,1], data[:,0])/np.pi+1.0)*0.05,
by experiment, i find the beginning of the scan is from back of the lidar,
can you explain it to me? thanks a lot,

here is my experiment, this is a scan ,and the height(z) is the output of float(i-FIRST_INDEX_FRAME)/10.0 + (-np.arctan2(data[:,1], data[:,0])/np.pi+1.0)*5, (ten times of orgin, for viewing), by matlab
image

@dongfangzhou1108
Copy link
Author

i have seen in ct_icp code, you use the max and min of time to compute, but i guess there have a problem?

thank u very much

@pdell-kitware
Copy link
Collaborator

thanks for your code, but when i check the code, data[:,3] = float(i-FIRST_INDEX_FRAME)/10.0 + (-np.arctan2(data[:,1], data[:,0])/np.pi+1.0)*0.05, by experiment, i find the beginning of the scan is from back of the lidar, can you explain it to me? thanks a lot,

here is my experiment, this is a scan ,and the height(z) is the output of float(i-FIRST_INDEX_FRAME)/10.0 + (-np.arctan2(data[:,1], data[:,0])/np.pi+1.0)*5, (ten times of orgin, for viewing), by matlab image

Hi,

This is not a problem, KITTI's Lidar frames start behind the car, and turn clockwise (when considering the direction of motion),

@pdell-kitware pdell-kitware reopened this Oct 28, 2021
@pdell-kitware pdell-kitware self-assigned this Oct 28, 2021
@pdell-kitware pdell-kitware added the good first issue Good for newcomers label Oct 28, 2021
@jedeschaud jedeschaud reopened this Nov 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants