Cartographer is a system that provides real-time simultaneous localization and mapping (SLAM) in 2D and 3D across multiple platforms and sensor configurations.
Apache License 2.0
7.04k
stars
2.24k
forks
source link
Huge remaining work in queue when use imu data #1962
Hi, I am working on 2D cartographer pure localization mode with 2 lidars, imu and wheel odometry, The localization works with a 0.025 m resolution map. A huge number of "remaining work in queue" is reported by the pose_graph_2d logger. But when setting the use_imu_data=false, the number of "remaining work in queue" can be contained around zero. I am not sure what I am doing wrong. Any advice? Thank you.
output info
sensor rate:
[INFO] [1720429049.037858296] [cartographer logger]: I0708 16:57:29.000000 104893 collated_trajectory_builder.cc:81] odom rate: 20.00 Hz 5.00e-02 s +/- 8.02e-04 s (pulsed at 100.00% real time)
[INFO] [1720429049.037902965] [cartographer logger]: I0708 16:57:29.000000 104893 collated_trajectory_builder.cc:81] scan rate: 34.05 Hz 2.94e-02 s +/- 6.54e-04 s (pulsed at 100.00% real time)
[INFO] [1720408160.936455319] [cartographer logger]: I0708 11:09:20.000000 2700 collated_trajectory_builder.cc:81] imu rate: 20.04 Hz 4.99e-02 s +/- 1.84e-04 s (pulsed at 99.93% real time)
[INFO] [1720408160.936529662] [cartographer logger]: I0708 11:09:20.000000 2700 collated_trajectory_builder.cc:81] odom rate: 20.01 Hz 5.00e-02 s +/- 4.79e-04 s (pulsed at 100.13% real time)
[INFO] [1720408160.936550716] [cartographer logger]: I0708 11:09:20.000000 2700 collated_trajectory_builder.cc:81] scan rate: 34.06 Hz 2.94e-02 s +/- 7.14e-04 s (pulsed at 100.04% real time)
Hi, I am working on 2D cartographer pure localization mode with 2 lidars, imu and wheel odometry, The localization works with a 0.025 m resolution map. A huge number of "remaining work in queue" is reported by the pose_graph_2d logger. But when setting the
use_imu_data=false
, the number of "remaining work in queue" can be contained around zero. I am not sure what I am doing wrong. Any advice? Thank you.output info
sensor rate:
cartographer output:
cartographer localization configure