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

Do the VLP-16 axes in Rviz match the axes in the User Manual? #71

Closed
DavidB-CMU opened this issue Jan 29, 2016 · 5 comments
Closed

Do the VLP-16 axes in Rviz match the axes in the User Manual? #71

DavidB-CMU opened this issue Jan 29, 2016 · 5 comments
Labels

Comments

@DavidB-CMU
Copy link

Do the cartesian axes of the PointCloud from the VLP-16 (as seen in Rviz) match the axes shown in Velodyne's User Manual?
For me it looks to be different.

http://velodynelidar.com/docs/manuals/VLP-16%20User%20Manual%20and%20Programming%20Guide%2063-9243%20Rev%20A.pdf

Here are the x,y,z axes specified in the User Manual:
vlp-16_axes_from_manual

This is those same axes in relation to the real sensor:
vlp-16_axes

With the sensor in this same position, when I look at the PointCloud in Rviz, the axes of the /velodyne frame appear to be different by 1 rotation of 90 degrees.
You can see the x-axis and y-axis are in a different position:
vlp-16_axes_in_rviz

@jack-oquin
Copy link
Member

You are correct: this driver's coordinates do not match the diagram in the the VLP-16 manual.

The driver translates points into X, Y, Z coordinates the same way it does for other Velodyne models. It follows the standard ROS coordinate conventions from REP-0103 for axis orientation, so the X axis points to the "front" of the device.

Is that what you are seeing? Would you prefer it to work differently?

@DavidB-CMU
Copy link
Author

Ok yes so I'm seeing the correct axes as per the ROS convention for cameras.

I don't mind, software is easy to modify, but it could be useful to add that to the documentation.
Thanks Jack. I can close this ticket.

@jack-oquin
Copy link
Member

If you prefer to use the manufacturer's coordinate convention, it's easy to define a TF frame of reference that is 90 degrees to the right of the velodyne frame of reference.

@Kaiser1401
Copy link

Kaiser1401 commented Mar 22, 2017

I have a related question to this.

Is this 'Coordinate-System-Change' only done for the Velodyne 16? The axes from the 32 seem to match with the ones in the manual. I couldn't find a different handling of 16 and 32 though in the code yet.

@jack-oquin
Copy link
Member

All models should work the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants