From 751cd8538e034f55c1b543f8c0338fbdb2a96913 Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Wed, 15 Jan 2025 19:40:23 +0100 Subject: [PATCH] Define _USE_MATH_DEFINES in joint_soft_limiter.cpp to ensure that M_PI is defined (#2001) --- joint_limits/src/joint_soft_limiter.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/joint_limits/src/joint_soft_limiter.cpp b/joint_limits/src/joint_soft_limiter.cpp index 315b236d64..14eab8e41a 100644 --- a/joint_limits/src/joint_soft_limiter.cpp +++ b/joint_limits/src/joint_soft_limiter.cpp @@ -13,6 +13,7 @@ // limitations under the License. /// \author AdriĆ  Roig Moreno +#define _USE_MATH_DEFINES #include "joint_limits/joint_soft_limiter.hpp" namespace joint_limits