paris_carla_simulator icon indicating copy to clipboard operation
paris_carla_simulator copied to clipboard

`L3D2_georeferencing.py` fails when the frames of point clouds are generated with nbr_frame > 10000 in `L3D2_data_generator.py`

Open ShigemichiMatsuzaki opened this issue 2 years ago • 0 comments

Hi, thank you for your great work.

I am trying to utilize your source code to generate a point cloud map that covers the entire map of the town in CARLA simulator. I tried to do so by simply increasing the parameter nbr_frame to a bigger value like 20000 in L3D2_data_generator.py The script succeeds, but the following script L3D2_georeferencing.py fails with a error in l. 60 tf = np.vstack((line_pose[:-1].reshape(3,4), [0,0,0,1])). I believe the line is converting a line read from the file to 4x4 transformatiom matrix, and the cause of the error is that line_pose[:-1] has no value.

In l.26 in L3D2_data_generator.py, you did mention #MAX = 10000. This means the script can generate only up to 10000 frames? And why is that? I could not figure out which part is hindering changing that parameter.

It'll be very much appreciated if you give me some advice. I cannot provide the error messages at this exact moment, but I am happy to do it later on if needed.

Thanks.

ShigemichiMatsuzaki avatar Aug 25 '22 13:08 ShigemichiMatsuzaki