diff options
author | Roman Bapst <romanbapst@yahoo.de> | 2014-09-24 09:01:30 +0200 |
---|---|---|
committer | Roman Bapst <romanbapst@yahoo.de> | 2014-09-24 09:01:30 +0200 |
commit | 5aefe11975c0fa04ec0a921ffb54d7cf8da5c39a (patch) | |
tree | 938430f582d05da4e38b9e632ee3f6361236d2c8 /src/lib/mathlib | |
parent | 9f9fab400efbf8ad9cd44a0ff82cb9a97706134b (diff) | |
download | px4-firmware-5aefe11975c0fa04ec0a921ffb54d7cf8da5c39a.tar.gz px4-firmware-5aefe11975c0fa04ec0a921ffb54d7cf8da5c39a.tar.bz2 px4-firmware-5aefe11975c0fa04ec0a921ffb54d7cf8da5c39a.zip |
Had to add definition of PI is used with ROS because cannot share math library yet-needs to be solved
Diffstat (limited to 'src/lib/mathlib')
-rw-r--r-- | src/lib/mathlib/math/Limits.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/mathlib/math/Limits.cpp b/src/lib/mathlib/math/Limits.cpp index d4c892d8a..c593936ce 100644 --- a/src/lib/mathlib/math/Limits.cpp +++ b/src/lib/mathlib/math/Limits.cpp @@ -45,7 +45,7 @@ namespace math { - +#define M_PI_F 3.14159265358979323846 float __EXPORT min(float val1, float val2) { @@ -143,4 +143,4 @@ double __EXPORT degrees(double radians) return (radians / M_PI) * 180.0; } -}
\ No newline at end of file +} |