Closed sai5555 closed 2 years ago
If you can set the z-axis acceleration of imu to -9.8, it will be helpful to construct the map. https://gist.github.com/eithwa/2aeca51fc093a284d928cb3784ee2782
If you can set the z-axis acceleration of imu to -9.8, it will be helpful to construct the map. https://gist.github.com/eithwa/2aeca51fc093a284d928cb3784ee2782
Hi Eithwa Thank your response quickly and good parameters. I find these key parameters using scan_matching and POSE_GRAPH.optimalization that improve map's accuracy.
By the way , I have other environment (office but no enclosed space) http://blackdragonyu.synology.me:5000/d/s/lv9mfG9Cdsdwq9T9xXH2juYBfRTKuPAh/XvL0cLltf0F9ncRmfqfoNeRZ96DF3FJG-x7wAB7u7AAk
withIMU.lua : Using IMU data (add -9.8 to imu's acceleration's z by flat_world_imu_node)
woIMU.lua : without using IMU data
The following are created map by two lua file 1.withIMU.lua (add -9.8 acceleration cause map's skew..)
2.woIMU.lua
3.Gmapping
I changed some parameters https://gist.github.com/eithwa/2aeca51fc093a284d928cb3784ee2782
I changed some parameters https://gist.github.com/eithwa/2aeca51fc093a284d928cb3784ee2782
Hi Eithwa Very thank you again. It is magic. I try your parameters can help us. I will study your optimal parameters. Besides , do you give comments for me about IMU's tune strategy about accelerometer.(IMU device is realsense D435i. ) The gryo's value is good but I dont know accelerometer's value how to tune for cartographer. Could cartographer also use accelerometer.x value besides z ? Imu's install position of robot is 0.4 m height from floor.
I think there is a problem with the angular velocity and modify it. When the terrain is flat, I think acceleration have little effect when constructing a 2d map. btw I'm sorry, it should be set to 9.8 in linear_acceleration.z
I think there is a problem with the angular velocity and modify it. When the terrain is flat, I think acceleration have little effect when constructing a 2d map. btw I'm sorry, it should be set to 9.8 in linear_acceleration.z
Hi Eithwa I got it . I will set accelerometer.z value to 9.8. thanks. But I dont know why the angular_vel.z equal to -angular_vel.y in your picture ?
When the robot turns, the angular velocity of the y axis changes, which I think is incorrect.
When the robot turns, the acceleration of the y axis changes, which I think is incorrect.
Thanks again. I found sloppy mistake of angular velocity from realsense's gyro data. I will correct it.
Dear
I use real robot to run cartographer and gmapping for environment. (Lidar is rplidar S1)
But created map by gmapping have good effect than cartographer.
please help me , thanks.
The following link are launch(including static's tf) , bag , woIMU.lua . http://blackdragonyu.synology.me:5000/d/s/ltL5ttGBKd2X3uZVZuU8bRMKCZwtb7Hb/YXXYk4Sr7g9BE6pJEwfEpL_Uyp-A4kkN-hrqglEBR_wg
bag : /odom /scan_original /imu/data (Only gyro without accelerometer)
lua :
When I run cartographer_bag_validate to validate bag.
rosrun cartographer_ros cartographer_rosbag_validate -bag_filename filtered.bag
How to tune lidar's time for the message "Point data (frame_id: "laser_link") has a large gap, largest is 0.578122 s, recommended is [0.0005, 0.05] s with no jitter." ? I use standard arguments for rplidar S1
Gmapping (black zone is forbidden zone , please skip it)
Cartographe r