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

Lidar converter #21

Closed
ffent opened this issue Apr 7, 2021 · 3 comments
Closed

Lidar converter #21

ffent opened this issue Apr 7, 2021 · 3 comments

Comments

@ffent
Copy link

ffent commented Apr 7, 2021

Hi,

I really want to thank you for your great work. I'm currently working on a lidar converter to use your code with a lidar sensor different from a Velodyne sensor and would like to ask for some further information. Could you please provide the PointField message as part of the PointCloud2 message of the /velodyne_points ROS topic, which the lidar_detector is subscribing to?

I'm currently working with the following PointField message, but getting errors from the lidar detection node.

sensor_msgs/PointField
fields:
    -
        name: "x"
        offset: 0
        datatype: 7
        count: 1
    -
        name: "y"
        offset: 4
        datatype: 7
        count: 1
    -
        name: "z"
        offset: 8
        datatype: 7
        count: 1
    -
        name: "intensity"
        offset: 12
        datatype: 7
        count: 1
    -
        name: "ring"
        offset: 16
        datatype: 4
        count: 1

@EaiPool
Copy link
Member

EaiPool commented Apr 9, 2021

You should be alright with these fields: all that's required is x, y, z and ring (see here).

The way the pcl stuff works is kind of obtuse though, so if you need more help please post the exact error message that you get.
I also see you've opened a new issue, please let me know if that one supercedes this one.

@ffent
Copy link
Author

ffent commented Apr 9, 2021

Thanks @EaiPool for your quick response. The PointCloud2 message seems not to be the issue but rather the configuration of the lidar detector. I opened a new issue (#22) regarding this topic and would be very thankful if you could help me out on this.

@ffent ffent closed this as completed Apr 9, 2021
@avinash-yadav1
Copy link

@EaiPool @ffent currently i'm using Ouster lidar and i tried to run the Lidar detector node with it unfortunately i'm getting an error: Failed to find match for field 'ring'. Please help me on this how to resolve it.

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

No branches or pull requests

3 participants