mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
AP_Math: add M_PI_2 definition
Required when building under arduino
This commit is contained in:
parent
8545071a21
commit
bd6a60f28b
@ -20,7 +20,10 @@
|
||||
#include "polygon.h"
|
||||
|
||||
#ifndef PI
|
||||
#define PI 3.141592653589793f
|
||||
# define PI 3.141592653589793f
|
||||
#endif
|
||||
#ifndef M_PI_2
|
||||
# define M_PI_2 1.570796326794897f
|
||||
#endif
|
||||
#define DEG_TO_RAD 0.017453292519943295769236907684886f
|
||||
#define RAD_TO_DEG 57.295779513082320876798154814105f
|
||||
|
Loading…
Reference in New Issue
Block a user