JokerJohn / LIO_SAM_6AXIS

LIO_SAM for 6-axis IMU and GNSS.
585 stars 116 forks source link

RTK and lio has yaw offset. roslaunch lio_sam_6axis run.launch with hkust_20201105full.bag. #8

Closed lucianzhong closed 2 years ago

lucianzhong commented 2 years ago

using run.launch with hkust_20201105full.bag, and there is an yaw offset between rtk path and lio path. Please have a look. Thanks a lot.

Screenshot from 2022-06-09 11-21-17

JokerJohn commented 2 years ago

@lucianzhong In fact, this has no effect, you ONLY need to wait a while for it to automatically align. Because I adopted a new strategy in the GPS initialization module, and optimized it together after accumulating 20 GPS factors of good quality. This can avoid many problems, since our GPS data is not stable encough, and it is not RTK-GPS.

lucianzhong commented 2 years ago

Thanks a lot for the quick reply.
我这边跑您提供的bag,刚开始lio很稳定,但是和gps的yaw偏差很大,然后跑一段时间后,到了一个空旷的地方,lio会乱跳,完全不能定位了,和gps的path不能align

lucianzhong commented 2 years ago

想请问一下,您那边有没有遇到过类似的问题,或者一些代码的提示,非常感谢。

JokerJohn commented 2 years ago

Thanks a lot for the quick reply. 我这边跑您提供的bag,刚开始lio很稳定,但是和gps的yaw偏差很大,然后跑一段时间后,到了一个空旷的地方,lio会乱跳,完全不能定位了,和gps的path不能align

确认你用的是最新版本的code,如果还是这个问题的话,我再检查一下代码版本。

JokerJohn commented 2 years ago

想请问一下,您那边有没有遇到过类似的问题,或者一些代码的提示,非常感谢。

我刚更新了代码,确认无误,详细的视频教程将在2个小时后完成上传。 image

JokerJohn commented 2 years ago

想请问一下,您那边有没有遇到过类似的问题,或者一些代码的提示,非常感谢。

按这个视频操作: https://www.bilibili.com/video/BV1dY411M7hr/

lucianzhong commented 2 years ago

非常感谢,我试一下

lucianzhong commented 2 years ago

可以了,太感谢了, star, fork ,follow 一键三连了 :smile:

JokerJohn commented 2 years ago

可以了,太感谢了, star, fork ,follow 一键三连了 smile

要适配自己的传感器数据的话,我在readme中也更新了操作视频链接!(B站稍晚,需要审核)

lucianzhong commented 2 years ago

期待 :stuck_out_tongue_winking_eye: