Comments (8)
Hello @zxjhit,
- Can you tell me how to use gps data in MulRan Dataset?
Sure, I assume you can run the ROS player for MulRan Datasets.
You can subscribe the /gps/fix
topic just like you do in other Datasets.
- I saw gps.csv and global pose.csv in MulRan Dataset.But I can't recognise what the number mean in the csv file?
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.
I haven't used globa_pose.csv, but I guss it's similar to gps.csv, just replace (2-4) with xyz.
- Is there any introduction about the use of gps file?
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 personally recommend you to read simpleGpsOdom.cpp in LIO_SAM_6AXIS, which has inspired me a lot.
I hope the above can help you~
Best regards,
Zezhou Sun
from sc-lio-sam.
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:
- Change the imu topic in line 125 of params_mulran.yaml to:
imu0: /imu/data_raw
- Remap the imu topic in line 15 of module_navsat_mulran.launch to:
<remap from="imu/data" to="imu/data_raw" />
- Change the frame_id of the GPS topic in the MulRan dataset to:
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
Hello, Mr. Sun.Can you tell me how to use gps data in mulran Dataset?I saw gps.csv and global pose.csv in MulRan Dataset.But I can't recognise what the number mean in the csv file?Is there any introduction about the use of gps file?As I want to use gps data as groundtruth to evalutate my slam algorithm.你好,尊敬的孙同学,我想请问一下您是怎么使用mulran数据集的gps数据的,我看到了数据集里的gps.csv和global_pose.csv,但不知道每个数字代表的意思,您能告诉我您是怎么使用数据集里的gps数据么,如能回复,不胜感激。
from sc-lio-sam.
Hello @zxjhit,
- Can you tell me how to use gps data in MulRan Dataset?
Sure, I assume you can run the ROS player for MulRan Datasets. You can subscribe the
/gps/fix
topic just like you do in other Datasets.
- I saw gps.csv and global pose.csv in MulRan Dataset.But I can't recognise what the number mean in the csv file?
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. I haven't used globa_pose.csv, but I guss it's similar to gps.csv, just replace (2-4) with xyz.
- Is there any introduction about the use of gps file?
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 personally recommend you to read simpleGpsOdom.cpp in LIO_SAM_6AXIS, which has inspired me a lot.
I hope the above can help you~
Best regards, Zezhou Sun
Hello @SunZezhou ,
Thank you for replying patiently very much.And thank you again.Your reply helped me a lot.And I have kown why I dont konw how to use the gps data.That's because the ROS player for MulRan Datasets which I downloaed is an older version,it doesn't support to play gps data.That's why I was confused.And now I have updated the version of the player,and it works and plays gps sucessfully.And thank you again for your help.
However,after reading gps data successfully,I plotted GPS data and slam output trajectory with evo,and I got the same problem as yours.And the result is here:
i.e.the GPS trajectory and SLAM trajectory seem to have different orientations. I guess that the problem is caused by the uncorrect IMU orientation estimate at the first running time of SLAM.But I don't know how to solve this problem up till now.I guess fuse the gps data into SLAM algorithm(LIO-SAM) is a good way.Can you tell me how did you solve this problem at last?I appreciate your reply.
from sc-lio-sam.
Hello @zxjhit,
I have not solved this problem so far, so I do not add magnetometer information.
I am using this modified version: LIO_SAM_6AXIS.
from sc-lio-sam.
Hello @SunZezhou @zxjhit,
I am facing the same problem as you guys. Did anybody solved this problem without using the modified version LIO_SAM_6AXIS?
Best regards,
Lennard
from sc-lio-sam.
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.
from sc-lio-sam.
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:
1. Change the imu topic in line 125 of params_mulran.yaml to: `imu0: /imu/data_raw` 2. Remap the imu topic in line 15 of module_navsat_mulran.launch to: `<remap from="imu/data" to="imu/data_raw" />` 3. Change the frame_id of the GPS topic in the MulRan dataset to: `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
您好,请问您是如何把轨迹映射在卫星地图上的呀
from sc-lio-sam.
Hi @isqjsnao,
I used leaflet in the picture.
Now, I use mapviz more often.
from sc-lio-sam.
Related Issues (20)
- Loop closure fails on reverse direction HOT 1
- rough surface looses lock HOT 1
- Some drawing problems of experimental diagrams
- Can not run launch file HOT 2
- Feel confused about loopFindNearKeyframesWithRespectTo() function HOT 2
- mapOtimization is killed while trying to save data HOT 1
- why sc-lio-sam and mulran player support different gps message types? HOT 1
- gtsam.readG2o does not read the singlesession_posegraph.g2o file
- Test with 270 degree lidar
- imuPreintegration node problem
- Detect loop closure between two frames are not overlap HOT 3
- Is SC-LIO-SAM based on "scan context ++" ?
- Mulran can not play imu topic HOT 1
- Problems during calculation of loop constraints
- missing code
- when im running roslaunch lio_sam run.launch, lio_sam_mapOptmization-4 HOT 1
- Error in catkin_make
- LVI-SAM+Scan Context
- catkin_make error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sc-lio-sam.