mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Had to add definition of PI is used with ROS because cannot share math library yet-needs to be solved
This commit is contained in:
parent
9f9fab400e
commit
5aefe11975
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user