ouster-lidar / ouster_example

Ouster, Inc. sample code
Other
448 stars 432 forks source link

Odometry data from Pcap files #559

Open BIGINCHI opened 8 months ago

BIGINCHI commented 8 months ago

Is there any way to obtain Odometry data to know if my lidar pcap file is moving left or right, because when im viewing the frames all the frames update at the 0,0,0 origin and has no translation. so i want to know if there is any method to extract translation and rotation data from the ouster files.

image

so instead of all files merging at the center i want to have all the frames updated, overlapped and stitched one after another, i have tried using icp method to combine all the files but it has been ineffective and very slow with in accurate 3d reconstructions. Any help regarding this would be of great help.

Platform (please complete the following information):

bexcite commented 7 months ago

Hi @BIGINCHI,

You can try kiss-icp integration to get poses and then use --kitti-poses param for ouster-cli viz to visualize registered 3d point cloud:

pip install ouster-sdk kiss-icp
kiss_icp_pipeline --deskew ./OS-0-128_v3.0.1_1024x10.pcap
ouster-cli source ./OS-0-128_v3.0.1_1024x10.pcap viz --kitti-poses ./results/latest/OS-0-128_v3.0.1_poses_kitti.txt --accum-map

image

It's all the same viz: https://static.ouster.dev/sdk-docs/python/viz/viz-scans-accum.html#viz-scans-accum