mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-24 11:33:33 +08:00
Correct deg to rad conversion inversion. Add additional functionality to mathlib to allow standalone compile without Limits.cpp and Limits.hpp files from PX4.
This commit is contained in:
@@ -55,8 +55,8 @@
|
||||
#define CONSTANTS_RADIUS_OF_EARTH 6371000 /* meters (m) */
|
||||
#define M_TWOPI_F 6.28318530717958647692f
|
||||
#define M_PI_2_F 1.57079632679489661923f
|
||||
#define M_RAD_TO_DEG 0.01745329251994329576f
|
||||
#define M_DEG_TO_RAD 57.29577951308232087679f
|
||||
#define M_RAD_TO_DEG 57.29577951308232087679f
|
||||
#define M_DEG_TO_RAD 0.01745329251994329576f
|
||||
#define OK 0
|
||||
#define ERROR -1
|
||||
// XXX remove
|
||||
|
||||
Reference in New Issue
Block a user