apollo icon indicating copy to clipboard operation
apollo copied to clipboard

What is the problem in my local map which is needed to use msf localization?

Open HyeonnSeo opened this issue 1 year ago • 0 comments

As I read the next guide, I tried to create a local map for MSF (Multi-Session Functions) using the script msf_local_map_creator.sh.

The command I used is bash scripts/msf_local_map_creator.sh modules/localization/msf/local_map/pcd1/ modules/localization/msf/local_map/pcd1/pose.txt 52 modules/localization/msf/local_map/pcd1

With my pcd files and pose.txt file, I made a local map like the picture below.

00000000

My pcd files have no problem. I checked them by visualizing like below. image

I didn't know what is the problem.

My pose.txt file is like below. File sequence timestemp extrinsic between lidar and center of car(x, y, z, qx, qy, qw, qz) in order.

1 946687228.991864 0 0.6 1.085 0 0 0.7009093 0.7132504
2 946687229.041862 0 0.6 1.085 0 0 0.7009093 0.7132504
3 946687229.141841 0 0.6 1.085 0 0 0.7009093 0.7132504
4 946687229.192108 0 0.6 1.085 0 0 0.7009093 0.7132504
5 946687229.291850 0 0.6 1.085 0 0 0.7009093 0.7132504
6 946687229.391825 0 0.6 1.085 0 0 0.7009093 0.7132504
7 946687229.442077 0 0.6 1.085 0 0 0.7009093 0.7132504
8 946687229.541581 0 0.6 1.085 0 0 0.7009093 0.7132504
9 946687229.642319 0 0.6 1.085 0 0 0.7009093 0.7132504
10 946687229.692541 0 0.6 1.085 0 0 0.7009093 0.7132504

Please let me know to solve this problem or any other method to make a local map to execute msf localization.

HyeonnSeo avatar Mar 11 '24 11:03 HyeonnSeo