gazebo_ros2_control
gazebo_ros2_control copied to clipboard
Segmentation fault if mimicked joint is not found
Just tried (by accident) what happens if a referenced joint is not found: the plugin generates a segmentation fault
[gzserver-1] Segmentation fault (core dumped)
without any further hints in the console nor with the gazebo log files
(1646065923 267684426) [Err] [Model.cc:1157] Exception occured in the Load function of plugin with name[gazebo_ros2_control] and filename[libgazebo_ros2_control.so]. This plugin will not run. (1646065923 267702460) Exception occured in the Load function of plugin with name[gazebo_ros2_control] and filename[libgazebo_ros2_control.so]. This plugin will not run.
@destogl Where should this error message appear?
https://github.com/ros-simulation/gazebo_ros2_control/blob/698d01381423cea3232a78ab0ada7eb12cd6d40b/gazebo_ros2_control/src/gazebo_system.cpp#L180-L183