From 8ad1d8fcd992cd533a46d74243db7fb2f90bb95e Mon Sep 17 00:00:00 2001 From: Rick Staa Date: Wed, 3 Jan 2024 13:11:17 +0100 Subject: [PATCH] fix(joint_locker): fix string concat error (#214) --- panda_gazebo/src/panda_joint_locker_world_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda_gazebo/src/panda_joint_locker_world_plugin.cpp b/panda_gazebo/src/panda_joint_locker_world_plugin.cpp index 1669dbde..321bbe07 100644 --- a/panda_gazebo/src/panda_joint_locker_world_plugin.cpp +++ b/panda_gazebo/src/panda_joint_locker_world_plugin.cpp @@ -113,7 +113,7 @@ class PandaJointLockerPlugin : public WorldPlugin } res.success = true; - res.message = "Joint " + (req.lock ? "locking" : "unlocking") + " successful"; + res.message = std::string("Joint ") + (req.lock ? "locking" : "unlocking") + " successful"; return true; } };