Open werner291 opened 3 years ago
Thank you for pointing it out, but could you please create a pull-request to fix this issue? It sounds like you already fixed it in your own setup.
Pull request opened. I fixed it in user code, but adding that line to the source should fix it as well.
Hello,
see the line: https://github.com/ros-planning/moveit_visual_tools/blob/c166f8ee6412023b4183fc091abe6acbcdba2448/src/moveit_visual_tools.cpp#L1254
That line can segfault, because the
robot_model_
may be a null pointer. This is possibly due to me using MoveIt without a source of "current" robot state information, I just want to plan hypothetical paths.Looks like that method is missing a
loadSharedRobotState();
.Calling that method from user code beforehand makes causes the segfault to disappear.