GithubHelp home page GithubHelp logo

alexstaravoitau / kitti-dataset Goto Github PK

View Code? Open in Web Editor NEW
298.0 298.0 92.0 49.15 MB

Visualising LIDAR data from KITTI dataset.

Home Page: http://www.cvlibs.net/datasets/kitti/raw_data.php

License: Apache License 2.0

Jupyter Notebook 99.39% Python 0.61%
kitti kitti-data kitti-dataset point-cloud

kitti-dataset's People

Contributors

alexstaravoitau avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kitti-dataset's Issues

Object shape unnatural

Hi,

Thanks for sharing!

The visualized 3D bbx shape looks unnatural to me. I find that your way of defining local coordinates and converting the yaw angle to its corresponding rotation matrix is different from kitti dev kit:
trackletBox = np.array([
[-l / 2, -l / 2, l / 2, l / 2, -l / 2, -l / 2, l / 2, l / 2],
[w / 2, -w / 2, -w / 2, w / 2, w / 2, -w / 2, -w / 2, w / 2],
[0.0, 0.0, 0.0, 0.0, h, h, h, h]
]),
rotMat = np.array([
[np.cos(yaw), -np.sin(yaw), 0.0],
[np.sin(yaw), np.cos(yaw), 0.0],
[0.0, 0.0, 1.0]
])

as opposed to the kitti dev kit (Matlab):
% 3D bounding box corners
x_corners = [l/2, l/2, -l/2, -l/2, l/2, l/2, -l/2, -l/2];
y_corners = [0,0,0,0,-h,-h,-h,-h];
z_corners = [w/2, -w/2, -w/2, w/2, w/2, -w/2, -w/2, w/2];

% compute rotational matrix around yaw axis
R = [+cos(object.ry), 0, +sin(object.ry);
0, 1, 0;
-sin(object.ry), 0, +cos(object.ry)];

Could you explain a bit why they are different?

Thanks

Provide a licence

Hello, i really enjoyed reading your article and your repository about the kitti dataset exploration.
Im an computer science student and would really like to use your code for further kitti dataset exploration and machine learning tasks.
Would be great if you could add a licence to your repository so i can refer to it.
;)

Errors in executing the code

Hi Alex,
I am trying to execute your code & use some parts of it to improve sensing for self driving cars. I am constantly facing null error in Xml file and there's a syntax error in accessing same localhost file. Please go through the drive link for reference. I am fairly new to this and your clarification might help me for my graduate project.
Awaiting your reply. Thank you for your valuable time.
Kind Regards,
Chinmay Upadhye

https://drive.google.com/open?id=1I12Ge_SEFK8XSbn760Xp_2UjmlN6ULMc

Question about Velodyne Data

Hi, can you help me with a question?
I've been working with Velodyne for a while, and kitti is a very good dataset to me because I don't have to label stuff myself. But the problem is that in my project I use raw points from Velodyne, which only has distance and reflectivity and comes in firing order. Velodyne data from kitti is not stored in firing order, nor is it possible to convert (x, y, z) coordinate back to raw point. Actually the number of points in each file is not even multiple of 64. So could you come up with any idea how I could order the points in firing order? Or at least I could put all 64 points with same rotation together?
Many thanks.

Labels

Hi
Where did you obtain the labels from?

KITTI map same but differnt oientation when plotted with cartogrpaher and groundtruth

Hi,
Thanks for this awesome project. Really helped me a lot.

I had a question, rather an issue that I am not able to solve.

I used groundtruth ktti poses and converted it to tum (timestamp x y z q_x q_y q_z q_w)format using the code here: https://github.com/MichaelGrupp/evo.
Further, I used cartogrpaher to run SLAM on a sequence 005(2011_09_30 - 0018). I have to calcualte the error between both the poses for my research.

However when I plot both the pose maps, they have different orientation, although the overall structure is the same.
Here is the glimpse of the same.
without-calib

I am not able to align it, which is required for finding ate/rpe between the poses.

The trajectory txt required to plot this image is as followd:
kitti05.txt
&
kitti_2011_09_30_drive_0018_synced.bag.txt

It woulbe great if someone could throw light on this and help me figure out the correct way to aligb both the trajectories.

error when running code

Hi,
Thank you for your work. I have problem when running your code:

  File "test.py", line 75, in load_tracklets_for_frames
    for translation, rotation, state, occlusion, truncation, amtOcclusion, amtBorders, absoluteFrameNumber in tracklet:
TypeError: iter() returned non-iterator of type 'list'

Please help me to fix this.

Best regards

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.