You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
* Fixed possible nullpointer segfault
Fix for #94
* safeguard more uses
The last one forces a valid RobotState through the method API,
so we can get the RobotModel from there without loading anything else.
Co-authored-by: v4hn <[email protected]>
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.
The text was updated successfully, but these errors were encountered: