Skip to content

Commit

Permalink
fix(joint_locker): fix string concat error (#214)
Browse files Browse the repository at this point in the history
  • Loading branch information
rickstaa authored Jan 3, 2024
1 parent 3251cb3 commit 8ad1d8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panda_gazebo/src/panda_joint_locker_world_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
};
Expand Down

0 comments on commit 8ad1d8f

Please sign in to comment.