1 parent c867283 commit 38ba0d2Copy full SHA for 38ba0d2
1 file changed
src/ilqr/robot_utils.cpp
@@ -3,6 +3,12 @@
3
#include <fstream>
4
#include <sstream>
5
#include <cstring>
6
+#include <cmath>
7
+
8
+// Define M_PI (for MSVC/Windows compatibility)
9
+#ifndef M_PI
10
+#define M_PI 3.14159265358979323846
11
+#endif
12
13
RobotUtils::RobotUtils()
14
: model_(nullptr), data_(nullptr), data_temp_(nullptr),
0 commit comments