apollo icon indicating copy to clipboard operation
apollo copied to clipboard

Segmentation fault (core dumped) then run NDT localization

Open AlexandrZabolotny opened this issue 5 years ago • 10 comments

Hi team!

Help me if you can.

I am trying to run ndt localization. But I get the following error Segmentation fault (core dumped). It looks like it appears in this place
Maybe someone has some ideas?

AlexandrZabolotny avatar Mar 15 '21 13:03 AlexandrZabolotny

But to be more precise, the error occurs at this function. Probably my file format is not correct. Can anyone suggest how to check the correctness of the map ??

AlexandrZabolotny avatar Mar 16 '21 08:03 AlexandrZabolotny

@AlexandrZabolotny I'm sorry to bother you. I'd like to ask you that did you solve this problem? I use apollo6.0 and run "cyber_launch start ndt_localization.launch ".And I get the same error "Segmentation fault (core dumped)". I think maybe it's not the problem of the map , because I use the same ndt_map in apollo5.0 and ndt_localization works well . My situation is the process stop every time when the callback func is executed. So can you use ndt_localization in apollo 6.0 now ? If you can ,could you please tell me how to use it ? I'm really appreciate for your help!

blacksheep0303 avatar Aug 23 '21 15:08 blacksheep0303

@AlexandrZabolotny @blacksheep0303 I also got same issue, any suggestion for it? Appreciate for your help!

marf-cn avatar Aug 30 '21 09:08 marf-cn

It looks like a format problem, have you tried to regenerate the map in version 6.0?

daohu527 avatar Aug 31 '21 00:08 daohu527

It looks like a format problem, have you tried to regenerate the map in version 6.0?

I am creating a map in pre6 version. And get next errors

shatl@in_dev_docker:/apollo$ mainboard -d /apollo/modules/localization/dag/dag_streaming_ndt_localization.dag WARNING: Logging before InitGoogleLogging() is written to STDERR I1012 14:43:26.930702 12437 module_argument.cc:81] []command: mainboard -d /apollo/modules/localization/dag/dag_streaming_ndt_localization.dag I1012 14:43:26.931145 12437 global_data.cc:155] []host ip: 10.152.1.30 I1012 14:43:26.931326 12437 module_argument.cc:57] []binary_name_ is mainboard, process_group_ is mainboard_default, has 1 dag conf I1012 14:43:26.931335 12437 module_argument.cc:60] []dag_conf: /apollo/modules/localization/dag/dag_streaming_ndt_localization.dag E1012 14:43:27.996141 12437 base_map.cc:102] [mainboard]/apollo/modules/localization/map/ndt_map/map/config.xml E1012 14:43:28.990384 12447 base_map.cc:142] [mainboard]Preload map node failed! E1012 14:43:28.990486 12447 base_map.cc:142] [mainboard]Preload map node failed! E1012 14:43:28.990543 12447 base_map.cc:142] [mainboard]Preload map node failed! E1012 14:43:28.990602 12447 base_map.cc:142] [mainboard]Preload map node failed! E1012 14:43:28.996131 12447 base_map.cc:142] [mainboard]Preload map node failed! E1012 14:43:28.996186 12447 base_map.cc:142] [mainboard]Preload map node failed! E1012 14:43:28.996245 12447 base_map.cc:142] [mainboard]Preload map node failed! E1012 14:43:28.996290 12447 base_map.cc:142] [mainboard]Preload map node failed! E1012 14:43:28.996345 12447 base_map.cc:142] [mainboard]Preload map node failed!

AlexandrZabolotny avatar Oct 12 '21 11:10 AlexandrZabolotny

@daohu527 Is there a way to use this tool to build a map in Apollo?

AlexandrZabolotny avatar Oct 12 '21 12:10 AlexandrZabolotny

These errors show that the map is read from the hard disk, and it seems that there is nothing wrong with it

daohu527 avatar Oct 12 '21 12:10 daohu527

These errors show that the map is read from the hard disk, and it seems that there is nothing wrong with it

WARNING: Logging before InitGoogleLogging() is written to STDERR I1012 14:43:26.930702 12437 module_argument.cc:81] []command: mainboard -d /apollo/modules/localization/dag/dag_streaming_ndt_localization.dag I1012 14:43:26.931145 12437 global_data.cc:155] []host ip: 10.152.1.30 I1012 14:43:26.931326 12437 module_argument.cc:57] []binary_name_ is mainboard, process_group_ is mainboard_default, has 1 dag conf I1012 14:43:26.931335 12437 module_argument.cc:60] []dag_conf: /apollo/modules/localization/dag/dag_streaming_ndt_localization.dag E1012 14:43:27.996141 12437 base_map.cc:102] [mainboard]/apollo/modules/localization/map/ndt_map/map/config.xml E1012 14:43:28.990384 12447 base_map.cc:142] [mainboard]Preload map node failed! E1012 14:43:28.990486 12447 base_map.cc:142] [mainboard]Preload map node failed! E1012 14:43:28.990543 12447 base_map.cc:142] [mainboard]Preload map node failed! E1012 14:43:28.990602 12447 base_map.cc:142] [mainboard]Preload map node failed! E1012 14:43:28.996131 12447 base_map.cc:142] [mainboard]Preload map node failed! E1012 14:43:28.996186 12447 base_map.cc:142] [mainboard]Preload map node failed! E1012 14:43:28.996245 12447 base_map.cc:142] [mainboard]Preload map node failed! E1012 14:43:28.996290 12447 base_map.cc:142] [mainboard]Preload map node failed! E1012 14:43:28.996345 12447 base_map.cc:142] [mainboard]Preload map node failed! Segmentation fault (core dumped) shatl@in_dev_docker:/apollo$

AlexandrZabolotny avatar Oct 12 '21 12:10 AlexandrZabolotny

@AlexandrZabolotny I'm sorry to bother you. I'd like to ask you that did you solve this problem? I use apollo6.0 and run "cyber_launch start ndt_localization.launch ".And I get the same error "Segmentation fault (core dumped)". I think maybe it's not the problem of the map , because I use the same ndt_map in apollo5.0 and ndt_localization works well . My situation is the process stop every time when the callback func is executed. So can you use ndt_localization in apollo 6.0 now ? If you can ,could you please tell me how to use it ? I'm really appreciate for your help!

I have the same problem for Apollo 5

AlexandrZabolotny avatar Oct 12 '21 16:10 AlexandrZabolotny

亲们 我想问下关于ndt localization 哪个版本是好用的? 我适配一下。msf那个定位地图离线怎么制作呢? 感觉基本没有解决阿。

gunsand avatar Mar 14 '23 11:03 gunsand