LIO-SAM icon indicating copy to clipboard operation
LIO-SAM copied to clipboard

frames going crazy

Open Zermelo-101 opened this issue 1 year ago • 1 comments

Hi We are using liosam with an ouster lidar on ROS2. We have been having a problem with the lidar_link and odom frames. The picture below shows the frames on rviz. The lidar wasn't even moving. We tried to simulate a 9 axis imu with the imu of the ouster lidar by doing the following:

`imuData.orientation.w = 1.0
        imuData.orientation.x = 0.0 
        imuData.orientation.y = 0.0
        imuData.orientation.z = 0.0
        imuData.orientation_covariance = (
            100000.0, 0.0, 0.0,
            0.0, 100000.0, 0.0,
            0.0, 0.0, 100000.0)`
``

![image](https://user-images.githubusercontent.com/74428609/227377862-015960ed-c626-46a2-8e84-90f1e6301b47.png)

What do you think could be the issue? 
Note that this way of simulating the 9 axis imu worked for us in our ROS1 project version


Zermelo-101 avatar Mar 23 '23 22:03 Zermelo-101

I think i have a simular issue. I am using Humble on Ubunto 22.04 and a bag file of ouster os0-128. The lidar and base_link frames are jumping all over the place in rviz. I use imu_filter_madgwick from https://github.com/CCNYRoboticsLab/imu_tools to add the orientation Axes for my imu. Did you solve the issue?

AylonPinto95 avatar Mar 21 '24 07:03 AylonPinto95