Laser scan doesn’t match the default map

asked 2020-02-06 03:50:48 -0500

Chiang Jerry gravatar image

updated 2020-02-07 01:06:56 -0500

I have some problem when i’m trying to do the navigation. Here’s the problem: when i localize my robot on the map. The laser can match the default map. But when i start to do the navigation(even if when i rotate the robot). The laser will no longer match the default map. I found that almost every navigation needs the laser scan be fixed to the default map so it should be a problem. Hope someone can help me figure out what’s the problem. As i only use the lidar and see the result. The scan data will also rotate as i rotate the lidar. When i used hector slam. The scan data won’t rotate even if i rotate the lidar so i think that here is the key that makes everything right. But i don’t know if i’m right. If anyone have any idea please help me!

edit retag flag offensive close merge delete

Comments

1

It would be helpful if you could share some more info about your setup, e.g. which packages / nodes are you using, which additional inputs do you have (odom?), etc.

Mbuijs gravatar image Mbuijs  ( 2020-02-07 00:24:46 -0500 )edit

i tried to use this file as an example to correct my file, but it still doesn't work . https://github.com/Art-robot0/carebot...

Chiang Jerry gravatar image Chiang Jerry  ( 2020-02-07 00:40:34 -0500 )edit

It would be helpful if you could share some more info about your setup, e.g. which packages / nodes are you using, which additional inputs do you have (odom?), etc.

billy gravatar image billy  ( 2020-02-07 17:46:44 -0500 )edit

Since i'm new to ros answer so i don't have the right to post pivtures or files. i use this github as an example to do the navigation. https://github.com/Art-robot0/carebot... i can match the lidar with my map when i do the localize but when i give my robot a goal, the lidar won't match the map again since the robot has moved. i found that most of the navigation guide won't have this kind of problem but now i faced it and have no idea what's going on.

Chiang Jerry gravatar image Chiang Jerry  ( 2020-02-10 03:36:53 -0500 )edit

Is this issue solved? I'm having the same issue if done can u please help me out

Aditya_chandra gravatar image Aditya_chandra  ( 2021-04-05 07:39:59 -0500 )edit