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

Inconsistent map generation when using Gmapping #52

Open
maker-ATOM opened this issue Mar 3, 2024 · 0 comments
Open

Inconsistent map generation when using Gmapping #52

maker-ATOM opened this issue Mar 3, 2024 · 0 comments

Comments

@maker-ATOM
Copy link

I have two sources of LiDAR sensor on the robot one in the front and other on the back with 270 field view for both, I am using https://github.com/ros-perception/slam_gmapping to generate the map. The odom => base_link transform is provide by GAZEBO. I am using the same launch file to launch ira_laser_merger node given in the package.

Gmapping does produce a map with merged LaserScan data but the map generated is a bit inconsistent,

Screenshot from 2024-03-03 17-01-19

The map generated by any of the front or rear LaserScan sensor is as expected,

Screenshot from 2024-03-03 17-00-52

Below is the metadata for all the sensor,

Merged:

header: 
  seq: 244
  stamp: 
    secs: 158
    nsecs: 274000000
  frame_id: "merge_lidar"
angle_min: -3.1414999961853027
angle_max: 3.1414999961853027
angle_increment: 0.005799999926239252
time_increment: 0.0
scan_time: 0.03333330154418945
range_min: 0.20000000298023224
range_max: 5.0

Front:

header: 
  seq: 15
  stamp: 
    secs: 134
    nsecs: 513000000
  frame_id: "front_lidar_sensor"
angle_min: -2.3561899662017822
angle_max: 2.3561899662017822
angle_increment: 0.008742820471525192
time_increment: 0.0
scan_time: 0.0
range_min: 0.20000000298023224
range_max: 5.0

Rear:

header: 
  seq: 565
  stamp: 
    secs: 191
    nsecs: 371000000
  frame_id: "rear_lidar_sensor"
angle_min: 0.7853900194168091
angle_max: 5.497769832611084
angle_increment: 0.008742820471525192
time_increment: 0.0
scan_time: 0.0
range_min: 0.20000000298023224
range_max: 5.0

What could be the reason which leads to such an inconsistent map generation using merged LaserScan data along with Gmapping ?

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

1 participant