Lockstep argument cause segmentation fault when dynamic spawn a model with sensor plugin.

asked 2021-03-11 07:48:34 -0500

jianwu gravatar image

updated 2021-03-11 07:49:27 -0500

I write a sensor plugin and assemble it a robot that needs to be dynamically loaded to the gazebo environment. I found when spawn first model with this plugin, it works fine. However, once the second model is spawned, it will report a segmentation fault error.

when I disable the lockstep option, the "segmentation fault " error disappears.

So, how to fixes this "segmentation fault " with lockstep option?

gazebo version: 9.16, ubuntu 18.04

edit retag flag offensive close merge delete