-
Notifications
You must be signed in to change notification settings - Fork 177
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
GPS trajectory and SLAM trajectory seem to have different orientations #13
Comments
Hello @zxjhit,
Sure, I assume you can run the ROS player for MulRan Datasets.
The data in gps.csv is organized in the same form as sensor_msgs/NavSatFix.msg, which is (1) timestamp, (2) latitude, (3) longitude, (4) altitude, (5-13) position_covariance.
For visualization, as far as I know there are three popular ways: (1) [ROS_leaflet_gps] (I used above), (2) Mapvis (I am now using), (3) rviz_satellite. For comparison, evo seems to be the most popular one. For a deeper understanding, you may need to learn about the conversion between LLA, ECEF, and ENU. I hope the above can help you~ Best regards, |
Hello @SunZezhou , |
Hello @zxjhit, |
Hello @SunZezhou @zxjhit, Best regards, |
Hi @SunZezhou @zxjhit , I solved this problem by changing the gps topic in the yaml file to "odometry/navsat". After that the orientation of the gps and the slam are the same. By setting down the value at poseCovThreshold you can achieve an even better gps reference of the base_link frame. This worked for me at the end and hopefully for you as well. |
Hello,
I tried to add GPS topic to SC-LIO-SAM, but the GPS trajectory and SLAM trajectory seem to have different orientations.
Before I ran run_mulran.launch, the things I changed were:
imu0: /imu/data_raw
<remap from="imu/data" to="imu/data_raw" />
navsat_link
Here are the results of the KAIST01 sequence in the MulRan dataset:
Since this angle is not 90 degrees, it does not seem to be a problem caused by the ENU coordinate system (As far as the information I refer to, Xsens yaw output is defined as the angle between East (X) and the horizontal projection of the sensor roll axis ).
I also tried to modify the tf between imu_link/navsat_link and base_link in the robot.urdf.xacro file according to the suggestions in the params_mulran.yaml file, but it does not seem to affect the results.
Am I missing any steps?
Thanks,
Zezhou Sun
The text was updated successfully, but these errors were encountered: