Skip to content

Commit 751cd85

Browse files
authored
Define _USE_MATH_DEFINES in joint_soft_limiter.cpp to ensure that M_PI is defined (#2001)
1 parent 2da1417 commit 751cd85

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

joint_limits/src/joint_soft_limiter.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
// limitations under the License.
1414

1515
/// \author Adrià Roig Moreno
16+
#define _USE_MATH_DEFINES
1617
#include "joint_limits/joint_soft_limiter.hpp"
1718

1819
namespace joint_limits

0 commit comments

Comments
 (0)