Skip to content
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

Adopt Livox lidar #39

Open
qiqzhang opened this issue Aug 11, 2024 · 2 comments
Open

Adopt Livox lidar #39

qiqzhang opened this issue Aug 11, 2024 · 2 comments

Comments

@qiqzhang
Copy link

Thanks for your wonderful job. When I adopt livox lidar with point time relative to first point time, header time use first lidar point time, but traj is drift than undistorted pointcloud. what should i do to adopt livox lidar

@qiqzhang
Copy link
Author

qiqzhang commented Aug 11, 2024

I change some code to adopt livox,only lidar + imu run, like this,
success = state->get_interpolated_pose(lidar_inL->time + lidar_inL->pointcloud->points[i].curvature * 1e-6, RGtoIi, pIiinG);

if ((*it)->time + state->lidar_dt.at((*it)->id)->value()(0) + (*it)->pointcloud->points[(*it)->pointcloud->points.size() -1 ].curvature * 1e-6 > state->newest_clone_time()) {
it++;
continue;
}

the gap of lidar first timestamp with last timestamp about 100ms, i also try use get_interpolated_pose_linear, but also misalign.
1、use get_interpolated_pose function, raw_remove_motion_blur set false
get_interpolated_pose
2、use get_interpolated_pose_linear function, raw_remove_motion_blur set false
image
3、raw_remove_motion_blur set true,pointcloud will mismatch;
undistorted

I try simulation with only lidar and set raw_remove_motion_blur true
roslaunch mins simulation.launch cam_enabled:=false lidar_enabled:=true the result is also mismatch, use get_interpolated_pose_linear is correct
image
if set raw_remove_motion_blur false,
roslaunch mins simulation.launch cam_enabled:=false lidar_enabled:=true the result is correct
image

anyone can

@muttistefano
Copy link

Hi @qiqzhang ,
Are you using the livox mid360 or another model?
I'm asking because the mid360 gives me some problems.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants