From f0626e2a4a3db4066f7f02aac1f7dbb1a3068d0e Mon Sep 17 00:00:00 2001 From: Robert Haschke Date: Mon, 26 Feb 2024 08:41:28 +0100 Subject: [PATCH] MSA: Add missing filename attribute to gazebo plugin tag (#3572) --- moveit_setup_assistant/src/widgets/simulation_widget.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/moveit_setup_assistant/src/widgets/simulation_widget.cpp b/moveit_setup_assistant/src/widgets/simulation_widget.cpp index af8fa6fab4a..6c2fd6c8582 100644 --- a/moveit_setup_assistant/src/widgets/simulation_widget.cpp +++ b/moveit_setup_assistant/src/widgets/simulation_widget.cpp @@ -311,7 +311,8 @@ std::string SimulationWidget::generateGazeboCompatibleURDF() const // Add gazebo_ros_control plugin which reads the transmission tags TiXmlElement* gazebo = uniqueInsert(*root, "gazebo"); - TiXmlElement* plugin = uniqueInsert(*gazebo, "plugin", { { "name", "gazebo_ros_control", true } }); + TiXmlElement* plugin = uniqueInsert( + *gazebo, "plugin", { { "name", "gazebo_ros_control", true }, { "filename", "libgazebo_ros_control.so", true } }); uniqueInsert(*plugin, "robotNamespace", {}, "/"); // generate new URDF