Skip to content

2D positioning error occurred, the positioning program selected the wrong pointcloud2 topic #36

@ghost

Description

Dear Carlos,

I tried using your outstanding work and its positioning effect was very excellent. But I have encountered a problem now, and I have tried to modify the code or configuration file, but none of them can solve it. I sincerely hope that you can point out the mistakes I have made.

The problem I encountered is that /ambient_pointcloud is getting farther and farther away from the wall. Then the positioning data also showed a few centimeters of error compared to the actual data. /ambient_pointcloud becomes less attached to the wall as it runs, and then /aligned_pointcloud remains attached to the wall. I believe that the positioning data should be output by /aligned_pointcloud instead of /ambient_pointcloud , but the actual situation is that /ambient_pointcloud and radar /scan are attached, and the positioning data is also published based on /ambient_pointcloud.

What is in red in the picture is /aligned_pointcloud ,and what is in white in the picture is /ambient_pointcloud ,It can be seen that /aligned_pointcloud is in contact with the wall. And /ambient_pointcloud has error. And this error will gradually increase as the car runs, I guess it's due to compensation for the odometer. By the way, I confirmed that the odometer data is accurate.

image

/ambient_pointcloud and /scan are matched:
image

Only when I give it another initial position value will everything match and become normal.
image

This is my TF data, one radar, one Odom:
image

Here is my configuration file:
drl_configs.txt

launch file:
launch.txt

What can I do to make the location data based on /aligned_pointcloud ?

Wishing you a wonderful day!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions