points processing inside callback function in approximate_ndt_mapping node

asked 2020-03-16 13:46:56 -0500

Pallav gravatar image

updated 2020-03-22 12:56:23 -0500

I created multiple submaps using "approximate_ndt_mapping" node in the "lidar_localizer" package of the AUTOWARE stack. On viewing the code, I noticed that output PCD is being processed and exported from within the callback function. From what I have learnt, this isn't a good approach. Is it? Correct me if I am wrong.

I witnessed that while saving the PCD files in ASCII format, with a submap_size of 100m, the Output PCD size was around 80MB, plus it took around 6 seconds to output the file. Whereas in case of Binary PCD, delay was in milliseconds with size around 30MB.

I used Autoware 1.12, ROS kinetic on UBUNTU 16.04.

approximate_ndt_mapping node: LINK

edit retag flag offensive close merge delete